Quickly fails if gedit is not installed

Bug #862302 reported by phobie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
quickly (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ quickly edit
crashes if gedit is not installed.

This problem can be replicated with 11.04-0ubuntu1.1 on natty and 11.10-0ubuntu1 on oneiric.
It is related to but not a direct duplicate of #483917 .

$ EDITOR=gnome-text-editor quickly edit
works fine if a editor providing /etc/alternatives/gnome-text-editor is installed.
(i.e. leafpad)

quickly edit should chose a alternate editor if gedit is not present.
I.e. by using /etc/alternatives/gnome-text-editor instead of gedit.
A simple but bad workaround would be to let the package depend on gedit directly instead of "gedit | editor".

Since none of the editors providing /etc/alternatives/gnome-text-editor lists a virtual package named "gnome-text-editor" under "Provides:" we can not depend on that.
This should be changed!

It might also be a good idea to introduce /etc/alternatives/x-text-editor with the virtual package named "x-text-editor".

Related branches

Revision history for this message
phobie (phobie) wrote :
Revision history for this message
phobie (phobie) wrote :
phobie (phobie)
description: updated
description: updated
phobie (phobie)
description: updated
phobie (phobie)
description: updated
description: updated
Revision history for this message
Tony Byrne (tony-badwolf) wrote :

Reading the source code shows that, on a box without X-windows, quickly has a similar hidden dependency on nano.

Revision history for this message
Peter Liedler (peter-liedler) wrote :

gedit is not installed by default on kubuntu so there the problem exists too. quickly edit works fine after installing gedit.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.