I have an issue with keyboard shortcuts conflict (an event is triggered upon a key press instead of release). (This is a very old issue which is common for users using 2 or more keyboard layouts).
An X server patch exists for this issue. I'd like to apply it but I'm not sure how to properly do that.
The solution from this comment:
As an ordinary Gentoo Linux user, I:
- download patch attached to this issue named "The same patch, but based on 1.19.1 (fixed)" into directory/etc/portage/patches/x11-base/xorg-server/
- runemerge xorg-serverto reinstall Xorg with this patch applied
- restart X to enjoy working hotkeys :)
Question: How do you (properly) patch the X server on Ubuntu? (I'm currently using Ubuntu 24.04.)