You are not logged in.

#1 2015-08-13 18:42:25

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

[light-locker etc] Any way to pass-through keys for sxhkd (or similar)

So when my laptop screen turns off (DPMS or otherwise) light-locker activates. This means shortcut keys don't. Meaning I have to unlock the laptop if I want to change the volume or control mpd (which I do through sxhkd keyboard shortcuts).

Of course, the purpose of a lockscreen is to LOCK the screen, which includes the keyboard, but is there a way to pass-through some keys?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#2 2015-08-13 19:31:55

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,422
Website

Re: [light-locker etc] Any way to pass-through keys for sxhkd (or similar)

Not that I know of, unless it involves modifying the light-locker source. A simple workaround is to use acpid for your volume keys. If you use pulseaudio, you may have to use a small shell script from your user.

https://wiki.archlinux.org/index.php/Ac … me_control
https://wiki.archlinux.org/index.php/Ac … pid_socket


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#3 2015-08-14 01:13:09

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [light-locker etc] Any way to pass-through keys for sxhkd (or similar)

Thanks Alad, but that would require me to repurpose special function keys rather than the key chords I already use sad (muscle memory etc).

I've already tested it and indeed the keys are detected even in lockscreen. If I cannot find a better method I may just have to go with this. My laptop does have multimedia keys but they're not what I normally use because I prefer single-handed key chords and, of course, the Fn key is on the left while all the multimedia keys are on the right.

Although I wonder if I could use hwdb to remap my preferred keys to make them look like multimedia keys... that's next on the to-do list then.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB