unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* fixed the gnome forever-suspend problem
@ 2016-03-17  9:08 Andy Wingo
  2016-03-17 15:37 ` Alex Sassmannshausen
  2016-03-17 21:31 ` fixed the gnome forever-suspend problem Ludovic Courtès
  0 siblings, 2 replies; 10+ messages in thread
From: Andy Wingo @ 2016-03-17  9:08 UTC (permalink / raw)
  To: guix-devel

Hi!

Just a quick note that the elogind update I just pushed fixes the GNOME
suspend problem.  (Used to be, from GNOME if you close your laptop lid
it suspends fine, resumes fine, but then immediately suspends again --
forever.)  It was an elogind bug.  GNOME by default inhibits logind from
suspending using the "delay" inhibit mode, meaning that the suspend is
delayed until GNOME comes back to it.  If GNOME never comes back to
elogind, the suspend will happen after 5 seconds anyway.  Elogind emits
a signal indicating that it wants to suspend, causing GNOME to do
whatever it needs to do (maybe logging you off your IRC or so, dunno)
and then removes its suspend inhibitor, allowing elogind to suspend.
This code path is a little more complicated than the way an XFCE session
was suspending, which had no inhibitor / etc and logind handled it
itself.

Anyway!  Give a try to GNOME, it seems to be an OK environment.
NetworkManager doesn't work by default yet -- I think we're missing the
service -- so you have to still use the wicd control panel.  I think
something's not working with media keys either; some daemon not running
yet.  Otherwise though GNOME seems to work OK, just as fine as XFCE
anyway.

Andy

ps. Although because the media keys aren't working right now, the
brightness keys don't work, you can change the brightness via the GNOME
control panel, which means that the pkexec + polkit + logind + pam +
sudo waltz seems to be working fine :)

pps.  To try GNOME, add (gnome-desktop-service) on to your services:

(operating-system
 ...
 (services (cons* (gnome-desktop-service)
                  (xfce-desktop-service)
                  %desktop-services))
 ...)

Then choose it using "F1" from the SLIM login window.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-03-20 20:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-17  9:08 fixed the gnome forever-suspend problem Andy Wingo
2016-03-17 15:37 ` Alex Sassmannshausen
2016-03-17 21:44   ` Albin
2016-03-18 13:42     ` Andy Wingo
2016-03-18 18:51       ` GNOME! Ludovic Courtès
2016-03-18 19:13         ` GNOME! Leo Famulari
2016-03-18 20:41           ` GNOME! Nils Gillmann
2016-03-20 20:31           ` GNOME! Ludovic Courtès
2016-03-18 20:38         ` GNOME! Nils Gillmann
2016-03-17 21:31 ` fixed the gnome forever-suspend problem Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).