Re: Desktop launcher as root
- From: Frank McCormick <fmccormick@xxxxxxxxxxxx>
- Date: Sun, 30 Apr 2006 13:29:33 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, 29 Apr 2006 17:42:05 -0500
"Michael V. De Palatis" <mdepalatis@xxxxxxxxxxxxxxx> wrote:
On Sat, Apr 29, 2006 at 06:33:40PM -0400, Frank McCormick wrote:
Hello all
I've been trying unsucessfully to create a desktop launcher for
midnight commander but as root. I've tried gksu, gksudo, sudo,
su, and gksuexec. I guess the catch is mc has to be run in a
terminal as root. Nothing I have tried works. Got any
suggestions, I must be missing something obvious!
I'm not sure what terminal you use, but say you use xterm, for sake of
argument. The appropriate command could then be
gksudo 'xterm -e mc'
The -e switch tells xterm "execute the next command." Every terminal
has some similar command, and I think it's -x in gnome-terminal.
Mike
After trying this one and various otherf combinations Peter Garrets suggestion of
a simple " sudo mc " with the default terminal changed from gnome-terminal,
which doesn't handle mc properly on my machine, to rxvt-unicode which does,
it works. The root mc comes up in a small terminal window but I can handle that.
Thanks
- --
Cheers
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFEVPP98Rvr3Tn207ARAuEsAJ9oXFv6mgnyfigNK2c21JBYquTVGACeJy6D
8jD7mXd5/YXY6whd57CU9u4=
=ZT8b
-----END PGP SIGNATURE-----
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- References:
- Desktop launcher as root
- From: Frank McCormick
- Re: Desktop launcher as root
- From: Michael V. De Palatis
- Desktop launcher as root
- Prev by Date: (SOLVED..sort of) : Desktop launcher as root
- Next by Date: Change Gnome Splash Screen
- Previous by thread: Re: Desktop launcher as root
- Next by thread: Re: Desktop launcher as root
- Index(es):
Relevant Pages
|