Patch for compositing disable hibernate and suspend from logout dialog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-session (Ubuntu) |
Invalid
|
Undecided
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gnome-session
The following patch :
21_dont_
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_
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_
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.
Thank you for your bug. The patch you mention has nothing to do with LTSP_CLIENT, if you set LTSP_CLIENT that's because you use ltsp and that's why action like hibernate are not available (you don't want clients make hibernate the ltsp server). The patch doesn't do the xserver grabbing when a composite manager is being used. Marking the bug as rejected, that's not a bug, you just use a variable made for something else