diff options
author | ben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-01-15 21:37:27 +0000 |
---|---|---|
committer | ben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-01-15 21:37:27 +0000 |
commit | b75100b02793cfe94fe1a14a9e0e8fbd7e1a9eed (patch) | |
tree | a198f77322ab3551f52cc4c35dc40b97b0a07007 /linux/bin | |
parent | 1a43a8ed39071772c7f6101a25bce1e6fef495f2 (diff) | |
download | neo-layout-b75100b02793cfe94fe1a14a9e0e8fbd7e1a9eed.tar.gz neo-layout-b75100b02793cfe94fe1a14a9e0e8fbd7e1a9eed.tar.bz2 neo-layout-b75100b02793cfe94fe1a14a9e0e8fbd7e1a9eed.zip |
caps lock ausschalten sollte in asdf erst später sein
git-svn-id: https://svn.neo-layout.org@1458 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'linux/bin')
-rwxr-xr-x | linux/bin/asdf | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/linux/bin/asdf b/linux/bin/asdf index e169e62..b4842c8 100755 --- a/linux/bin/asdf +++ b/linux/bin/asdf @@ -5,9 +5,6 @@ # Copyright 2008 Erik Streb del Toro # Distributed under the terms of the GNU General Public License v3 -#prevent CapsLock while ›asdf‹ is running -xmodmap -e "clear Lock" 2> /dev/null - # colour definitions normal="\033[0m" red="\033[31m" @@ -128,9 +125,15 @@ fi if [ -z ${DISPLAY} ]; then setleds +num || numlock_manually an - setleds -caps set_keymap "${NEO_CONSOLE_KEYMAP}" + # schalte versehentlich angeschaltetes CapsLock aus + # keymap hat nur shiftlock => man kommt nicht mehr raus… + setleds -caps else + # versuche in letzter Sekunde versehentliches CapsLock anschalten zu verhindern + # xmodmap hat nur shiftlock => man kommt nicht mehr raus… + xmodmap -e "clear Lock" + numlockx off || numlock_manually aus for modifier in 51 94; do |