/usr/share/doc/bilibop-common/misc/keymap.txt is in bilibop-common 0.4.20.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 53 54 55 56 57 58 59 60 | The goal of this document is to give some tips and tricks about the KEYMAP
configuration for systems installed on external media.
1. /boot/grub/layouts/*.gkb
---------------------------
It may be convenient, especially with an interactive bootloader like GRUB,
to be able to use keyboard settings corresponding to the keyboard of the
machine, or relative to the natural language of the user. first, you have
to know that it is possible, and not too complicated. Then, refer to the
document named 'grub2.txt' to know how to do.
2. /etc/default/keyboard
------------------------
This file is used to set the keyboard for both console and X. It is composed
of XKB* variables assignments and some others. This file is created and
maintained by the 'keyboard-configuration' package. In most cases, it can
be modified with 'dpkg-reconfigure keyboard-configuration', but debconf can
not do all. So, there are cases where /etc/default/keyboard must be modified
by hand.
Here is an example:
_________________________________
XKBMODEL="pc105"
XKBLAYOUT="fr-latin9,en_US"
XKBOPTIONS="grp:alt_shift_toggle"
_________________________________
The result is the same than if you run (under X):
setxkbmap -layout fr-latin9,en_US -model pc105 -option grp:alt_shift_toggle
except that with keyboard-configuration, the keymap is shared between X and
the console.
In the previous example, the 'fr-latin9' layout is the default, and 'en_US'
is a secondary layout. Type <Alt+Shift> allows to toggle between them. This
toggle action only applies on the current/active console (or X if you do it
under X).
Note that:
_________________________________
XKBMODEL="pc105"
XKBLAYOUT="fr,us"
XKBVARIANT="latin9,intl"
XKBOPTIONS="grp:alt_shift_toggle"
_________________________________
does the same.
This kind of settings may be very convenient for a system intended to be
used on different computers, with different keyboards. It can also be useful
for people who need to translate documents between languages using different
alphabets: russian, greek, arabian, hebrew, japanese, etc. See setxkbmap(1)
and play with it will help you to win time if you think you need a complex
keyboard configuration.
|