Only use GB keyboard, but make Compose easier

This commit is contained in:
Anthony Rose 2024-01-15 15:44:52 +00:00
parent 5d1317e67b
commit 9c6727c3d3

View file

@ -21,18 +21,15 @@ set_favorites_bar
set_keyboard_and_language () {
gsettings set org.gnome.desktop.input-sources show-all-sources true
gsettings set org.gnome.desktop.input-sources xkb-options "['compose:menu', 'lv3:ralt_switch', 'lv5:rctrl_switch']"
gsettings set org.gnome.desktop.input-sources xkb-options "['compose:rctrl']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications "['<Super>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications-backward "['<Shift><Super>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-windows "['<Alt>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-windows-backward "['<Shift><Alt>Tab']"
case "$LANG" in
"fr_FR.UTF-8")
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'fr+bepo_afnor'), ('xkb', 'gb')]"
;;
*)
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'gb'), ('xkb', 'fr+bepo_afnor')]"
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'gb')]"
;;
esac