You are not logged in.

#1 2021-10-30 21:46:49

peonerovv
Member
Registered: 2021-08-11
Posts: 34

How to get the list of keynames for setxkbmap?

Hi

I recently swapped my caps and escape keys by using the

setxkbmap -option caps:swapescape

And I wanted to do the same type of action for my menu key. But just typing "menu" doesn't seem to work. To further exclude this issue it would be better if I could somehow get the list of keynames to use for this command. (xev doesn't work for this).

Thanks.

Offline

#2 2021-10-31 00:22:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,497
Website

Re: How to get the list of keynames for setxkbmap?

What do you mean you want to do the "same type of action" for the menu key?  And what do you mean "just typing menu doesn't seem to work"?  What would working mean?  And where did you "just" type that?  Why would you expect it to work?

There are several options related to the menu key which can be set with setxkbmap, these are all defined in `man xkeyboard-config`.

Xkb key names are defined in configs under /usr/share/X11/xkb, and you can define your own keyboard maps if you like which could reside under your home directory and be enabled with setxkbmap.  You can also print out the current config / map with setxkbmap.  But It's really not clear what your end goal is.

Last edited by Trilby (2021-10-31 00:24:59)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB