Do Menu Editor and Shell need different commands?
Nils Kassube
kassube at gmx.net
Wed Mar 11 20:40:02 UTC 2009
Stephen Constantinou wrote:
> As part of wanting to mount the ntfs partition of my dual boot pc I
> looked at doing this manually in a shell:
> "sudo mount /dev/sda2 /mnt/xp -t ntfs -o umask=0002,nls=utf8"
> and unmounting as well
> "sudo umount /mnt/xp"
> Both work.
>
> Then I tried to include them in the Menu options. I put the same two
> commands into two new items in the menu editor, but they do not work.
Use "gksu" instead of "sudo". Or if you don't use GNOME but KDE,
use "kdesudo" instead.
Nils
More information about the ubuntu-users
mailing list