x.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 02 Nov 2014 17:09:11 +0200
changeset 1638 93bdc6f8177e
parent 1637 b3452a2960b1
child 1706 387028a4bc33
permissions -rw-r--r--
New server will be accessible t...
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1330
diff changeset
     1
.. -*- coding: utf-8; -*-
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1330
diff changeset
     2
.. include:: HEADER.rst
978
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
====
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
 X.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
====
1032
4decc3e00bb6 Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1002
diff changeset
     7
.. contents::
978
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
Standard.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
=========
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
See
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
  http://www.tronche.com/gui/x/icccm/
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
1141
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    16
Widget toolkit.
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    17
===============
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    18
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    19
  http://en.wikipedia.org/wiki/Widget_toolkit
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    20
                Widget toolkit
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    21
  http://en.wikipedia.org/wiki/List_of_widget_toolkits
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    22
                List of widget toolkits
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    23
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    24
GTK+.
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    25
-----
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    26
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    27
  http://en.wikipedia.org/wiki/GTK%2B
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    28
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    29
QT.
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    30
---
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    31
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    32
  http://en.wikipedia.org/wiki/Qt_%28toolkit%29
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    33
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    34
WxWidgets.
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    35
----------
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    36
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    37
  http://en.wikipedia.org/wiki/WxWidgets
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    38
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    39
Tk.
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    40
---
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    41
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    42
  http://en.wikipedia.org/wiki/Tk_%28computing%29
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    43
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    44
FLTK.
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    45
-----
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    46
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    47
  http://en.wikipedia.org/wiki/FLTK
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    48
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    49
Xaw.
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    50
----
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    51
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    52
  http://en.wikipedia.org/wiki/Xaw
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    53
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    54
GNUstep.
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    55
--------
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    56
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    57
  http://en.wikipedia.org/wiki/GNUstep
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    58
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    59
XView.
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    60
------
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    61
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    62
  http://en.wikipedia.org/wiki/XView
7c5ca700ff02 Widget toolkit.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1052
diff changeset
    63
978
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    64
Getting info about X window and X-related applications data.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    65
============================================================
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    66
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    67
Look for system registered resources::
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    68
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    69
  $ listres
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    70
  $ listres -all
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    71
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    72
  $ appres XTerm
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    73
  $ appres -name htop   # for xterm with running bash inside
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    74
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    75
Look for X resources of running applications::
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    76
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    77
  $ xprop -root
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    78
  $ xprop -name bash    # for xterm with running bash inside
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    79
1256
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    80
Keyboard's keys under X window.
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    81
===============================
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    82
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    83
  scancodes
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    84
                hardware-dependent codes generated by keystrokes and received by
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    85
                the X server.
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    86
  keycodes
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    87
                Codes sent by the X server to the client indicating which key
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    88
                was pressed. Keycodes by themselves do not indicate what the
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    89
                keystroke means; the client must request that information from
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    90
                the X server.
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    91
  modifiers
1295
47adf5860e73 Fix RST syntsx.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1267
diff changeset
    92
                Flags, such as ``shift`` and ``control``, that the server sends
1256
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    93
                with each keycode to the client. The client's interpretation of
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    94
                the keycode may depend on the state of the modifiers. For
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    95
                example, the state of the shift modifier determines whether an
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    96
                alphabetic character should be lowercase or uppercase. Because
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    97
                the X server encodes the states of the eight modifiers (shift,
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    98
                lock, control, mod1, mod2, mod3, mod4, and mod5) in a single
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
    99
                byte of data, modifiers are often referred to as ``modifier
1295
47adf5860e73 Fix RST syntsx.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1267
diff changeset
   100
                bits``.
1256
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   101
  keysyms
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   102
                codes that specify the glyphs appearing on the keys. The X
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   103
                server also maintains a list of strings that describe the
1295
47adf5860e73 Fix RST syntsx.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1267
diff changeset
   104
                keysyms, such as ``a``, ``B``, and ``Control``.
1256
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   105
1255
7cad4e6d59cd Find the keycode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1141
diff changeset
   106
Find the keycode.
7cad4e6d59cd Find the keycode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1141
diff changeset
   107
=================
1256
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   108
1255
7cad4e6d59cd Find the keycode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1141
diff changeset
   109
::
7cad4e6d59cd Find the keycode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1141
diff changeset
   110
7cad4e6d59cd Find the keycode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1141
diff changeset
   111
  $ xev
7cad4e6d59cd Find the keycode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1141
diff changeset
   112
  $ cat /usr/include/X11/keysymdef.h
7cad4e6d59cd Find the keycode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1141
diff changeset
   113
