Commit fb10c98b authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Add keyboard layout changing to config

parent 61af6a16
......@@ -630,6 +630,11 @@ function jobs ()
dpkg-reconfigure locales
;;
# Change keyboard
#
"Keyboard" )
dpkg-reconfigure keyboard-configuration
;;
# Change Hostname
#
......
......@@ -810,6 +810,7 @@ while true; do
LIST=()
LIST+=( "Timezone" "Change timezone \Z5($(date +%Z))\Z0" )
LIST+=( "Locales" "Reconfigure language \Z5($(locale | grep LANGUAGE | cut -d= -f2 | cut -d_ -f1))\Z0 and character set" )
LIST+=( "Keyboard" "Change console keyboard layout (\Z5($(cat /etc/default/keyboard | grep XKBLAYOUT | grep -o '".*"' | sed 's/"//g')\Z0)")
LIST+=( "Hostname" "Change your hostname \Z5($(cat /etc/hostname))\Z0" )
[[ -f /etc/apt/sources.list.d/armbian.list ]] && LIST+=( "Mirror" "Change repository server" )
LIST+=( "Welcome" "Toggle welcome screen items" )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment