Hello. I got this idea after using menumaker to generate some menus. When I launched synaptic, I had a nice gtk-style box. So I went back to the antix menu and added the code from menumaker's menu. It worked! So I tried their code on gparted and it worked. So if you want a pretty way to launch apps that require root privileges, then use this code:
su-to-root -X -c /usr/sbin/synaptic
for other apps just change the path to the app you want. Very nice.
john
topic title: Pretty way to launch root apps
5 posts
• Page 1 of 1
-
Posts: 1,081
- Joined: 29 Sep 2007
-
Posts: 58
- Joined: 26 Feb 2008
#2
If you set up sudo then you can use gksudo to make typing in your password"pretty." However, su-to-root works right of the box and apparently can work with the gnome keyring manager, which could be a good thing if you are lazy.
For some reason the antix directions to setup sudo are in this link and not very detailed:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.mepis.com/index.php/Further_Lighten_antiX_Ratpoison%21"
linktext was:"http://antix.mepis.com/index.php/Furthe ... tpoison%21"
====================================
For some reason the antix directions to setup sudo are in this link and not very detailed:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.mepis.com/index.php/Further_Lighten_antiX_Ratpoison%21"
linktext was:"http://antix.mepis.com/index.php/Furthe ... tpoison%21"
====================================
-
Posts: 1,520
- Joined: 07 Oct 2007
#3
I have changed all the lines for root passwords to use gksu. If you call an app that requires root re:synaptic a small window opens and asks for your password.
eriefisher
eriefisher
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#4
gksu is nicer, but again with the live cd on 128 RAM it is slow to open apps like minstall for installation.
What I'd like to have is a feature that opens a terminal for ppassword and then closes straight away like you get with gksu.
Anyone know a way?
What I'd like to have is a feature that opens a terminal for ppassword and then closes straight away like you get with gksu.
Anyone know a way?
-
Posts: 58
- Joined: 26 Feb 2008
#5
anticapitalista try this:
or
command being whatever you want to do. For example...
exit should close out the terminal after the command has finished.
Code: Select all
command && exit
Code: Select all
command; exit
Code: Select all
xterm -e"ls -l; exit"