1256
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   114
Don't run under X::
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   115
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   116
  $ showkey
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   117
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   118
To do same under X::
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   119
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   120
  $ xev | sed -n 's=.*keycode \([0-9]*\).*=\1=p'
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   121
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   122
List key modifier::
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   123
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   124
  $ xmodmap -pm
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   125
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   126
Add keycode to modifier::
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   127
1258
5e458103accb Fix mistyping.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1257
diff changeset
   128
  $ xmodmap -e "add shift = Shift_R"
1256
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   129
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   130
Remove keycode from modifier::
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   131
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   132
  $ xmodmap -e "remove shift = Shift_L"
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   133
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   134
Examining the current keymap table::
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   135
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   136
  $ xmodmap -pk
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   137
1257
a0939a5f4042 Changing the keymap table.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1256
diff changeset
   138
Changing the keymap table::
a0939a5f4042 Changing the keymap table.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1256
diff changeset
   139
a0939a5f4042 Changing the keymap table.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1256
diff changeset
   140
  $ xmodmap -e "keycode 34 = bracketleft braceleft"
a0939a5f4042 Changing the keymap table.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1256
diff changeset
   141
  $ xmodmap -e "keysym CapsLock = Control_L"
a0939a5f4042 Changing the keymap table.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1256
diff changeset
   142
1256
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   143
  https://wiki.ubuntu.com/LaptopTesting/Keycodes
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   144
                Ubuntu Keycodes howto.
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   145
  http://en.gentoo-wiki.com/wiki/Multimedia_Keys
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   146
                Gentoo Multimedia Keys howto.
7ce42ae5477d Keyboard's keys under X window.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1255
diff changeset
   147
1267
d2a8da11f9d7 List input devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1258
diff changeset
   148
List input devices.
d2a8da11f9d7 List input devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1258
diff changeset
   149
===================
d2a8da11f9d7 List input devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1258
diff changeset
   150
::
d2a8da11f9d7 List input devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1258
diff changeset
   151
d2a8da11f9d7 List input devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1258
diff changeset
   152
  $ xinput -list
d2a8da11f9d7 List input devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1258
diff changeset
   153
d2a8da11f9d7 List input devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1258
diff changeset
   154
You can use obtained ID in such command::
d2a8da11f9d7 List input devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1258
diff changeset
   155
d2a8da11f9d7 List input devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1258
diff changeset
   156
  $ setxkbmap -device $ID -layout dvorak
d2a8da11f9d7 List input devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1258
diff changeset
   157
978
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   158
Making screenshort.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   159
===================
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   160
::
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   161
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   162
  $ sudo apt-get install scrot
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   163
  $ scrot -d <sec> <file>
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   164
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   165
or::
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   166
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   167
  $ sudo apt-get install imagemagic
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   168
  $ import -quality 100 -pause <sec> -silent <file>
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   169
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   170
Input method.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   171
=============
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   172
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   173
Input method by setxkbmap.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   174
--------------------------
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   175
::
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   176
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   177
  $ setxkbmap ru
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   178
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   179
  $ setxkbmap -rules xorg -model pc104 -layout "us,ru" -option "grp:rwin_toggle,grp_led:scroll" -variant ",winkeys"
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   180
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   181
Input method from xorg.conf.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   182
----------------------------
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   183
::
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   184
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   185
  Section "InputDevice"
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   186
      Identifier     "Keyboard0"
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   187
      Driver         "kbd"
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   188
      Option         "XkbModel" "pc105"
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   189
      Option         "XkbLayout" "us,ru"
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   190
      Option         "XkbVariant" ",winkeys"
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   191
      Option         "XkbOptions" "grp:rwin_switch,grp_led:scroll"
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   192
  EndSection
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   193
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   194
.Xdefaults
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   195
==========
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   196
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   197
The syntax of an Xdefaults file is as follows::
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   198
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   199
  [client. | *][{restriction.} | *]resource: value
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   200
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   201
where:
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   202
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   203
  client
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   204
                The name of the application, some program allow change it by
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   205
                '-name' option. This element is optional (can be substituated
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   206
                with wildcard).
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   207
  restriction
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   208
                Class names or name of specific class instance. The classes
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   209
                names conventionally start with an upper-case letter.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   210
  resource
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   211
                The name of the resource whose value is to be changed.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   212
                Resources are typically lowercase with uppercase
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   213
                concatenation.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   214
  value
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   215
                The actual value of the resource.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   216
  delimiters
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   217
                A period (.) is used to signify each step down into the
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   218
                hierarchy. A colon (:) is used to separate the resource
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   219
                declaration from the actual value.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   220
