Re: Xscreensaver is Active on Resume from Manual Suspend

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



Bastien Dejean:

> I've created /etc/pm/sleep.d/49xscreensaver:
> 
>     #! /bin/dash
> 
>     case $1 in
>         resume | thaw)
>             xscreensaver-command -deactivate >&- 2>&- &
>             ;;
>     esac
> 
> We'll see how it behaves...

My script is called a little late in the waking process, so I still
briefly see xscreensaver before it deactivates, but I think I can live
with that.

Of course, I know I could kill xscreensaver on sleep and re-spawn it on
resume, but I was hoping for a more elegant solution.


[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