You are not logged in.

#1 2025-02-08 19:59:55

masterofhtml
Member
Registered: 2025-02-07
Posts: 11

[SOLVED] Lock key on keyboard registering as super_l

i have media keys on my keyboard, and i have set up all the keybinds, however i could not find the key name for my lock key, so i have not yet set that up.

However, I have this line: bind = $mainMod, SUPER_L, exec, $menu ($menu being wofi), and when i do press the lock key, this executes.

I have used wev to find the sym name, and it comes up as l, but pressing l does not execute the line above


Any help would be much appreciated, thank you

Last edited by masterofhtml (2025-02-09 10:42:05)

Offline

#2 2025-02-09 00:29:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,427

Re: [SOLVED] Lock key on keyboard registering as super_l

It's gonna be super_l+l, the windows shortcut.
It's common for keyboards to have a key that just shortwires that combination, rather than an actually individual key.

I suspect the shortcut is bound for the keypress and as soon as super_l arrives it fires (and the "l" is ignored)
If you want to know whether and how you can discriminate the key (bind on release if no combo had been pressed) you'll have to tell us your shortcut daemon/wayland compositor.

Online

#3 2025-02-09 10:00:32

masterofhtml
Member
Registered: 2025-02-07
Posts: 11

Re: [SOLVED] Lock key on keyboard registering as super_l

thanks for the answer, How would i share my shortcut daemon, is that the hyprland.conf?
if so:
https://pastebin.com/EGa2PapM

Offline

#4 2025-02-09 10:41:49

masterofhtml
Member
Registered: 2025-02-07
Posts: 11

Re: [SOLVED] Lock key on keyboard registering as super_l

i solved it, thanks, i just made the keybind super l lock it seemed to work

Offline

Board footer

Powered by FluxBB