Editor can't edit

Dennis Kaarsemaker dennis at kaarsemaker.net
Wed Dec 8 09:18:02 UTC 2004


On Wed, 2004-12-08 at 09:36 +0100, Eric Feliksik wrote:
> When I did that (gksudo gedit /boot/grub/menu.lst), gedit opened 
> ~eric/'/boot/grub/menu.lst. Note the <'> symbol after my homedir. Of 
> course, the file didn't exist and gedit showed an empty file.

You MUST specify the program + all arguments to that program as one
single argument to gksu/gksudo. So the comman will be:
gksudo 'gedit /boot/grub/menu.lst'
(Notice the ' characters)

See also man gksu.
-- 
Dennis K.
  And that's the way the cookie crumbles!





More information about the ubuntu-users mailing list