Re: F18 - laptop suspends twice under Xfce

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2012-12-13 at 09:47 +0100, Maciek Borzęcki wrote:
> On Thu, 2012-12-13 at 08:44 +0100, fedora wrote:
> > Is there something crazy in the suspend/resume scripts in 
> > /usr/lib(64)/pm-utils/sleep.d/ scripts?
> 
> There doesn't seem to be anything out of the ordinary.
> 
> Any ideas on how the suspend is done these days? Is it still upowerd who
> writes mem to /sys/power/state or something else?

It turns out that systemd is the culprit (if not in full then at least
it takes a part of the blame).
In recent versions of systemd, logind seems to be able to handle ACPI
events. By default this functionality is enabled, so lid close or
suspend key will trigger instant suspend via systemd-logind. My guess is
that xfce power manager is not aware of that (gnome's pm is), hence it
does not ignore the suspend event.

As a solution, in /etc/systemd/logind.conf put the following lines:
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore

Related bugs reported to Xfce issue tracker:
https://bugzilla.xfce.org/show_bug.cgi?id=9326
https://bugzilla.xfce.org/show_bug.cgi?id=9335


-- 
Maciek Borzecki


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux