Quoth [email protected]:
> Quoth requiem. <[email protected]>:
> > For the sake of completeness, I figured this out.
> > Needed to add some "setxkbmap" directives to the i3 config.
> > 
> > ``` ~/.config/i3/config
> > 
> > exec_always "setxkbmap -model apple_laptop -layout us -variant mac
> > -option compose:ralt"
> > 
> > ```
> > 
> > This works :)
> > 
> 
> oh i didn't know X had an option for it.  i thought it was exclusive
> to XTerm.  thank you :)
> 
> i guess it'd be better to configure it system-wide so you wouldn't
> need to make a new config file if you change WM (ref: XKB-Config(7),
> xorg.conf(5)):
> 
> ``` /etc/X11/xorg.conf.d/10-keyboards.conf
> Section "InputClass"
>       Identifier "Apple laptop keyboard"
>       MatchIsKeyboard "on"
>       Option "XkbModel" "apple_laptop"
>       Option "XkbLayout" "us"
>       Option "XkbVariant" "mac"
>       Option "XkbOptions" "compose:ralt"
> EndSection
> ```
> 

btw anyone changing their xorg.conf don't repeat my silly mistake and
restart your WM / log out and and back in instead restarting your
xenodm to apply the new config :b

Reply via email to