✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server.blackpussy.asia ​🇻​♯➤ 5.14.0-611.20.1.el9_7.x86_64 #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 163.245.207.76 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗞 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ mail,mb_send_mail
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /usr/share/doc/kbd//kbd.FAQ-13.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>The Linux keyboard and console HOWTO: X</TITLE>
 <LINK HREF="kbd.FAQ-14.html" REL=next>
 <LINK HREF="kbd.FAQ-12.html" REL=previous>
 <LINK HREF="kbd.FAQ.html#toc13" REL=contents>
</HEAD>
<BODY>
<A HREF="kbd.FAQ-14.html">Next</A>
<A HREF="kbd.FAQ-12.html">Previous</A>
<A HREF="kbd.FAQ.html#toc13">Contents</A>
<HR>
<H2><A NAME="s13">13. X</A></H2>

<P>
<P>This FAQ/HOWTO is about the Linux keyboard and console, not about X,
which substitutes its own handling. However, it seems useful to
document some of the Linux keyboard and console related properties
of X.
<P>First of all, when X is started (say using <CODE>startx</CODE> or <CODE>xinit</CODE>)
it opens the first unused console, unless the desired console has been
indicated explicitly, as in <CODE>xinit -- vt12</CODE>.
Note that this will fail when there is no device file <CODE>/dev/tty12</CODE>,
but that it will not fail when the indicated console was in use already.
When X finishes, it will return to the original console.
While it is running one can use Ctrl-Alt-Fn to switch to VTn.
<P>The XFree86 keymap mechanism is much poorer than the Linux mechanism.
For each keycode there are at most 4 symbols defined, namely for the
4 keymaps plain, shift, mod, mod+shift. What is the modifier mod?
It is the one designated by the symbol <CODE>Mode_switch</CODE>.
For example, the command <CODE>xmodmap keys.dk</CODE>, where the file
<CODE>keys.dk</CODE> contains
<BLOCKQUOTE><CODE>
<PRE>
keycode 64 = Mode_switch
keycode 113 = Mode_switch
keycode 38 = a A aring Aring
keycode 26 = e E ae AE
keycode 32 = o O oslash Ooblique
</PRE>
</CODE></BLOCKQUOTE>

will make both Alt keys into mod keys, so that Alt+a gives � (a-ring), etc.
(Note the illogical naming of oslash and Ooblique.)
Such an <CODE>xmodmap</CODE> command can be placed in the <CODE>.xinitrc</CODE>
shell script that is executed by default when X is started.
<P>
<H2><A NAME="ss13.1">13.1 What precisely does XFree86-2.1 do when it initializes its keymap?</A>
</H2>

<P>
<!--
keymap!initialization by XFree86
-->

<!--
XFree86!keymap initialization
-->
<P>Since version 2.1, XFree86 will initialize its keymap from the Linux keymap,
as far as possible. However, Linux had 16 entries per key (one for each
combination of the Shift, AltGr, Ctrl, Alt modifiers) and presently has
256 entries per key, while X has 4 entries per key (one for each combination
of Shift, Mod), so some information is necessarily lost.
<P>First <CODE>X</CODE> reads the <CODE>Xconfig</CODE> file, where definitions of the LeftAlt, RightAlt,
RightCtl, ScrollLock keys as Meta, ModeShift, Compose, ModeLock or ScrollLock
might be found - see X386keybd(1), later XFree86kbd(1).
<P>For Mod the LeftAlt key is taken, unless RightCtl was defined as ModeShift or
ModeLock, in which case RightCtl is taken, or RightAlt was so defined, in which
case RightAlt is taken.
This determines how the 4 XFree86 meanings of a key are selected from the 16
Linux meanings.
Note that Linux today does not distinguish by default between the two Ctrl keys
or between the two Shift keys. <CODE>X</CODE> does distinguish.
<P>Now the kernel keymap is read and the usually obvious corresponding X
bindings are made. The bindings for the "action keys" Show_Memory, Show_State,
Show_Registers, Last_Console, Console_n, Scroll_Backward, Scroll_Forward,
Caps_On and Boot are ignored, as are the dead diacriticals, and the locks
(except for ShiftLock), and the "ASCII-x" keys.
<P>Next, the definitions in the <CODE>Xconfig</CODE> file are used. (Thus, a definition
of Compose in <CODE>Xconfig</CODE> will override its value as found in the Linux
keymap.)
<P>What happens to the strings associated with the function keys? Nothing,
X does not have such a concept. (But it is possible to define strings
for function keys in <CODE>xterm</CODE> - note however that the window manager gets the
keys first.)
<P>I don't know how to convince <CODE>xterm</CODE> that it should use the X keymap
when Alt is pressed; it seems just to look at its resource <CODE>eightBitInput</CODE>,
and depending on whether that is true or false either set the high order bit
of the character, or generate an additional Escape character
(just like setmetamode(1) does for the console).
<P>
<HR>
<A HREF="kbd.FAQ-14.html">Next</A>
<A HREF="kbd.FAQ-12.html">Previous</A>
<A HREF="kbd.FAQ.html#toc13">Contents</A>
</BODY>
</HTML>

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]

Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
22 Aug 2026 4.57 AM
root / root
0755
ANSI-dvorak.gif
3.719 KB
31 Oct 2016 3.56 PM
root / root
0644
AUTHORS
0.018 KB
6 Jun 2018 3.37 PM
root / root
0644
ChangeLog
0.028 KB
20 Aug 2026 6.46 PM
root / root
0644
README
1.276 KB
30 Aug 2017 9.33 PM
root / root
0644
dvorak-l.xmodmap
2.278 KB
31 Oct 2016 3.56 PM
root / root
0644
dvorak-r.xmodmap
2.283 KB
31 Oct 2016 3.56 PM
root / root
0644
dvorak.diffs
1.374 KB
31 Oct 2016 3.56 PM
root / root
0644
dvorak.txt
1.137 KB
31 Oct 2016 3.56 PM
root / root
0644
dvorak.xmodmap
2.106 KB
31 Oct 2016 3.56 PM
root / root
0644
font-formats-1.html
5.354 KB
31 Oct 2016 3.56 PM
root / root
0644
font-formats-2.html
1.444 KB
31 Oct 2016 3.56 PM
root / root
0644
font-formats-3.html
6.843 KB
31 Oct 2016 3.56 PM
root / root
0644
font-formats-4.html
2.146 KB
31 Oct 2016 3.56 PM
root / root
0644
font-formats-5.html
0.505 KB
31 Oct 2016 3.56 PM
root / root
0644
font-formats.html
1.286 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-1.html
4.086 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-10.html
2.582 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-11.html
2.195 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-12.html
8.019 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-13.html
4.388 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-14.html
3.393 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-15.html
6.756 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-16.html
2.948 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-17.html
1.675 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-18.html
2.463 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-19.html
1.317 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-2.html
2.925 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-20.html
1.684 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-21.html
1.671 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-22.html
2.376 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-23.html
0.942 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-3.html
2.057 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-4.html
7.677 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-5.html
16.866 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-6.html
2.681 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-7.html
5.576 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-8.html
9.191 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ-9.html
2.545 KB
31 Oct 2016 3.56 PM
root / root
0644
kbd.FAQ.html
5.105 KB
31 Oct 2016 3.56 PM
root / root
0644
utfdemo
4.15 KB
31 Oct 2016 3.56 PM
root / root
0644
utflist
25.096 KB
31 Oct 2016 3.56 PM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF