Changing Default Programs

David Curtis dcurtis at uniserve.com
Fri Jun 20 22:44:03 UTC 2008


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

Alan Milnes wrote:
> David Curtis wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Alan Milnes wrote:
>>   
>>> Phil Sexton wrote:
>>>     
>>>> gksudo gedit /etc/gnome/defaults.list
>>>>   
>>>>       
>>> Does anybody still use the gksudo command?  If so why?  Doesn't sudo 
>>> work fine with graphical programs now?
>>>
>>> Alan
>>>
>>>     
>> Sudo has always worked fine with graphical progams. 
> Not in my experience .... previously I found until you logged in for the 
> first time as root sudo would not launch any graphical programs. This is 
> now not the case hence my query.
> 
> 
>> gksu and gksudo are used for invoking a graphical mode of inputing an
>> admin password. Both are used specifically for menu items or toolbar
>> items (or perhaps in script where a terminal is not in use?).
>>   
> Just tested and indeed they both pop up an interactive password prompt - 
> thanks for teaching me that. However if you are already in a terminal, 
> as per the suggestion that kicked this off, there is no great benefit to it.
> 


That's exactly what I'm saying. Say, for instance, you wished to make a
shortcut to synaptic in your toolbar, or wished to invoke nautilus as
root. You would put 'gksudo synaptic' or 'gksudo nautilus' in the
command input box.

Dave


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIXDKyBMFjBZwqDoARAum2AJ4s+4h9HQFSP/v0lX7lOnfTLcL7JwCfUxbi
L/6Ct8kO6Pfma5Cxy0r4jYw=
=2XsT
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list