问题
I'm on Arch Linux (everything's up to date).
I know how to define a new keyboard layout based on those under /usr/share/X11/xkb/symbols: I successfully created (and used) one from scratch but there's one little thing I still can't do... overriding keys from /usr/share/X11/xkb/symbols/inet. In particular, I'd like to disable I232 and I233 (brightness keys) without modifying /usr/share/X11/xkb/symbols/inet itself. Are those keys "protected" in a way they can't be overridden in a keyboard layout? I CAN disable those keys using xmodmap, but I'd like to disable them in my keyboard layout (under /usr/share/X11/xkb/symbols).
Any idea?
来源:https://stackoverflow.com/questions/29779072/override-inet-using-xkb-under-linux