mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-17 09:25:32 +00:00
d7473ac185
Tidy files; tidy soul!
18 lines
469 B
Plaintext
18 lines
469 B
Plaintext
# Set the keyboard layout for the current X session
|
|
setxkbmap -layout "us,ru"
|
|
setxkbmap -option "grp:caps_toggle,grp_led:scroll,compose:ralt"
|
|
|
|
# Configure compose
|
|
git clone https://github.com/kragen/xcompose/
|
|
cd xcompose
|
|
bash install
|
|
cat <<EOF >> ~/.profile
|
|
input_module=xim
|
|
export GTK_IM_MODULE=$input_module
|
|
export XMODIFIERS=@im=$input_module
|
|
export QT_IM_MODULE=$input_module
|
|
EOF
|
|
# And you probly need to start:
|
|
# ibus-daemon --xim --verbose --daemonize --replace
|
|
|