quit applet: logout does not work on Hardy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Awn Extras |
Won't Fix
|
Low
|
onox |
Bug Description
Computer Info:
Ubuntu Hardy 8.04.4 (GNOME 2.22)
Awn 0.4.1 bzr revision 690 + fix in Bug #565174
Awn Extras 0.4.1 bzr revision 1289 + fix in Bug #565792
Both installed from ppa:malept/
Bug Info:
When I click on the "logout" icon, nothing happens. I expect that the session logout dialog is shown. I think that this bug is similar to bug #565792, in that the gnome-session in GNOME 2.22 does not provide a DBus interface as it does in later versions, so either detection or execution is failing.
The solution should probably be when the quit applet can't find a DBus interface, it should check for the existence of gnome-session-save (and possibly a GNOME environment variable, much like xdg-open), and if found, it should fall back to executing `gnome-session-save --kill --gui`.
The applet already checks whether it can find the DBus interfaces. Go to /apps/instances /awn-applet- quit/awn- applet- quit-UID/ where UID is a number (use use ps auxf or htop or whatever to find this) and then modify the value of log-out-command and lock-screen- command.