User Tools

Site Tools


slackware:keymaps

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
slackware:keymaps [2010/12/19 17:56] – [Caps lock and control] slackslackware:keymaps [2019/11/07 17:58] (current) – external edit 127.0.0.1
Line 3: Line 3:
   * Swap (left) control and caps lock   * Swap (left) control and caps lock
   * Swap " and @   * Swap " and @
 +  * Add a custom keymap based on the UK map with easy access to Spanish characters
  
 ====== Rationale ====== ====== Rationale ======
Line 9: Line 10:
  
 If you are used to the standard keyboard layout, the most likely reason for wanting to move the control key is to avoid RSI in your left wrist.  If you use ctrl-combinations often, particularly with letters towards the left of the keyboard, you will find yourself bending your wrist sharply for extended periods, which often causes pain in the left hand, wrist and lower arm.  Various old school systems used to place the left control key where caps lock now is on most systems, which is much more comfortable and convenient, so most OSes still have a facility to switch the left control and caps lock keys over for those used to this layout.  A secondary benefit is that this moves the caps lock key out of the way, so it isn't accidentally struck when aiming for "a" (a problem that some keyboards try to address by creating a gap between the two keys).  KDE offers dozens of different options for moving the control key around, if the control/caps lock switch doesn't appeal. If you are used to the standard keyboard layout, the most likely reason for wanting to move the control key is to avoid RSI in your left wrist.  If you use ctrl-combinations often, particularly with letters towards the left of the keyboard, you will find yourself bending your wrist sharply for extended periods, which often causes pain in the left hand, wrist and lower arm.  Various old school systems used to place the left control key where caps lock now is on most systems, which is much more comfortable and convenient, so most OSes still have a facility to switch the left control and caps lock keys over for those used to this layout.  A secondary benefit is that this moves the caps lock key out of the way, so it isn't accidentally struck when aiming for "a" (a problem that some keyboards try to address by creating a gap between the two keys).  KDE offers dozens of different options for moving the control key around, if the control/caps lock switch doesn't appeal.
 +
 ===== " and @ ===== ===== " and @ =====
  
Line 14: Line 16:
  
 One solution is to use an alternative British keymap that reverses " and @ on British keyboards and a standard US layout on American ones.  Some symbols will be in different places, but the location of these keys varies between physical keyboards anyhow, and they will at least be labelled correctly.  A side-benefit is that most people prefer the US location of " on the home row, as it is a much more important character than @. One solution is to use an alternative British keymap that reverses " and @ on British keyboards and a standard US layout on American ones.  Some symbols will be in different places, but the location of these keys varies between physical keyboards anyhow, and they will at least be labelled correctly.  A side-benefit is that most people prefer the US location of " on the home row, as it is a much more important character than @.
 +
 +===== Spanish =====
 +
 +If you use a British keyboard 95% of the time but occasionally need to type in Spanish, you probably want a keymap very close to the UK standard, which allows easy access to Spanish-relevant deadkeys, in locations that are obvious even with a physically British keyboard.
  
 ====== X (may be KDE only) ====== ====== X (may be KDE only) ======
  
 +Warning: these seem to hose the meta and Windows keys on Slack 14.0... update to follow, hopefully.
 ===== Switching " and @ ===== ===== Switching " and @ =====
  
 Keyboard maps in X are configured in /etc/X11/xkb.  Each locale has a single file in /etc/X11/xkb/symbols which contains details of all variants for that locale (often an international version with deadkeys and a dvorak variant).  They're defined relative to some other layout (ie "start with the standard US keyboard then make the following changes..."). Keyboard maps in X are configured in /etc/X11/xkb.  Each locale has a single file in /etc/X11/xkb/symbols which contains details of all variants for that locale (often an international version with deadkeys and a dvorak variant).  They're defined relative to some other layout (ie "start with the standard US keyboard then make the following changes...").
  
-Here is {{:slackware:gb.txt|a version of the gb layout}} that includes a "hybrid" variant that swaps " and @ back to their US positions (to overwrite /etc/X11/xkb/rules/gb -- the extension needs to be deleted first).  Then various config files need to be updated in order to be able to select this variant through the standard KDE system settings.  These need to be overwritten in /etc/X11/xkb/rules:+Here is {{:slackware:gb.txt|a version of the gb layout}} that includes a "hybrid" variant that swaps " and @ back to their US positions (to overwrite /etc/X11/xkb/symbols/gb -- the extension needs to be deleted from this downloaded file first). 
 + 
 +  * {{:slackware:gb.txt}} 
 +  * {{:slackware:latam.txt}} 
 + 
 +Then various config files need to be updated in order to be able to select this variant through the standard KDE system settings.  These need to be overwritten in /etc/X11/xkb/rules: 
 + 
 +(I think the *.lst files are obsolete -- and now may not be up to date.)
  
-  * {{:slackware:base.lst}}+  * ({{:slackware:base.lst}})
   * {{:slackware:base.xml}}   * {{:slackware:base.xml}}
-  * {{:slackware:evdev.lst}}+  * ({{:slackware:evdev.lst}})
   * {{:slackware:evdev.xml}}   * {{:slackware:evdev.xml}}
  
Line 48: Line 62:
 ===== Sundry changes ===== ===== Sundry changes =====
  
-  * Add Latin American keymap 
   * Key(s) to change layout -> Scroll lock   * Key(s) to change layout -> Scroll lock
   * Compose key position -> Left win   * Compose key position -> Left win
slackware/keymaps.1292781406.txt.gz · Last modified: 2019/11/07 17:58 (external edit)