X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=spectrwm.1;h=2ec43fa28283e993ad6a602cc20c627e30552026;hb=b7d49e02ee41b99ff8d31282bdec7703e885fd2a;hp=1bbbedae12ba7148d7d9873cdc91d2cac3ae2245;hpb=95c13345546e196b02bcfc763165df2a7dba9c78;p=spectrwm.git diff --git a/spectrwm.1 b/spectrwm.1 index 1bbbeda..2ec43fa 100644 --- a/spectrwm.1 +++ b/spectrwm.1 @@ -616,6 +616,24 @@ To use the currently defined specify MOD as the modifier key. .Pp Multiple key combinations may be bound to the same action. +.Pp +To bind non-latin characters such as å or π you must enter the xkb +character name instead of the character itself. Run xev, focus the window +and press the specific key and in the terminal output read the symbol name. +In the fallowing example for å: +.Bd -literal -offset indent +KeyPress event, serial 41, synthetic NO, window 0x2600001, + root 0x15a, subw 0x0, time 106213808, (11,5), root:(359,823), + state 0x0, keycode 24 (keysym 0xe5, aring), same_screen YES, + XLookupString gives 2 bytes: (c3 a5) "å" + XmbLookupString gives 2 bytes: (c3 a5) "å" + XFilterEvent returns: False +.Ed +.Pp +The xkb name is aring. In other words, in .spectrwm.conf add: +.Bd -literal -offset indent +bind[program] = MOD+aring +.Ed .Sh KEYBOARD MAPPING FILES Keyboard mapping files for several keyboard layouts are listed below.