![]() You may also need to execute xhost +si:localuser:root There is a workaround: save them and restore them via pm-utils with a script in the /etc/pm/sleep.d directory, like my xkb-save-restore script, stored as /etc/pm/sleep.d/40xkb-save-restore for instance. Unfortunately, mainly for laptop users, XKB settings are lost after suspend/resume (this was also the case with xmodmap). Restoring the XKB Settings After Suspend/Resume You can check what you get with the xev utility look at the XLookupString line. Character set (encoding) configuration is another matter and depends on the locales. Note: This is here just keyboard configuration. (some parts may change depending on the keyboard, except the local's) and selects these settings when the user X session is started.Ī message from Denis Barbier in the debian-user-french list.Įxtending the X keyboard map with xkb by Martin F. ![]() This creates a ~/.xkb/keymap/custom file looking like: xkb_keymap Xkbcomp -w0 -I$HOME/.xkb -R$HOME/.xkb keymap/custom $DISPLAY Sed -e '/xkb_symbols/s/"]/+local&/' > $HOME/.xkb/keymap/custom To use these local settings, I have the following lines in my ~/.xsession script: if then Types (optional): this directory can contain a file with new key types, if need be. Examples can be found thanks to xkbcomp $DISPLAY xkb.dump (see the xkb_symbols section) or files from the /usr/share/X11/xkb/symbols directory (for instance, see files latin and pc). Symbols: this directory will contain a file with the remapped keys. It may be based on the output of setxkbmap -print. Keymap: this directory will contain a file with the keyboard settings. To dump the current XKB keyboard description to a file xkb.dump: xkbcomp $DISPLAY xkb.dump To output the current settings: setxkbmap -print ![]() ![]() xmodmaprc file (which didn't work correctly with the new kbd driver). Thus my XKB configuration completely replaced my old. I give here some information on XKB (X keyboard extension), in particular to modify the configuration as a simple user (without root access). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |