Keyboard shortcut to shutdown?

Solution 1:

Yes, you can assign a specific, non-used key-combination as a shortcut to shut-down. To assign Ctrl+Alt+Esc (or any other key combination) as the shortcut, go to System settings > Keyboard > Shortcuts > Custom shortcut and then add a new shortcut.

The command should be

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

I am not pretty sure why you have --system twice in the command, but a single one works on Ubuntu 13.10(have tested, confirmed to work).