Skip to content

USB-Key based screen locking for linux. (Inspired by rohos for windows)

License

Notifications You must be signed in to change notification settings

ShaneMcC/screenlocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Screenlocker

USB-Key based screen locking for linux. Kind of inspired by rohos for windows, but does not require a specific device - any USB device with a unique serial number will work.

Unlocking should work on any freedesktop compatible screenlocker that supports a dbus call to org.freedesktop.ScreenSaver.SetActive, with a special exception for KDE 4.10 onwards which decided to just break compatability... (See: https://bugs.kde.org/show_bug.cgi?id=314989)

If it doesn't work, feel free to raise an issue about it and/or a pull request to fix it.

Usage

Insert your usb device of choice and run ./screenlocker.sh -s to set it up.

Once set up, insert and remove your key!

Advanced Usage

If you pass a -u parameter to the setup then ALL usb devices will be checked rather than just devices that are "known good"

You can also pass -k <keyfile> to allow setting up multiple unlock keys

Bugs and Known issues

See: https://github.com/ShaneMcC/screenlocker/issues

This is a pretty simple script, so there shouldn't really be much in the way of bugs.

About

USB-Key based screen locking for linux. (Inspired by rohos for windows)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages