From 3209d3100d8ac7db1bcbad37b959f11e4613f368 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 18 Apr 2014 22:53:34 +0200 Subject: [PATCH] grml-lang: support language settings for Italy Thanks: Marco d'Itri --- usr_bin/grml-lang | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/usr_bin/grml-lang b/usr_bin/grml-lang index 0b33060..5c3fafa 100755 --- a/usr_bin/grml-lang +++ b/usr_bin/grml-lang @@ -11,7 +11,7 @@ PN="$(basename $0)" usage(){ echo "Usage: $0 " - echo "supported values: at, ch, de, dvorak, es, fr, jp, us" + echo "supported values: at, ch, de, dvorak, es, fr, it, jp, us" } setvalue(){ @@ -59,6 +59,10 @@ if [ -z "$DISPLAY" ] ;then echo "Loading keymap for Switzerland..." sudo loadkeys i386/qwertz/sg-latin1.kmap.gz echo -e "\nDone." + elif [ "$1" = "it" ] ; then + echo "Loading keymap for Italy..." + sudo loadkeys i386/qwerty/it.kmap.gz + echo -e "\nDone." elif [ "$1" = "us" ] ; then echo 'Loading keymap us...' sudo loadkeys i386/qwerty/us-latin1.kmap.gz @@ -102,6 +106,10 @@ else echo "Loading keymap for Switzerland..." setxkbmap ch echo -e "\nDone." + elif [ "$1" = "it" ] ; then + echo "Loading keymap for Italy..." + setxkbmap it + echo -e "\nDone." elif [ "$1" = "jp" ] ; then echo "Loading keymap for Japan..." setxkbmap -model jp106 -layout jp -- 2.1.4