On Thu, Apr 24, 2025 at 08:57:16 -0300, Eduardo M KALINOWSKI wrote:
> xev told me that the "Windows" key on my keyboard (which opens the KDE menu)
> is "Super_L". "Menu" probably is another key that is meant to open the
> context menu (same as right clicking generally).

On my system (which has an HP USB keyboard, model SK-2502U, part number
A4983-60401):

 * The left Wing/Windows key is identified as "Super_L".
 * The right Wing/Windows key would have been "Super_R" but I've mapped
   it to "Multi_key".
 * The Menu key is identified as "Menu".

I'm using startx to launch an X11 session, and I have a ~/.xsession
file.  In my .xsession file, I have (among other commands):

    xmodmap ~/.xmodmaprc

And my ~/.xmodmaprc file contains:

=======================================================================
keysym Super_R = Multi_key

keycode 162 = XF86AudioPlay
keycode 164 = XF86AudioStop
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
=======================================================================

Those last four lines are from a previous keyboard; my current keyboard
does not have those buttons on it.  But the lines in .xmodmaprc are
not hurting anything, so I left them in.

Reply via email to