1052
fbbc2fb0a2ac Fix: (WARNING/2) Inline emphasis start-string without end-string.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1032
diff changeset
   221
Comment start with '!' char and goes up to end of line or C-like ``/* */``.
978
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   222
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   223
Use xprop utility to find classes and resources used by application.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   224
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   225
To reread your .Xresources file, and throw away your old resources::
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   226
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   227
  $ xrdb ~/.Xdefaults
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   228
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   229
To reread your .Xresources file, and keep your old resources::
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   230
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   231
 $ xrdb -merge ~/.Xdefaults
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   232
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   233
Example::
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   234
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   235
  *foreground: yellow
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   236
  XClock*foreground: pink
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   237
  Xman*topBox*foreground: blue
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   238
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   239
String value type.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   240
------------------
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   241
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   242
This can be path specification like '/usr/bin/firefox'.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   243
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   244
Colors value type.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   245
------------------
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   246
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   247
For color names see '/usr/lib/X11/rgb.txt'. Also you can use hex
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   248
representation #ffffff.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   249
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   250
Font value type.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   251
----------------
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   252
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   253
You can use either a full name, a wildcarded specification, or a font alias::
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   254
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   255
  XTerm*Font: -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   256
  XTerm*Font: *courier-bold-r*140*
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   257
  XTerm*Font: 7x14
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   258
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   259
Geometry value type.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   260
--------------------
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   261
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   262
  XCalc*geometry: 120x120-0-0
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   263
  XClock*geometry: -50+100
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   264
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   265
Cursor names value type.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   266
------------------------
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   267
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   268
Cursor resources require the name of the file in /usr/include/X11/bitmaps that
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   269
contains the cursor you want to use.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   270
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   271
  ScoTerm*pointerShape: gumby
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   272
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   273
Pixmaps value type.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   274
-------------------
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   275
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   276
Pixmaps are patterns, like bitmaps, that are used to texture or color an area
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   277
on your display. Pixmap resources are specified like cursors or bitmaps.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   278
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   279
Numebers value type.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   280
--------------------
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   281
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   282
  XLogo*borderWidth: 10
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   283
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   284
Boolean value type.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   285
-------------------
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   286
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   287
Some resources require a boolean value, such as 'true' or 'false', 'yes' or
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   288
'no', or 'on' or 'off'.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   289
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   290
Wildcard matching.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   291
------------------
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   292
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   293
The asterisk can be used as a wildcard, making it easy to write a single rule
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   294
that can be applied to many different applications or elements.
76aa572406cd Getting info about X window and X-related applications data.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
   295
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   296
X utilities.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   297
============
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   298
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   299
  appres
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   300
                List "application resources".
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   301
  listres
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   302
                List resources in widgets.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   303
  bitmap, atobm, bmtoa
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   304
                Bitmap editor and converter utilities.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   305
  editres
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   306
                Dynamic resource editor for X Toolkit applications.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   307
  iceauth
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   308
                ICE authority file utility.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   309
  xauth
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   310
                X authority file utility.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   311
  ico
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   312
                Animate an icosahedron or other polyhedron.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   313
  luit
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   314
                Locale and ISO 2022 support for Unicode terminals.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   315
  setxkbmap
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   316
                Set the keyboard using the X Keyboard Extension.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   317
  x11perf
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   318
                X11 server performance test program.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   319
  x11perfcomp
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   320
                X11 server performance comparison program.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   321
  xcalc
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   322
                scientific calculator desktop accessory that can emulate a TI-30
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   323
                or an HP-10C.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   324
  xclock
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   325
                Displays the time in analog or digital form.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   326
  xconsole
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   327
                Monitor system console messages with X.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   328
  xdpyinfo
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   329
                displaying information about an X server.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   330
  xev
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   331
                "Event Tester" window.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   332
  xeyes
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   333
                Showing two googly eyes which follow the cursor movements on the
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   334
                screen as if they were watching it.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   335
  xfontsel
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   336
                Point and click selection of X11 font names.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   337
  xgamma
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   338
                Alter a monitor's gamma correction through the X server.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   339
  xhost
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   340
                Server access control program for X.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   341
  xinit
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   342
                X Window System initializer.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   343
  startx
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   344
                Initialize an X session.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   345
  xkill
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   346
                Kill a client by its X resource.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   347
  xload
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   348
                System load average display for X.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   349
  xlogo
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   350
                X Window System logo.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   351
  xlsclients
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   352
                listing information about the client applications running on a display.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   353
  xmag
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   354
                Magnify parts of the screen.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   355
  xman
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   356
                Manual page display program for the X Window System.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   357
  xmessage
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   358
                Display a message or query in a window.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   359
  xmodmap
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   360
                Utility for modifying keymaps and pointer button mappings in X.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   361
  xmore
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   362
                Plain text display program for the X Window System.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   363
  xprop
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   364
                Property displayer for X.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   365
  xrandr
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   366
                Primitive command line interface to RandR extension.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   367
  xrdb
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   368
                X server resource database utility.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   369
  xrefresh
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   370
                Refresh all or part of an X screen.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   371
  xset
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   372
                User preference utility for X.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   373
  xsetmode
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   374
                Set the mode for an X Input device.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   375
  xsetpointer
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   376
                Set an X Input device as the main pointer.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   377
  xsetroot
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   378
                Root window parameter setting utility for X.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   379
  xsm
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   380
                X Session Manager
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   381
  resize
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   382
                Set environment and terminal settings to current xterm window size.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   383
  xterm
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   384
                Standard terminal emulator for the X Window System.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   385
  xvinfo
