Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown keysym name: 'XF86RFKill' #319

Open
ChausseBenjamin opened this issue Jan 11, 2024 · 1 comment
Open

Unknown keysym name: 'XF86RFKill' #319

ChausseBenjamin opened this issue Jan 11, 2024 · 1 comment

Comments

@ChausseBenjamin
Copy link

I did as the man page for sxhkd suggested and found the key code for one of my keyboards keys by running xev -event keyboard. The output was XF86RFKill.

But if I update my config to use the key to run a script (i.e. open nmtui on a new terminal), sxhkd gives me the error in the title: Unknown keysym name: 'XF86RFKill'

Is there a way to fix this?

@heglamm
Copy link

heglamm commented Aug 11, 2024

Yes, there is a table in src/pase.c for each X11 keysym.
Clone the repo with: git clone --depth=1 https://github.com/baskerville/sxhkd
Jump down to line 2367 in src/parse.c {"XF86LogGrabInfo" , 0x1008FE25} ,, and on the next line write:
{"XF86RFKill", 0x1008FFB5} ,.
Then run sudo make install.
You will need to restart all instances of sxhkd, killing them with SIGUSR1 will not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants