Skip to content

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.

6 points3 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
6 · 100% up
Kind
Text
ID
ftlkun

Author

38
posts
2k
comments
20
media
View profile

4 comments

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.

1 points

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.

1 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.