Slim RHEL packages and Gnome setup
This commit is contained in:
parent
827f20c41f
commit
dac594ae78
3 changed files with 2 additions and 13 deletions
|
@ -43,7 +43,6 @@
|
||||||
- lldb
|
- lldb
|
||||||
- mc
|
- mc
|
||||||
- nmap
|
- nmap
|
||||||
- nodejs
|
|
||||||
- openssh-server
|
- openssh-server
|
||||||
- python38
|
- python38
|
||||||
- python38-psutil
|
- python38-psutil
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
state: present
|
state: present
|
||||||
vars:
|
vars:
|
||||||
packages:
|
packages:
|
||||||
- emacs
|
|
||||||
- git-gui
|
- git-gui
|
||||||
- liberation-fonts
|
- liberation-fonts
|
||||||
- vim-X11
|
- vim-X11
|
||||||
|
|
|
@ -11,21 +11,12 @@ set_favorites_bar () {
|
||||||
firefox=firefox
|
firefox=firefox
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gsettings set org.gnome.shell favorite-apps "['org.gnome.Terminal.desktop', 'org.gnome.Nautilus.desktop', '$firefox.desktop', 'chromium.desktop', 'codium.desktop']"
|
gsettings set org.gnome.shell favorite-apps "['org.gnome.Terminal.desktop', 'org.gnome.Nautilus.desktop', '$firefox.desktop', 'chromium.desktop']"
|
||||||
}
|
}
|
||||||
set_favorites_bar
|
set_favorites_bar
|
||||||
|
|
||||||
set_keyboard_and_language () {
|
set_keyboard_and_language () {
|
||||||
local en="('xkb', 'ca+eng')"
|
gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us')]"
|
||||||
local fr="('xkb', 'ca+multix')"
|
|
||||||
local layouts
|
|
||||||
if [ "$(echo $LANG | sed 's/_.*//')" = "fr" ]
|
|
||||||
then
|
|
||||||
layouts="[$fr, $en]"
|
|
||||||
else
|
|
||||||
layouts="[$en]"
|
|
||||||
fi
|
|
||||||
gsettings set org.gnome.desktop.input-sources sources "$layouts"
|
|
||||||
gsettings set org.gnome.desktop.input-sources xkb-options "['lv3:ralt_switch', 'compose:caps', 'shift:both_capslock']"
|
gsettings set org.gnome.desktop.input-sources xkb-options "['lv3:ralt_switch', 'compose:caps', 'shift:both_capslock']"
|
||||||
}
|
}
|
||||||
set_keyboard_and_language
|
set_keyboard_and_language
|
||||||
|
|
Loading…
Reference in a new issue