How do I add a shell script to be run as root to MATE menu?

Archived topics about LMDE 1
Forum rules
Algeorge
Level 3
Level 3
Posts: 130
Joined: Wed Jan 26, 2011 7:57 pm

How do I add a shell script to be run as root to MATE menu?

Postby Algeorge » Tue Jul 16, 2013 1:04 am

Could anyone tell me why this is OK in terminal:
gksu /home/alistair/Programs/areca/areca.sh //as superuser
but as menu item same command comes up without su rights?

Any suggestions how to fix LMDE/Mate
Last edited by xenopeek on Tue Jul 16, 2013 2:25 am, edited 1 time in total.
Reason: Made you your own topic and moved it to the LMDE forum.

elbendecido
Level 4
Level 4
Posts: 302
Joined: Wed Jul 10, 2013 11:38 pm

Re: How do I add a shell script to be run as root to MATE me

Postby elbendecido » Tue Jul 23, 2013 1:02 am

gksu is for graphical apps, and you try execute a shell app (.sh), change the gksu for su or su -c.
Remember to mark the thread as solved. Click to edit the first post. At the top, add the word (solved) to the subject line.
Recuerda marcar el hilo como solucionado. Edita el primer post y agrega la palabra (Solucionado) en la línea del titulo (Subject)


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 2 guests