← Back to team overview

compiz team mailing list archive

[Bug 490704] [NEW] "suspend" keyboard shortcut does not work

 

Public bug reported:

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-applet-session),
it works.

A workaround: 
1) Install compizconfig-settings-manager
2) Open the "Commands" preference panel.
3) Enter, e.g., for command line 0:
dbus-send --session --dest=org.gnome.ScreenSaver --type=method_call /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock ; dbus-send --print-reply --system --dest=org.freedesktop.DeviceKit.Power /org/freedesktop/DeviceKit/Power org.freedesktop.DeviceKit.Power.Suspend
(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,resize,place,decoration,animation,ccp,dbus,mousepoll,gnomecompat,png,svg,imgjpeg,text,commands,neg,video,wall,snap,scale,scaleaddon,expo,staticswitcher,regex,resizeinfo,workarounds,ezoom,vpswitch,extrawm,fade,session]
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
NonfreeKernelModules: wl nvidia
Package: compiz 1:0.8.4-0ubuntu2
PackageArchitecture: all
PciDisplay: 02:00.0 VGA compatible controller [0300]: nVidia Corporation G96 [GeForce 9600M GT] [10de:0647] (rev a1)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-15-generic root=UUID=cbb3b5a0-7470-40a4-977b-fc110c9d4919 ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu7
 libgl1-mesa-glx 7.6.0-1ubuntu4
 libdrm2 2.4.14-1ubuntu1
 xserver-xorg-video-intel 2:2.9.0-1ubuntu2
 xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
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.007E.B00.0902031928
dmi.board.asset.tag: Base Board Asset Tag#
dmi.board.name: Mac-F42D86A9
dmi.board.vendor: Apple Inc.
dmi.board.version: Proto
dmi.chassis.asset.tag: Asset Tag#
dmi.chassis.type: 8
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F42D86A9
dmi.modalias: dmi:bvnAppleInc.:bvrMBP51.88Z.007E.B00.0902031928:bd02/03/09:svnAppleInc.:pnMacBookPro5,1:pvr1.0:rvnAppleInc.:rnMac-F42D86A9:rvrProto:cvnAppleInc.:ct8:cvrMac-F42D86A9:
dmi.product.name: MacBookPro5,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
system: distro = Ubuntu, architecture = x86_64, kernel = 2.6.31-15-generic

** Affects: compiz (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
"suspend" keyboard shortcut does not work
https://bugs.launchpad.net/bugs/490704
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in ubuntu.



Follow ups

References