PDA

View Full Version : Hotkey to unlock locked session



kubco2
May 13th, 2013, 02:23 PM
Hello,

I want use some long shortcut to unlock session, it is because I have very strong and long password, and set "lock session" after short period of inactivity, because of security...... It can be nice if I can unlock with hotkey at HOME ...

It must be possible to implement such thing, just need some hints ...

I have ubuntu 12.10 gnome remix, and use Gnome, xscreensaver.

Thanks for help.

kubco2
May 14th, 2013, 09:21 AM
bump

Frogs Hair
May 14th, 2013, 05:45 PM
Unlocking the screen will require a password for the security reasons you cited. Editing the sudoers configuration is possible, but not recommended unless you know exactly what you are doing. You may end up locked out of the operating system or eliminating password security all together . I don't know if it is possible limit changes to the sudoers configuration to one action such as screen lock and tie a key binding to the change.

stinkeye
May 14th, 2013, 06:15 PM
I don't think keyboard shortcuts work from the lockscreen.

I save my password in GNOME keyring and use easystroke (http://sourceforge.net/apps/trac/easystroke/wiki/Documentation) to type my password
with a spare mouse button.
Works when authenticating for sudo and at the lockscreen.
Only need to manually type my password at the initial login screen.
See HERE (http://ubuntuforums.org/showthread.php?t=2125918).

kubco2
May 15th, 2013, 11:44 PM
stinkeye:
thank you for this equivalent....
I had to replace sensitive characters to xdotool keyname with sed, and now it works fine ...