Quickly fails if gedit is not installed
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=
works fine if a editor providing /etc/alternativ
(i.e. leafpad)
quickly edit should chose a alternate editor if gedit is not present.
I.e. by using /etc/alternativ
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/alternativ
This should be changed!
It might also be a good idea to introduce /etc/alternativ
Related branches
- Didier Roche-Tolomelli: Needs Information
-
Diff: 192 lines (+64/-54)5 files modifieddata/templates/ubuntu-application/configure.py (+2/-2)
data/templates/ubuntu-application/edit.py (+1/-1)
data/templates/ubuntu-application/internal/quicklyutils.py (+0/-39)
data/templates/ubuntu-flash-game/internal/quicklyutils.py (+0/-12)
quickly/templatetools.py (+61/-0)
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Reading the source code shows that, on a box without X-windows, quickly has a similar hidden dependency on nano.