View previous topic :: View next topic |
Author |
Message |
solamour l33t
Joined: 21 Dec 2004 Posts: 698 Location: San Diego, CA
|
Posted: Thu Jan 17, 2013 4:25 pm Post subject: [Solved] How to ask password upon resume in Fluxbox + xlock |
|
|
When using Fluxbox and xlock, how do I ask for the password when the computer wakes up from either hibernation or suspend? It looks like when xlock is locking the screen, I have no way to initiate hibernation/suspend. And when I suspend without locking, the computer never asks for the password upon resuming.
__
sol
Last edited by solamour on Sun Jan 20, 2013 3:06 am; edited 1 time in total |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 698 Location: San Diego, CA
|
Posted: Sun Jan 20, 2013 3:06 am Post subject: |
|
|
I'm sure there must be a more tasteful way of doing it, but I'm going to settle with something simple; just map a hotkey (for my case, it's Mod4 + h) to xlock and hibernate commands. Basically I'm running xlock in the background before hibernating. When the computer wakes up, it's already locked.
Code: | ~/.fluxbox/keys
Mod4 h :Exec xlock & /usr/sbin/hibernate |
__
sol |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|