How do I run gshutdown as root. In 11.04 , I modified the comand line via the main menu, by adding, su-to-root -X -c /usr/bin before the command line. I can't find an equivalent to 'main menu' in Oneric.
su-to-root -X -c /usr/bin
Open the Dash and find GShutdown. Drag and Drop it from the Dash to your Home folder.
Now open a terminal and run the following command to edit the launcher:
Change the text after Exec= to your new command:
Save the file and close it. Now copy the launcher to your local application folder:
cp gshutdown.desktop ~/.local/share/applications/
If you have GShutdown on your Launcher, remove it and then launch GShutdown from the Dash. You should be prompted for your password as you would expect.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3 years ago