1330
7a33af4e14ca Add a lot of definitions to satisfy RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1324
diff changeset
   386
                Print out X-Video extension adaptor information.
1324
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   387
  xwd, xwud
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   388
                Useful and easy way to take screenshots. Saves in the XWD X
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   389
                Window Dump image data format.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   390
  xwininfo
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   391
                Window information utility for X.
05861a2b18d8 Convert to RST syntax.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1295
diff changeset
   392
1353
fb34c67646c0 XText extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
   393
XText extension.
fb34c67646c0 XText extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
   394
================
fb34c67646c0 XText extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
   395
fb34c67646c0 XText extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
   396
``xdotool`` and ``xautomation`` utilities use ``XText`` for emulating user
fb34c67646c0 XText extension.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
   397
actions.
1542
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   398
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   399
GLX info.
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   400
=========
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   401
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   402
To determine whether 3D acceleration is working::
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   403
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   404
  $ apt-get install mesa-utils
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   405
  $ glxinfo | grep render
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   406
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   407
To see how many frames per second your video card is putting out::
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   408
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   409
  $ glxgears -info
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   410
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   411
See:
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   412
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   413
  https://wiki.debian.org/Mesa
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   414
                Mesa is an open source 3D computer graphics library that
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   415
                provides a generic OpenGL implementation for rendering
2d119c9c2692 GLX info.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1353
diff changeset
   416
                three-dimensional graphics on multiple platforms.
1637
b3452a2960b1 Running a secondary X server.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1542
diff changeset
   417
b3452a2960b1 Running a secondary X server.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1542
diff changeset
   418
Running a secondary X server.
b3452a2960b1 Running a secondary X server.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1542
diff changeset
   419
=============================
1638
93bdc6f8177e New server will be accessible t...
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1637
diff changeset
   420
1637
b3452a2960b1 Running a secondary X server.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1542
diff changeset
   421
::
b3452a2960b1 Running a secondary X server.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1542
diff changeset
   422
1638
93bdc6f8177e New server will be accessible t...
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1637
diff changeset
   423
  $ startx xterm -- :$N -depth 16
93bdc6f8177e New server will be accessible t...
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1637
diff changeset
   424
93bdc6f8177e New server will be accessible t...
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1637
diff changeset
   425
New server will be accessible at ``Alt+Ctrl+F$((N+6))``::
93bdc6f8177e New server will be accessible t...
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1637
diff changeset
   426
93bdc6f8177e New server will be accessible t...
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1637
diff changeset
   427
  :0  Alt+Ctrl+F7
93bdc6f8177e New server will be accessible t...
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1637
diff changeset
   428
  :1  Alt+Ctrl+F8
93bdc6f8177e New server will be accessible t...
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1637
diff changeset
   429
  ...
93bdc6f8177e New server will be accessible t...
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1637
diff changeset
   430
  :5  Alt+Ctrl+F12
1637
b3452a2960b1 Running a secondary X server.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1542
diff changeset
   431
b3452a2960b1 Running a secondary X server.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1542
diff changeset
   432
In order to fix::
b3452a2960b1 Running a secondary X server.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1542
diff changeset
   433
b3452a2960b1 Running a secondary X server.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1542
diff changeset
   434
  X: user not authorized to run the X server
b3452a2960b1 Running a secondary X server.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1542
diff changeset
   435
b3452a2960b1 Running a secondary X server.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1542
diff changeset
   436
run::
b3452a2960b1 Running a secondary X server.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1542
diff changeset
   437
b3452a2960b1 Running a secondary X server.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1542
diff changeset
   438
  $ sudo dpkg-reconfigure x11-common
b3452a2960b1 Running a secondary X server.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1542
diff changeset
   439