#!/bin/bash ################################## # Author1: Bruno Goncalves (www.biglinux.com.br) # Author2: Rafael Ruscher (rruscher@gmail.com) # Date: 2022/08/19 # # Description: Control Center to help usage of BigLinux # # Licensed by GPL V2 or greater ################################## #Change language system export LANGUAGE=$language.UTF-8 export LANG=$language.UTF-8 echo "$language" > /tmp/big_language echo "$keyboard" > /tmp/big_keyboard echo "LANGUAGE=$language.UTF-8" | sudo tee -a /etc/environment &>/dev/null & echo "LANG=$language.UTF-8" | sudo tee -a /etc/environment &>/dev/null & echo "LC_MESSAGES=$language.UTF-8" | sudo tee -a /etc/environment &>/dev/null & timedatectl set-timezone $timezone /dev/null & timedatectl set-ntp 1 /dev/null & localectl set-locale ${language}.UTF-8 /dev/null & # Run script to checksum nice -n+20 ionice -c 3 ./biglinux-verify-md5sum.sh > /dev/null 2>&1 & #Translation export TEXTDOMAINDIR="/usr/share/locale" export TEXTDOMAIN=biglinux-livecd if [ "$keyboard" = "us" ]; then setxkbmap $keyboard & echo '
' exit fi SELECT_KEYBOARD=$"Escolha o modelo do teclado:" echo "
" cat /usr/share/bigbashview/framework/html/genericHeader.html cat << EOF

##### $SELECT_KEYBOARD

EOF