aboutsummaryrefslogtreecommitdiff
path: root/x/keyboard
diff options
context:
space:
mode:
Diffstat (limited to 'x/keyboard')
-rw-r--r--x/keyboard10
1 files changed, 10 insertions, 0 deletions
diff --git a/x/keyboard b/x/keyboard
new file mode 100644
index 00000000..385f3530
--- /dev/null
+++ b/x/keyboard
@@ -0,0 +1,10 @@
+# Import the system keyboard settings...
+. /etc/default/keyboard
+
+# ...but then make Caps Lock act as Control, just for us. I feel like
+# caps:ctrl_modifier is a better option name to describe the intent here, and
+# it works fine in X, but not on the console.
+#
+XKBOPTIONS=ctrl:nocaps
+
+# We set X-specific options in ~/.xsession.