Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I know that there were some issues with keyboard shortcuts and with suspending (without password) in 12.04. The shortcut problem is fixed in 12.10. I defined a custom shortcut Suspend (Super+S) via (dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend). This command I used for suspending under 12.04. It also works from the terminal under 12.10, however, it doesn't suspend (why?) when defined as a custom keyboard shortcut.

What's the best (under 12.10) way to define a keyboard shortcut which allows for suspending?

share|improve this question
can this help? –  duxk.gh Oct 22 '12 at 12:19
no. If you read the suggested answer, I do exactly this (apart from using dbus-send... directly instead of pmi action suspend) –  Marius Hofert Oct 22 '12 at 12:49
There is an open bug for the custom shortcuts in 12.10 : bug 1041169. –  NikTh Oct 22 '12 at 12:56
Thanks, NikTh. I have several shortcuts defined, all work well except the one to suspend. So I would guess it has to do with the command. But then: Using the same command in the terminal works well (just not as a shortcut)... –  Marius Hofert Oct 22 '12 at 13:29
add comment

Your Answer


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

Browse other questions tagged or ask your own question.