"suspend" keyboard shortcut does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Settings Daemon |
Fix Released
|
Medium
|
|||
gnome-settings-daemon (Ubuntu) |
Fix Released
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: compiz
To reproduce:
1) Go to System -> Preferences -> Keyboard Shortcuts
2) Find the entry for suspend, and choose some shortcut.
3) Press the shortcut.
What I see: The screen briefly goes blank, and then returns within a second. There is no report of any attempt to suspend in .xsession-errors or in dmesg, or dbus-monitor. I don't think the suspend command is being run correctly by the shortcut, because when I choose Suspend from the panel menu (fast user switching applet, aka indicator-
A workaround:
1) Install compizconfig-
2) Open the "Commands" preference panel.
3) Enter, e.g., for command line 0:
dbus-send --session --dest=
(you may omit the first command if you don't want the screen to lock)
4) Switch to the Key Bindings tab, and define a key binding for the corresponding command.
ProblemType: Bug
Architecture: amd64
CompizPlugins: [core,move,
Date: Mon Nov 30 23:00:28 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: Apple Inc. MacBookPro5,1
NonfreeKernelMo
Package: compiz 1:0.8.4-0ubuntu2
PackageArchitec
PciDisplay: 02:00.0 VGA compatible controller [0300]: nVidia Corporation G96 [GeForce 9600M GT] [10de:0647] (rev a1)
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
RelatedPackageV
xserver-xorg 1:7.4+3ubuntu7
libgl1-mesa-glx 7.6.0-1ubuntu4
libdrm2 2.4.14-1ubuntu1
xserver-
xserver-
SourcePackage: compiz
Uname: Linux 2.6.31-15-generic x86_64
dmi.bios.date: 02/03/09
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP51.88Z.
dmi.board.
dmi.board.name: Mac-F42D86A9
dmi.board.vendor: Apple Inc.
dmi.board.version: Proto
dmi.chassis.
dmi.chassis.type: 8
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacBookPro5,1
dmi.product.
dmi.sys.vendor: Apple Inc.
system: distro = Ubuntu, architecture = x86_64, kernel = 2.6.31-15-generic
Changed in gnome-settings-daemon: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Does running this command from a terminal successfully suspend your computer? Does putting `sh -c "dbus-send --print-reply --system --dest= org.freedesktop .DeviceKit. Power /org/freedeskto p/DeviceKit/ Power org.freedesktop .DeviceKit. Power.Suspend" ` in compiz (strip the backticks) work?