#!/bin/bash export TEXTDOMAIN="nautilus" logger -t "Gsettigns for nautilus" "Fixed gsettings in $LANG" TRASH=$(gettext "Trash") COMPUTER=$(gettext "Computer") DOWNLOADS="$HOME/$(gettext xdg-user-dirs Downloads)" HOME_=$(gettext "Home") # Updated gsettings for Personal desktop icons # DISABLING THIS FOR NOW. PREVIOUS DCONF KEYS WERE WRONG AND NOBODY MISSED THIS CONFIGURATION, WHICH IS NOW USING THE RIGHT MATE KEYS #gsettings set org.mate.caja.desktop trash-icon-name "$TRASH" #gsettings set org.mate.caja.desktop home-icon-name "$HOME_" #gsettings set org.mate.caja.desktop computer-icon-name "$COMPUTER" # Blueman hack #LIVE HACK if [ ! -x "$DOWNLOADS" ]; then DOWNLOADS=$HOME fi gsettings set org.blueman.transfer shared-path "$DOWNLOADS" # ## logger -t lliurex-gsettings "Setting catalan input" sleep 5 RET=$(gsettings get org.gnome.desktop.input-sources sources) if [ "$RET" = "@a(ss) []" ]; then gsettings set org.gnome.desktop.input-sources sources "[('xkb','es+cat')]" fi