masi boosted

if you need to #map/#compose some key on your keyboard. Here a cheatsheet. #OpenBSD #FreeBSD #keyboard #X11

1. read #XCompose, #xmodmap and #xev man page

2. create ~/.Xmodmap and ~/.XCompose

3. with xev, select the keycode of your compose key (press the key on the window)

4. map your key in ~/.Xmodmap
keycode ${KEYCODE} = Multi_key

5. load the key map
$ xmodmap ~/.Xmodmap

6. add keys in ~/.XCompose
<Multi_key> <a>: "\xc3\xa5"
<Multi_key> Shift <a>: "\xc3\x85"

7. launch an X app and test

Layer8 in Space

Welcome to the 8th Layer of Madness

Most topics are related to Linux, Anime, Music, Software and maaaany more