On Mon, Jun 01, 2020 at 03:37:45PM -0600, Anthony J. Bentley wrote: > Marc Espie writes: > > > To setup the right alt key as compose, you can either: > > > > > > - run 'setxkbmap -option compose:ralt' somewhere in your session > > > startup script > > > > > > - create /etc/X11/xorg.conf.d/90-keyboard.conf containing > > > > > > --- Cut --- > > > Section "InputClass" > > > Identifier "Kbd" > > > MatchDriver "kbd" > > > Option "XkbOptions" "compose:ralt" > > > EndSection > > > --- Cut --- > > > > I used to understand that shit back in xmodmap days. > > I'll admit I'm completely lost with setxkbmap > > > > Along the same lines, how can you simply disable caps lock ? > > caps:none > > Personally I run with caps:ctrl_modifier (caps becomes ctrl). > > These variants are documented in xkeyboard-config(7) (needs a large > terminal to be readable).
Oh wow, this doc is a complete piece of shit. I finally figured it out the relationship between setxkbmap and xkeyboard-config thanks to the lines you gave. It would be sooo enlightening to have a few EXAMPLES in setxkbmap(1) that does explain how xkeyboard-config(7) actually works. Last time I looked, I thought I need to create my own description that would be compiled through xkbcomp(1), that's how misleading this so called "documentation" is. Thank you Anthony!