FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

 
 
LinkBack Thread Tools
 
Old 10-05-2012, 03:40 AM
Damjan
 
Default a systemd-sleep hook for tuxonice-userui

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

--
дамјан
 

Thread Tools




All times are GMT. The time now is 12:20 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org