Re: xorgproto: missing _EVDEVK() entries for some keys

2025-01-20 Thread Oliver Gerlich

Am 17.12.24 um 02:15 schrieb Peter Hutterer:

On Sun, Dec 15, 2024 at 07:00:12PM +0100, Oliver Gerlich wrote:

[...]



Alternatively, would it be possible to add _EVDEVK() lines for keys that
are related to media controls? The table at
https://www.kernel.org/doc/html/v6.11/userspace-api/media/rc/rc-tables.html
shows which keys would be interesting.

Should I just submit a merge request for one of these approaches?


Yes, an MR would be much appreciated, much easier to review than patches
on a list. Thanks.


There's now an MR for adding the keys from Linux 2.5.26:
https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/93

Can someone start the CI pipeline on that MR?
I don't have permissions to do that; so the job failed with "Looks like
you don't have enough privileges, please see
https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/540";.

Also, do you have suggestions how to improve the MR so it can be merged?

Thanks,
Oliver Gerlich


xmodmap settings get lost or reset

2025-01-20 Thread Matthias Apitz


Hello,

I'm using KDE (kde5-5.27.7.23.08.0_2.pkg) and Xorg (xorg-7.7_3.pkg), all
compiled from ports (i.e. from the sources) on FreeBSD 14.0-CURRENT.

On start of KDE a script sets keymappings to get a Spanish keyboard from
a normal German QWERTZ keyboard, as for example:

...
xmodmap -e "keycode 10 =  1 exclam exclamdown onesuperior"
xmodmap -e "keycode 20 =  questiondown question backslash ssharp"
xmodmap -e "keycode 26 =  e E eacute Eacute"
xmodmap -e "keycode 27 =  r R EuroSign"
xmodmap -e "keycode 30 =  u U uacute Uacute"
...

Magically, these settings get lost or reset from time to time, and every
day; today I've had to rerun this script at:

07:25:22 CET (boot time)
09:26:00 CET (run the script by hand again)
12:37:25 CET (run the script by hand again)

What could cause the lost/reset of the mappings?

Thanks

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub