kisscommunity

kisscommunity.bvnf.space site sources
git clone git://bvnf.space/home/kiss/kisscommunity.git
Log | Files | Refs | Submodules | README

index.txt (2584B)


      1
      2
      3
      4
      5
      6
      7
      8
      9
     10
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
SETTING THE KEYBOARD LAYOUT IN X
________________________________________________________________________________


Using setxkbmap
________________________________________________________________________________


First, install setxkbmap:

+------------------------------------------------------------------------------+
|                                                                              |
|   $ kiss b setxkbmap && kiss i setxkbmap                                     |
|                                                                              |
+------------------------------------------------------------------------------+

Available layouts can be found in /usr/share/X11/xkb/symbols/ and set from the
command line:

+------------------------------------------------------------------------------+
|                                                                              |
|  $ setxkbmap latam                                                           |
|                                                                              |
+------------------------------------------------------------------------------+

Put the above command in ~/.xinitrc to load it whenever an X session is started.


Exiting xorg configuration files
________________________________________________________________________________

Create 00-keyboard.conf in /etc/X11/xorg.conf.d/ and edit the Xkb* options
below to suit your needs. [0]

+------------------------------------------------------------------------------+
|                                                                              |
|   Section "InputClass"                                                       |
|       Identifier          "system-keyboard"                                  |
|       MatchIsKeyboard     "on"                                               |
|       Option "XkbLayout"  "de"                                               |
|       Option "XkbModel"   "pc105"                                            |
|       Option "XkbVariant" ",qwertz"                                          |
|       Option "XkbOptions" "grp:alt_shift_toggle"                             |
|   EndSection                                                                 |
|                                                                              |
+------------------------------------------------------------------------------+


References
________________________________________________________________________________

[0] https://www.x.org/releases/X11R7.5/doc/input/XKB-Config.html