-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/01/13 15:43, Marco wrote:
> 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.

Yes - I read this when googling, but I prefer as little as possible changes - 
and if other
programs use the policykit as well, I have to change them as well. I rather 
prefer to start the
polkit-gnome-authentication-agent-1 as suggested by Christoph.

Thanks a lot,

Rainer

> 
> Marco
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlDthMYACgkQoYgNqgF2egpAOwCfREheGJHFOxsmKI+G/N8pGpbk
KV0An1NQFEQ2nPRP4x6IrHvyvZwsgcOO
=okNS
-----END PGP SIGNATURE-----


-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Reply via email to