[xubuntu-users] Frequent loss of xmodmap settings

Jeffery Small jeff at cjsa.com
Wed Dec 3 23:09:59 UTC 2025


Thanks for the reply.  It looks like there is a utility called keyd that
is supposed to work under both X11 an Wayland.  Has anyone used it?  Does
it provide keycode assignment capability to handle things like:

! Set Props (and Blank) key:
keycode 138 =   F28             KP_Begin
! Set F1 Key (Remap to disable the XFCE help function mapped to F1)
keycode 67 =    F16             F16             F16             F16
! Set Cut key:
keycode 145 =   F35             F35             F35             F35

and pick up custom escape sequences defined in the terminal definitions?

When these key reassignments are lost, then all my vim mappings fail, along
with many other programs.

I hate to have to start from scratch and reimplement, test and, debug
something that has been working for over 45 years, dating back to UNIX
System V, so I'm still hoping there may be other pointers allowing me
to keep the current configuration but stop the interruptions which have
accelerated recently, probably due to some system patches being applied.
It used to be an infrequent occurrence, but I've had to reset the keyboard
three times today already, including in the middle of writing this post!

Thanks for any other pointers.
--
Jeff

Marc Coevoet <sintsixtus at gmail.com> writes:

>Op 2/12/2025 om 18:30 schreef Jeffery Small:
>> 
>> Xubuntu 24.04.3
>> 
>> I'm working on my desktop system and at unpredictable times I lose my
>> xmodmap keyboard assignments. 

>The clue is

>Xmodmap in wayland

>on google:

>https://www.google.com/search?q=xmodmap+in+wayland

>Marc



More information about the xubuntu-users mailing list