From b75100b02793cfe94fe1a14a9e0e8fbd7e1a9eed Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 15 Jan 2009 21:37:27 +0000 Subject: caps lock ausschalten sollte in asdf erst später sein MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.neo-layout.org@1458 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- linux/bin/asdf | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'linux/bin') 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 -- cgit v1.2.3