Set Firefox as the default browser

This commit is contained in:
Anthony Rose 2024-06-13 14:35:05 +01:00
parent 4ddaca51d8
commit b1b3870d40

View file

@ -15,18 +15,20 @@ set_favorites_bar () {
else else
gsettings set org.gnome.shell favorite-apps "['org.gnome.Terminal.desktop', 'org.gnome.Console.desktop', 'org.gnome.Nautilus.desktop', 'org.mozilla.firefox.desktop', 'org.keepassxc.KeePassXC.desktop']" gsettings set org.gnome.shell favorite-apps "['org.gnome.Terminal.desktop', 'org.gnome.Console.desktop', 'org.gnome.Nautilus.desktop', 'org.mozilla.firefox.desktop', 'org.keepassxc.KeePassXC.desktop']"
fi fi
# Set Firefox (from Flathub) as the default browser.
xdg-settings set default-web-browser org.mozilla.firefox.desktop
} }
set_favorites_bar set_favorites_bar
set_keyboard_and_language () { set_keyboard_and_language () {
gsettings set org.gnome.desktop.input-sources show-all-sources true gsettings set org.gnome.desktop.input-sources show-all-sources true
gsettings set org.gnome.desktop.input-sources xkb-options "[]" gsettings set org.gnome.desktop.input-sources xkb-options "['']"
gsettings set org.gnome.desktop.wm.keybindings switch-applications "['<Super>Tab']" 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-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 "['<Alt>Tab']"
gsettings set org.gnome.desktop.wm.keybindings switch-windows-backward "['<Shift><Alt>Tab']" gsettings set org.gnome.desktop.wm.keybindings switch-windows-backward "['<Shift><Alt>Tab']"
# https://github.com/acperkins/keyboard # https://acperkins.com/keyboard
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'acp'), ('xkb', 'us')]" gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'acp'), ('xkb', 'us')]"
# Set the thumb button on the Logitech MX Master mouse to 'toggle-overview'. Defaults are: # Set the thumb button on the Logitech MX Master mouse to 'toggle-overview'. Defaults are: