Are there any Keyboard Shortcuts to Shutdown?

81,465

Solution 1

No, but assuming you're using 11.10, one can easily be added by going to:

  1. System Settings
  2. Keyboard
  3. Shortcuts tab
  4. Custom Shortcuts
  5. Then the little + icon.

You can give it the name "Shutdown", and the command. Try the command below:

gnome-session-quit --power-off --force

, then apply whatever keyboard shortcut you want to it.

Solution 2

Yes there is shortcut to shutdown (not a keyboard one).

Shortly pressing and releasing the power button will call the shutdown dialogue box.

Solution 3

You can try this steps as well:

  1. Press Alt+F10.

  2. The file menu will get displayed in the top.

  3. Use the Right Arrow key in your keyboad and go to extreme right (Pressing Left Arrow might also work and be much faster).

  4. Select the shutdown in from the menu and hit enter.

Solution 4

The command in Thomas Boxley's answer works pretty well, but you may want to instead use a command that shuts down and powers off the machine, without any warning dialog.

If you want that, you can use this command:

dbus-send --system --print-reply --system --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop

Making a shortcut for the above command instead provides an instant "quick power off."

Solution 5

This probably not a shortcut, but you dont need a mouse to perform it: Press alt.

In the hud that appears, start typing shut down "Device>Shut Down" should most likely be the first option, press enter.

This opens the shut down dialog box. You can now choose to shut down or restart using arrow keys and then press enter.

It seems a lot, but its really just around 10 key strokes.

Share:
81,465

Related videos on Youtube

kernel_panic
Author by

kernel_panic

Updated on September 18, 2022

Comments

  • kernel_panic
    kernel_panic almost 2 years

    Are there any Keyboard Shortcuts to Shutdown? (e.g. in Windows Alt+F4+Alt+F4 Right Arrow Enter)

  • nutty about natty
    nutty about natty about 12 years
    not on my thinkpad... whad does it depend on?
  • J R
    J R over 11 years
    haha. Good point there.
  • somethis
    somethis about 11 years
    Interesting, this approach works. But it's bugged. The dialog "Shut system down?" appears ... but you can't navigate or confirm with the keyboard. One has to set focus and confirm by mouse clicks.
  • Peter Perháč
    Peter Perháč almost 8 years
    GOLD! the simplest and most obvious of all... and i never even thought about trying that
  • Łukasz Jakubek
    Łukasz Jakubek almost 6 years
    This is not a shortcut, just keyboard navigation through menu.
  • Thomas Boxley
    Thomas Boxley over 4 years
    It's worth noting that in GNOME 3.34, you need to go to Devices in the GNOME Settings application, then Keyboard Shortcuts from there. I'm no longer on Ubuntu but those are the steps for the generic GNOME Settings app.
  • Yassine Sedrani
    Yassine Sedrani about 3 years
    If you don't want to skip shutdown dialog box, remove --force option: gnome-session-quit --power-off