![]() It is a lot better than its name suggests. rules These files, given parameters such as the keyboard type, and a language, activate the appropriate specifications in the other directories.Ī fuller description of the files in these directories can be found at An Unreliable Guide to XKB Configuration by Doug Palmer. compat The files here specify "actions" (such as switching to a virtual terminal), giving them names, which can be assigned to keys. symbols These files specify the actual key assignments. Used in a key declaration, a type specifies which combinations of shift keys can be used with the key. geometry This is the physical shape of the keyboard, used by some software for drawing diagrams of it - it is also unlikely that anyone wants to change this. Keycodes These files associate key codes with symbolic names - it is unlikely that anyone wants to change this. The pertinent configuration files can be found in /usr/share/X11/xkb in these subdirectories: Configuring a keyboard under X is more complicated than doing the same for a virtual console. The relevant Gentoo package is x11-misc/xkeyboard-config. Since such changes are actually enhancements to the source files of a package, it is recommended to use the User patching mechanism so that these amendments are preserved when the package is next updated. This is necessary when more far-reaching changes have to be made to the keyboard layout, such as adding key assignments, or adding actions to function keys. The /usr/share/X11/locale/compose.dir file lists all possible composition sources. Press Scroll Lock then type 'di' to get diameter sign '⌀'.Press Scroll Lock then type '_2' to get subscript 2 ('₂').Press Scroll Lock then type '^2' to get superscript 2 ('²').Press Scroll Lock then type ':)' to get smiling face '☺'.Press Scroll Lock then type 'oc' to get copyright sign '©'.Press Scroll Lock then type 'oo' to get degree sign '°'.The compose:sclk option above configures Scroll Lock as compose key. Option "XkbOptions" "grp:shifts_toggle,grp_led:scroll,compose:sclk". For example, set extended_keymaps="euro2" to get Euro and cent with Alt-Gr on the positions where many keyboards have E and C. Optionally, set the value for the extended_keymaps variable from the appropriate include directory, like /usr/share/keymaps/i386/include. The keymap values are defined in /usr/share/keymaps, and most users will use a value from /usr/share/keymaps/i386/qwerty/. The default console keymap is set in /etc/conf.d/keymaps by assigning the appropriate keymap as the value for keymap. 2.4.3.3 Amending the entries in symbols for keys F1.2.4.3.1 Creating the new type CTRL+ALT+SHIFT.2.3.2.1 Additional configuration possibilities.2.3.2 Using system-wide configured layouts and shortcut. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |