Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
fb10c98b
Commit
fb10c98b
authored
Mar 02, 2018
by
Igor Pecovnik
Browse files
Add keyboard layout changing to config
parent
61af6a16
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
fb10c98b
...
...
@@ -630,6 +630,11 @@ function jobs ()
dpkg-reconfigure locales
;;
# Change keyboard
#
"Keyboard"
)
dpkg-reconfigure keyboard-configuration
;;
# Change Hostname
#
...
...
debian-config-submenu
View file @
fb10c98b
...
...
@@ -810,6 +810,7 @@ while true; do
LIST
=()
LIST+
=(
"Timezone"
"Change timezone
\Z
5(
$(
date
+%Z
)
)
\Z
0"
)
LIST+
=(
"Locales"
"Reconfigure language
\Z
5(
$(
locale |
grep
LANGUAGE |
cut
-d
=
-f2
|
cut
-d_
-f1
)
)
\Z
0 and character set"
)
LIST+
=(
"Keyboard"
"Change console keyboard layout (
\Z
5(
$(
cat
/etc/default/keyboard |
grep
XKBLAYOUT |
grep
-o
'".*"'
|
sed
's/"//g'
)
\Z
0)"
)
LIST+
=(
"Hostname"
"Change your hostname
\Z
5(
$(
cat
/etc/hostname
)
)
\Z
0"
)
[[
-f
/etc/apt/sources.list.d/armbian.list
]]
&&
LIST+
=(
"Mirror"
"Change repository server"
)
LIST+
=(
"Welcome"
"Toggle welcome screen items"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment