Are there screen lockers with customizable shortcuts?
I'm currently using i3lock to lock my XOrg session when I don't want anyone else to start doing stuff on there. It works just fine.
However, I'm wondering if it would be possible to somehow bind commands to be run when pressed in it, or if any other screen lockers have any such features.
Or, better yet, also draw text similar to simple statusbar, from a shellscript to be readable for anyone even if the screen is locked.
For example, it would be nice to bind stuff like XF86AudioRaiseVolume, XF86AudioPlay and other laptop keys to specific commands that accomplish these actions, aswell as silly things like Super+U to launch espeak uwu as a sound test. lol
I did look through List of applications entry on screen lockers, and none of the short descriptions seem to mention anything like this. Maybe I'm a bit too ignorant, but I don't feel like going through and installing each and every one of them to see if one of them would have any such features.
...Should I just roll up my sleeves, learn C++ or something, and code one myself? lol
Edited 2 Apr 2020. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 6 · 100% up
- Kind
- Text
- ID
- ftlkun
4 comments
you could try to add the functionality to i3lock..
xtestfakekeyeventwould be useful if you want to do passthru (and let a hotkey daemon deal with the action).you can more or less copy the way i3lock does
ctrl + ufor multikey bindings.Don't know about i3. But if you want to modify something to get that functionality: slock would be the way to go.
Very easy to understand the code and make modifications.
if i recall, in its inception i3lock was based off slock - either way xtrlock/i3lock/slock all do things similarly.
as far as hacking in bindings go they are the same - except i3lock has xcb support, which makes key passthru to xcb wm's doable along with other snazzy things.
Deleted before we saved it.