You are not logged in.
Hi all,
Pretty self explanatory in terms of the topic subject.
I'm trying to bind the Print Screen key on my laptops keyboard to hyprshot for screenshot functions, however the typical bindings, Print, PrtScr, etc weren't working.
So I installed wev and sure enough when I press the key, wev registers no activity.
Oddly it also does this with the Fn key, however the Fn key does functionally work to switch on Scr Lk, and the shortcut functions for lowering, increasing, and muting volume.
Just wondering if anyone had come across this problem and had any ideas on how to solve? I have searched but can't seem to find anything particular to this issue.
Thanks for your time.
Aruelyxia.
Last edited by Aruelyxia (2026-01-08 03:09:56)
Offline
what de/wm are you on?
I Have Linux Perl Can i Download Gnome???
Offline
Hyprland
Offline
The Fn key is typically a hardware detail that never gets exposed to the OS, as for the Print key, things that don't show up in xev/wev are typically already grabbed as shortcut.
Does it generate events in "sudo libinput debug-events" or "sudo evtest"?
Offline
Hi Seth,
Thanks for your time and reply.
I'll test this in the next hour or so and report back.
Offline
Hi Seth,
I get the following on evtest:
^[[57361uEvent: time 1767794101.621206, type 4 (EV_MSC), code 4 (MSC_SCAN), value b7
Event: time 1767794101.621206, type 1 (EV_KEY), code 99 (KEY_SYSRQ), value 0
Event: time 1767794101.621206, -------------- SYN_REPORT ------------The good news is the key is definitely registering. I've tried entering SYSRQ as a key name for the binding on the hyprland.conf file and it still doesn't seem to register it unfortunately.
How bizarre, I've just opened up wev after running evtest and Print is now responding, I've now put Print into the hyprland.conf file and that appears to be working now.
Thanks so much for your help Seth and killertofus - I really appreciate it!
Best,
Aruelyxia
Offline
I've just opened up wev after running evtest and Print is now responding, I've now put Print into the hyprland.conf file and that appears to be working now.
\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline