[Bug 69759] Patch for compositing disable hibernate and suspend from logout dialog

Kim Nguyen cho.won.tchou at gmail.com
Wed Nov 1 20:39:06 UTC 2006


Public bug reported:

Binary package hint: gnome-session

The following patch : 
21_dont_grab_when_composited.patch
uses the LTSP_CLIENT environment variable to prevent gnome-session from grabbing the XServer at logout.
It seems to be a commodity to reuse the same variable as in 20_dont_fade_on_ltsp_client.patch.
However, when this variable is defined, the suspend and hibernate button disapear from the ubuntu logout dialog (not from the upstream one) and also disapear from the right-click menu of gnome-power-manager notification icon.
Using a different variable in 21_dont_grab_when_composited.patch solves the problem.

Step to reproduce :
add 
export LTSP_CLIENT=1 
in ~/.gnomerc
log out and log back in.
log out : the power related buttons are not here anymore.

remove this line, log out and log back in, switch to metacity (in order to see the logout dialog) and logout :
the buttons are back.

** Affects: gnome-session (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Patch for compositing disable hibernate and suspend from logout dialog
https://launchpad.net/bugs/69759




More information about the desktop-bugs mailing list