1

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.

1 Answer 1

2
  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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .