Add Ctrl-Alt-T to launch GNOME Terminal

This commit is contained in:
Anthony Rose 2021-03-21 17:40:50 +00:00
parent cf8f63f90a
commit 9caf4fb4c2

View file

@ -52,6 +52,13 @@ set_gnome_terminal_preferences () {
} }
set_gnome_terminal_preferences set_gnome_terminal_preferences
set_custom_keyboard_shortcuts () {
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ name 'Launch Terminal'
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ command 'gnome-terminal'
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ binding '<Primary><Alt>t'
}
set_custom_keyboard_shortcuts
set_misc_preferences () { set_misc_preferences () {
# Disable alert sounds. # Disable alert sounds.
gsettings set org.gnome.desktop.sound event-sounds false gsettings set org.gnome.desktop.sound event-sounds false