From 9e4bd3c862285e5a6852997113332da07e523fde Mon Sep 17 00:00:00 2001 From: "Marcel Kapfer (mmk2410)" Date: Thu, 30 Mar 2017 15:17:57 +0200 Subject: [PATCH] Switched keyboard layout us variant altgr-intl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit with xmodmap customizations to allow input of „,“ and ” --- .stumpwmrc | 10 +++++----- Xmodmap | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.stumpwmrc b/.stumpwmrc index d5af96f..8e381e8 100644 --- a/.stumpwmrc +++ b/.stumpwmrc @@ -4,7 +4,7 @@ (in-package :stumpwm) -(defparameter *key-layout* "en_US" "Stores the current key layout") +(defparameter *key-layout* "us -variant altgr-intl" "Stores the current key layout") ;; creating groups (gnewbg "2") @@ -126,16 +126,16 @@ ;; switch key leyout to american english (defcommand layout-en () () - "Set the keyboard layout to en_US (american english)" - (switch-layout-to "en_US")) + "Set the keyboard layout to US International AltGr" + (switch-layout-to "us -variant altgr-intl")) ;; switch key layout automatically (defcommand switch-layout () () "Switch the layout" - (if (string= "en_US" *key-layout*) + (if (string= "us -variant altgr-intl" *key-layout*) (switch-layout-to "de") - (switch-layout-to "en_US"))) + (switch-layout-to "us -variant altgr-intl"))) (define-key *top-map* (kbd "s-SPC" ) "switch-layout") diff --git a/Xmodmap b/Xmodmap index 42190b7..37d8056 100644 --- a/Xmodmap +++ b/Xmodmap @@ -3,3 +3,6 @@ clear Lock add Control = Control_L keycode 118 = Caps_Lock add Lock = Caps_Lock +keycode 55 = v V v V doublelowquotemark singlelowquotemark doublelowquotemark +keycode 56 = b B b B leftdoublequotemark leftsinglequotemark leftdoublequotemark +keycode 57 = n N n N rightdoublequotemark rightsinglequotemark rightdoublequotemark