[opensuse] xmodmap question
Some one knows the list of keys that can be used on "/etc/X11/Xmodmap"? The manual doesn't have it. Example: keysym Menu = Multi_key This makes the "keysym Menu" work as the compose key. The "keysym Menu" is the contextual menu key. In this photo: <https://images.app.goo.gl/ozmp4yAXagH2jyqP8> it is the one in the centre. I would like to know the name (for xmodmap file) of the key on the left, the Windows key. Or hopefully, the name of all keys... the name as xmodmap uses. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
On 22/07/2019 13.07, Carlos E. R. wrote:
Some one knows the list of keys that can be used on "/etc/X11/Xmodmap"? The manual doesn't have it.
Example:
keysym Menu = Multi_key
This makes the "keysym Menu" work as the compose key. The "keysym Menu" is the contextual menu key. In this photo:
<https://images.app.goo.gl/ozmp4yAXagH2jyqP8>
it is the one in the centre. I would like to know the name (for xmodmap file) of the key on the left, the Windows key.
It is not Win_R (found on "man keysyms"). It is not Win_Menu
Or hopefully, the name of all keys... the name as xmodmap uses.
I found this entry in the man: The list of keysym names may be found in the header file <X11/keysymdef.h> (without the XK_ prefix), supplemented by the keysym database /usr/share/X11/XKeysymDB. Keysyms matching Unicode characters may be specified as "U0020" to "U007E" and "U00A0" to "U10FFFF" for all possible Unicode characters. I found file "/usr/include/X11/keysymdef.h". It has the line: #define XK_Menu 0xff67 but not the windows keys. And there is no "/usr/share/X11/XKeysymDB*" in my system.
From "xev" I know they key I want is this:
KeyPress event, serial 37, synthetic NO, window 0x5e00001, root 0x263, subw 0x0, time 74590001, (312,271), root:(1182,714), state 0x10, keycode 134 (keysym 0xffec, Super_R), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 37, synthetic NO, window 0x5e00001, root 0x263, subw 0x0, time 74590227, (312,271), root:(1182,714), state 0x50, keycode 134 (keysym 0xffec, Super_R), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False Maybe the name is "Super_R"? I'll try. [...] Yes! It is. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
FYI Using xev on my keyboard the output is as given below. On my keyboard "Microsoft® Natural® MultimediaMedia Keyboard 1.0A" xev said for "Windows" key on left side between left CTRL and ALT KeyRelease event, serial 40, synthetic NO, window 0x6000001, root 0x297, subw 0x0, time 18870141, (222,-175), root:(348,440), state 0x50, keycode 133 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 40, synthetic NO, window 0x6000001, root 0x297, subw 0x6000002, time 19312716, (46,18), root:(172,633), state 0x50, keycode 133 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False "Menu" key on right side between AltGR and right CTRL KeyPress event, serial 37, synthetic NO, window 0x6000001, root 0x297, subw 0x6000002, time 19302366, (46,18), root:(172,633), state 0x10, keycode 135 (keysym 0xff67, Menu), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 40, synthetic NO, window 0x6000001, root 0x297, subw 0x6000002, time 19302510, (46,18), root:(172,633), state 0x10, keycode 135 (keysym 0xff67, Menu), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False Regards Peter KeyRelease event, serial 40, synthetic NO, window 0x6000001, root 0x297, subw 0x0, time 18870141, (222,-175), root:(348,440), state 0x50, keycode 133 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False Am Mon, 22 Jul 2019 14:33:07 +0200 schrieb "Carlos E. R." <robin.listas@telefonica.net>:
On 22/07/2019 13.07, Carlos E. R. wrote:
Some one knows the list of keys that can be used on "/etc/X11/Xmodmap"? The manual doesn't have it.
Example:
keysym Menu = Multi_key
This makes the "keysym Menu" work as the compose key. The "keysym Menu" is the contextual menu key. In this photo:
<https://images.app.goo.gl/ozmp4yAXagH2jyqP8>
it is the one in the centre. I would like to know the name (for xmodmap file) of the key on the left, the Windows key.
It is not Win_R (found on "man keysyms").
It is not Win_Menu
Or hopefully, the name of all keys... the name as xmodmap uses.
I found this entry in the man:
The list of keysym names may be found in the header file <X11/keysymdef.h> (without the XK_ prefix), supplemented by the keysym database /usr/share/X11/XKeysymDB. Keysyms matching Unicode characters may be specified as "U0020" to "U007E" and "U00A0" to "U10FFFF" for all possible Unicode characters.
I found file "/usr/include/X11/keysymdef.h". It has the line:
#define XK_Menu 0xff67
but not the windows keys.
And there is no "/usr/share/X11/XKeysymDB*" in my system.
From "xev" I know they key I want is this:
KeyPress event, serial 37, synthetic NO, window 0x5e00001, root 0x263, subw 0x0, time 74590001, (312,271), root:(1182,714), state 0x10, keycode 134 (keysym 0xffec, Super_R), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x5e00001, root 0x263, subw 0x0, time 74590227, (312,271), root:(1182,714), state 0x50, keycode 134 (keysym 0xffec, Super_R), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
Maybe the name is "Super_R"? I'll try. [...]
Yes! It is.
-- Mit freundlichen Grüßen Best Regards Peter Ragosch -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 22/07/2019 16.30, Peter Ragosch wrote:
FYI Using xev on my keyboard the output is as given below.
On my keyboard "Microsoft® Natural® MultimediaMedia Keyboard 1.0A" xev said for
"Windows" key on left side between left CTRL and ALT
KeyRelease event, serial 40, synthetic NO, window 0x6000001, root 0x297, subw 0x0, time 18870141, (222,-175), root:(348,440), state 0x50, keycode 133 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
Super_L
"Menu" key on right side between AltGR and right CTRL
KeyPress event, serial 37, synthetic NO, window 0x6000001, root 0x297, subw 0x6000002, time 19302366, (46,18), root:(172,633), state 0x10, keycode 135 (keysym 0xff67, Menu), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False
Menu By the way, I just found that using "xev -event keyboard" makes it easier to use. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)
participants (2)
-
Carlos E. R.
-
Peter Ragosch