On 2013–01–09 Rainer M Krug wrote: > Everything is still fine, but I have one problem: I use gnome-do, and when > starting synaptic via > gnome-do, "synaptic-pkexec" is executed. Under gnome-session, this launches a > graphical dialog > asking for the password to run synaptic with root privileges, but not when > gnome-session is not > launched, then nothing happens (same by the way when executing > "synaptic-pkexec" in the awesome > run box).
I cannot directly provide a solution, but I will tell you how I solved this (not using gnome-do, but the awesome menubar but that should not matter, I guess). I copied the synaptic.desktop file to $HOME/.local/share/applications and modified the name and the command line from Name=Synaptic Package Manager Exec=synaptic-pkexec to Name=Synaptic Exec=su-to-root -X -c synaptic Shortening the name sorts it before the default one. So when I type “syn” the customised version is selected. And `su-to-root` uses `gksu` by default, which should then ask for your password. Marco
signature.asc
Description: Digital signature
