Patch for compositing disable hibernate and suspend from logout dialog

Bug #69759 reported by Kim Nguyễn
4
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_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.

Revision history for this message
Sebastien Bacher (seb128) wrote :

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

Changed in gnome-session:
assignee: nobody → desktop-bugs
status: Unconfirmed → Rejected
Revision history for this message
NoWhereMan (e.vacchi) (uncommonnonsense) wrote :

> that's not a bug, you just use a variable made for something else

then the conclusions someone drew here https://launchpad.net/ubuntu/+source/gnome-session/+bug/59244 are plain wrong :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.