Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
  1. Open the Dash and find GShutdown. Drag and Drop it from the Dash to your Home folder.

  2. Now open a terminal and run the following command to edit the launcher:

    gedit gshutdown.desktop
  3. Change the text after Exec= to your new command:

    enter image description here

  4. Save the file and close it. Now copy the launcher to your local application folder:

    cp gshutdown.desktop ~/.local/share/applications/
  5. 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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.