a systemd-sleep hook for tuxonice-userui

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



I'm maintaing the tuxonice-userui package [1] in AUR that displays a really nice splash when hibernating with TuxonIce.

Since I've moved to systemd even for hibernating when the powerbutton is pressed, by setting HandlePowerKey=hibernate in /etc/systemd/logind.conf now the hibernate-script is no longer called (previously it was called from apcid).

Turns out it works quite well except for the splash, so I've created this systemd-sleep hook [2] that I intend to add to the tuxonice-userui package.

The hook should just switch to VT 63 on hibernate and switch back on resume.

I need to do this because otherwise the X server could start showing visual glitches, and also alt-left/right arrows started switching the VTs.

So if anyone can check it out for obvious mistakes before I add it to the package, I'd be glad.


Thanks


[1] https://aur.archlinux.org/packages.php?ID=24613
[2] http://vpaste.net/DQMKu

--
дамјан


[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