How do I define some shortcuts to type my favorite math symbols as Unicode chars in Geany and Terminal and whatsoever text app ?
yay -S xvkbd
In openbox’s rc.xml
<keybind key="W-KP_1"> <action name="Execute"> <command>xvkbd -text "Text 1 inserted!"</command> </action> </keybind>
Works but holding the win key too long invokes the W-shortcuts made from the chars provided in the string !
Bump for our member.
I’d like to have sthg like : “W-I wedge” t insert the ∧ symbol.
-one compound shortcut Windows-I
-then one sequence of letters: w-e-d-g-e
What I need seems like a compose key.
In /etc/X11/xorg.conf.d/00-keyboard.conf :
# Use localectl(1) to instruct systemd-localed to update it. Section "InputClass" Identifier "system-keyboard" MatchIsKeyboard "on" Option "XkbLayout" "fr" Option "XkbVariant" "latin9" Option "XkbOptions" "compose:menu-altgr" EndSection
And in ~/.XCompose
include "%L" <Multi_key> <w> <e> : "∧"
Reboot. It doesn’t work.
- Have I put XCompose at the wrong place ?
- Are Openbox settings overriding those ?
THird and succesful attempt:
Put in ~/.xinitrc
setxkbmap -option "compose:menu"
/etc/X11/xorg.conf.d/00-keyboard.conf accordingly, but I read somewhere that
setxkbmap overrides it.
Look! ∧∨∈ ← ⟼