]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
xinitrc: Force English keyboard layout.
authorSimon Ruderich <simon@ruderich.org>
Tue, 17 May 2011 11:12:30 +0000 (13:12 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 17 May 2011 11:12:30 +0000 (13:12 +0200)
xinitrc

diff --git a/xinitrc b/xinitrc
index ccb09c38fd9d897c193cbaa53e5689149adf4318..5353d0a8ca429c822c3f442f2e071cd36c8f7e65 100755 (executable)
--- a/xinitrc
+++ b/xinitrc
@@ -6,6 +6,11 @@
 # Use a black background for the root window.
 xsetroot -solid black
 
 # Use a black background for the root window.
 xsetroot -solid black
 
+# Force English keyboard layout.
+if [ -x /usr/bin/setxkbmap ]; then
+    setxkbmap us
+fi
+
 # Use my X11 key bindings.
 xmodmap ~/.xmodmaprc
 
 # Use my X11 key bindings.
 xmodmap ~/.xmodmaprc