Re: immediate sleep after resume

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



On Thu, Nov 15, 2012 at 2:52 PM, Genes MailLists <lists@xxxxxxxxxxxx> wrote:

> This started happening sometime after I switched to systemd (tho I am not
> finger pointing).
>
> Upon resume - the laptop immediately sleeps - the second resume is fine.
> Not every time either. Fresh boot - sleep - resume cycle seems to work
> fine.
>
>  Googling suggested putting this in /etc/systemd/login.conf
>
> LidSwitchIgnoreInhibited=no
>
> However this makes no sense to me - as surely systemd knows the difference
> between the open and close lid events. The argument made was that there was
> competition between kde and systemd to sleep/resume and this would keep
> systemd from doing anything.
>
> Anyway - above makes no difference :-)
>
> Anyone have any ideas?
>
>   testing repo fully updated - using kde and systemd.
>
> gene/
>

I used to have that problem as well. I fixed it by setting
  HandleLidSwitch=ignore
in /etc/systemd/login.conf.

-- 
Daniel Egeberg


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux