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

This question already has an answer here:

I have upgraded to 13.04 and now when I click on to the setting -. shut-down the is this stupid bar across asking if i want to shut-down, restart etc.
This was disables in all my previous versions, via gconf-editor and Tweak.

I have tried the terminal commands that are posted on the web and all the other information posted.

Can someone tell me how to remove this stupid Microsoft feature, when i cl lick ok to the shut-down button, I want to shut-down otherwise I would have pressed the restart or suspend button.



share|improve this question

marked as duplicate by Mitch, Eric Carvalho, Raja, user68186, Jorge Castro May 13 '13 at 15:09

This question was marked as an exact duplicate of an existing question.

Make an executable bash script on your desktop:

touch ~/Desktop/; chmod +x

Then, open the file, and paste the following inside:


gksu shutdown now

And, then, whenever you want to shutdown, just execute the file. :)

UPDATE: Try this instead:

Change [password] to your password, and then save this into a file shutdown.desktop

[Desktop Entry]
Exec=echo [password] | sudo -S shutdown now

Now, double-click to shutdown. You can also make one reboot.desktop, just change the part where it says shutdown to reboot. Hope this helps!

share|improve this answer
Problem x 2. Two pop-up screens. First one to ask what to do with the file. If your answer is 'Run' or 'Run in terminal' then you will be asked for your administrator password. – user85164 May 13 '13 at 0:00
True... I'll get back to you in a few hours, I'm reading the .desktop spec. – haneefmubarak May 13 '13 at 1:15
Try this instead! – haneefmubarak May 14 '13 at 1:43

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