diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-07-27 16:10:08 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-07-27 16:10:08 -0300 |
commit | d4eb34a4030592f49abc75c65f26a1fbd35a8528 (patch) | |
tree | ebc2916ad4feec542283988bc7371bed10f86b30 /configs/mate/root-image/root/.scriptsInstallation/language/gl/userAccount.sh | |
parent | 77a356698264eda03333993531804351ac4b512e (diff) |
Fix keyboard, volume and Parabola theme in Mate ISO
Diffstat (limited to 'configs/mate/root-image/root/.scriptsInstallation/language/gl/userAccount.sh')
-rwxr-xr-x | configs/mate/root-image/root/.scriptsInstallation/language/gl/userAccount.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/gl/userAccount.sh b/configs/mate/root-image/root/.scriptsInstallation/language/gl/userAccount.sh index aa1d33a..6fa82e1 100755 --- a/configs/mate/root-image/root/.scriptsInstallation/language/gl/userAccount.sh +++ b/configs/mate/root-image/root/.scriptsInstallation/language/gl/userAccount.sh @@ -10,4 +10,26 @@ done useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=} +if [ -x /usr/bin/setxkbmap ]; then + echo "setxkbmap $(cat /.codecheck | grep XKBMAP= | cut -d '=' -f 2)" >> /home/${user#*=}/.bashrc +fi + +if [ -x /usr/bin/gsettings ]; then + sudo -u {user#*=} \ + if [ -d /usr/share/themes/Radiance-Purple ]; then + gsettings set org.mate.interface gtk-theme 'Radiance-Purple' + gsettings set org.mate.Marco.general theme 'Radiance-Purple' + fi \ + if [ -d /usr/share/icons/RAVE-X-Dark-Purple ]; then + gsettings set org.mate.interface icon-theme 'RAVE-X-Dark-Purple' + fi \ + if [ -d /usr/share/icons/mate ]; then + gsettings set org.mate.peripherals-mouse cursor-size '18' + gsettings set org.mate.peripherals-mouse cursor-theme 'mate' + fi \ + if [ -f /etc/wallpaper.png ]; then + gsettings set org.mate.background picture-filename '/etc/wallpaper.png' + fi +fi + exit |