xkb.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 10 Feb 2018 01:49:07 +0200
changeset 2230 9e6ad6607a9e
parent 2039 98dc1bd1060b
permissions -rw-r--r--
Fixed formatting.

.. -*- coding: utf-8; -*-

======
 xkb.
======
.. contents::
   :local:

List xkb settings.
==================
::

  $ setxkbmap -query
  rules:      evdev
  model:      pc105
  layout:     us,ru
  variant:    ,
  options:    grp:rwin_toggle,grp_led:scroll

Set en/ru layout.
=================

Empty ``-option`` reset xkb settings::

  $ setxkbmap -layout us,ru -option '' -option grp:rwin_toggle,grp_led:scroll

Visual editor for xmodmap
=========================
::

  $ sudo apt-get install xkeymap
  $ xkeymap