1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh if command -v uim-xim >/dev/null 2>&1; then export GTK_IM_MODULE="uim" export QT_IM_MODULE="uim" export SHORT_DESC="UIM" export UIM_FEP="skk" export XIM="uim" export XIM_ARGS= export XIM_PROGRAM="uim-xim" export XMODIFIERS="@im=uim" fi
Consider giving Nix/NixOS a try! <3