зеркало из
https://github.com/iharh/notes.git
synced 2025-10-30 13:16:07 +02:00
212 строки
7.4 KiB
Plaintext
212 строки
7.4 KiB
Plaintext
https://www.x.org/wiki/XKB/
|
|
https://www.x.org/releases/current/doc/xorg-docs/input/XKB-Enhancing.html
|
|
!!! really good rules intro
|
|
http://who-t.blogspot.com/2008/09/rmlvo-keyboard-configuration.html
|
|
!!! short on rules
|
|
|
|
https://github.com/xkbcommon/libxkbcommon
|
|
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/
|
|
|
|
https://www.charvolant.org/doug/xkb/html/node5.html
|
|
https://xkbcommon.org/doc/current/md_doc_user_configuration.html
|
|
http://www.kulichki.com/moshkow/unixhelp/fonty.txt
|
|
https://wiki.archlinux.org/title/Category:Xorg_commands
|
|
https://wiki.archlinux.org/title/X_keyboard_extension
|
|
https://wiki.archlinux.org/title/Xorg
|
|
https://wiki.archlinux.org/title/Xorg/Keyboard_configuration
|
|
https://wiki.archlinux.org/title/Xorg_(%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)/Keyboard_configuration_(%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)#%D0%A7%D0%B5%D1%80%D0%B5%D0%B7_%D0%BA%D0%BE%D0%BD%D1%84%D0%B8%D0%B3%D1%83%D1%80%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%BD%D1%8B%D0%B5_%D1%84%D0%B0%D0%B9%D0%BB%D1%8B_X
|
|
https://help.ubuntu.com/community/Custom%20keyboard%20layout%20definitions
|
|
https://www.x.org/releases/current/doc/xorg-docs/input/XKB-Config.html
|
|
https://www.x.org/releases/current/doc/libX11/XKB/xkblib.html
|
|
man xkeyboard-config
|
|
|
|
https://dev.to/frost/add-a-custom-keyboard-layout-in-ubuntu-using-ansible-5235
|
|
https://delapouite.com/ramblings/xkb-walkthrough/
|
|
https://forums.gentoo.org/viewtopic-t-447805.html
|
|
http://aluarium.net/forum/thread-927.html
|
|
http://who-t.blogspot.com/2020/09/user-specific-xkb-configuration-putting.html
|
|
https://gitlab.freedesktop.org/whot/xkblayout
|
|
https://who-t.blogspot.com/2020/08/user-specific-xkb-configuration-part-3.html
|
|
https://who-t.blogspot.com/2020/07/user-specific-xkb-configuration-part-2.html
|
|
https://who-t.blogspot.com/2020/02/user-specific-xkb-configuration-part-1.html
|
|
https://medium.com/@damko/a-simple-humble-but-comprehensive-guide-to-xkb-for-linux-6f1ad5e13450
|
|
!!! cool review of all the cfg-files !!!
|
|
/usr/share/X11/xkb/ stuff reinstall
|
|
sudo apt install --reinstall xkb-data
|
|
https://rlog.rgtti.com/2014/05/01/how-to-modify-a-keyboard-layout-in-linux/
|
|
https://github.com/baskerville/sxhkd
|
|
https://habr.com/ru/articles/486872/
|
|
~/.config/xkb/config
|
|
|
|
https://gitlab.com/interception/linux/tools
|
|
https://xkbcommon.org/doc/current/md_doc_user_configuration.html
|
|
http://www.thamnos.de/computer-corner/keyboard-layout/
|
|
https://michal.kosmulski.org/computing/articles/custom-keyboard-layouts-xkb.html
|
|
http://lug-mgn.ru/ftp/Linux/X11/xkb-notes.pdf
|
|
|
|
https://ubuntu-mate.community/t/make-your-own-custom-keyboard-layout-for-linux/19733/14
|
|
https://unix.stackexchange.com/questions/292868/how-to-customise-keyboard-mappings-with-wayland
|
|
https://unix.stackexchange.com/questions/294286/how-can-i-autoload-xkb-customisations-in-gnome``
|
|
https://unix.stackexchange.com/questions/212573/how-can-i-make-backspace-act-as-escape-using-setxkbmap
|
|
https://stackoverflow.com/questions/72240945/can-not-use-keyboard-3rd-level-on-manjaro
|
|
setxkbmap -print -verbose 10
|
|
~/rules/evdev
|
|
/usr/share/X11/xkb/rules/
|
|
base - no ctrl_space_toggle
|
|
base.lst - no ctrl_space_toggle
|
|
base.xml - no ctrl_space_toggle
|
|
|
|
evdev - no ctrl_space_toggle
|
|
evdev.lst - no ctrl_space_toggle
|
|
evdev.xml - no ctrl_space_toggle
|
|
|
|
evdev.extra.xml - no ...
|
|
/usr/share/X11/xkb/symbols/group
|
|
!!!
|
|
grep -hroE 'grp:.*toggle ' /usr/share/X11/xkb/rules/ | sort -
|
|
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/blob/master/rules/base.xml
|
|
https://unix.stackexchange.com/questions/244883/xkb-how-toggle-keyboard-layout-with-win-capslock/246491#246491
|
|
|
|
setxkbmap -layout 'us,ru(winkeys)' -variant -option grp:ctrl_shift_toggle,terminate:ctrl_alt_bksp
|
|
|
|
https://www.x.org/releases/current/doc/xorg-docs/input/XKB-Config.html
|
|
https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/x11/xserver.nix
|
|
|
|
https://www.linux.org.ru/tag/setxkbmap?section=2
|
|
https://itectec.com/ubuntu/ubuntu-permanently-set-keyboard-layout-options-with-setxkbmap-in-gnome-unity/
|
|
https://unix.stackexchange.com/questions/12072/how-do-i-get-current-keyboard-layout
|
|
|
|
https://wiki.debian.org/Keyboard
|
|
/etc/default/keyboard
|
|
|
|
localectl --no-convert set-x11-keymap us,ru pc105 ctrl_shift_toggle
|
|
localectl status
|
|
System Locale: LANG=en_US.UTF-8
|
|
VC Keymap: en
|
|
X11 Layout: ru,us
|
|
X11 Model: pc105
|
|
X11 Options: terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll
|
|
|
|
setxkbmap
|
|
-layout "us,ru(winkeys)" -variant -option grp:ctrl_shift_toggle,terminate:ctrl_alt_bksp
|
|
win_space_toggle
|
|
-help
|
|
-print -verbose 10
|
|
-query
|
|
[en|ru|...]
|
|
Error loading new keyboard description
|
|
|
|
# this file should not be manually edited, because localectl will overwrite the changes on next start.
|
|
The usage is as follows:
|
|
/etc/X11/xorg.conf.d/00-keyboard.conf
|
|
Section "InputClass"
|
|
Identifier "Keyboard Options by default"
|
|
MatchIsKeyboard "on"
|
|
|
|
Option "XkbLayout" "us , ru"
|
|
Option "XkbOptions" "grp:menu_toggle"
|
|
EndSection
|
|
|
|
x11-utils
|
|
xev -event keyboard
|
|
|
|
2020
|
|
https://habr.com/ru/post/486872/
|
|
|
|
wiki
|
|
https://wiki.manjaro.org/index.php?title=Openbox:_Switch_languages_using_the_keyboard_and_xxkb
|
|
sudo vim /etc/locale.gen
|
|
en_US.UTF-8... done
|
|
ru_RU.UTF-8... done
|
|
sudo locale-gen
|
|
sudo vim /etc/vconsole.conf
|
|
KEYMAP=us
|
|
|
|
http://xtuxhuevos.blogspot.com/2012/10/manjaro-linux-en-espanol.html
|
|
packages:
|
|
firefox-i18n-ru
|
|
libreoffice-ru
|
|
|
|
https://wiki.archlinux.org/index.php/Locale
|
|
/etc/locale.conf
|
|
~/.config/locale.conf
|
|
LANG=ru_RU.UTF-8
|
|
LANGUAGE=ru_RU.UTF-8
|
|
LC_COLLATE=C
|
|
|
|
|
|
other:
|
|
~/.xprofile
|
|
export LANG="ja_JP.UTF-8"
|
|
|
|
https://wiki.archlinux.org/index.php/Keyboard_configuration_in_console
|
|
https://wiki.gentoo.org/wiki/Localization/HOWTO
|
|
|
|
localectl list-locales
|
|
localectl set-locale LANG=ru_RU.UTF-8
|
|
modifies global /etc/locale.conf
|
|
|
|
|
|
|
|
KB map:
|
|
http://www.x.org/releases/current/doc/xorg-docs/input/XKB-Config.html
|
|
https://wiki.archlinux.org/index.php/Keyboard_configuration_in_Xorg
|
|
|
|
convenient util - localectl:
|
|
localectl list-keymaps
|
|
localectl set-keymap ru
|
|
localectl set-keymap ru_win
|
|
localectl set-keymap ru-cp1281
|
|
modifies global /etc/vconsole.conf
|
|
|
|
localectl list-x11-keymap-models
|
|
localectl list-x11-keymap-layouts
|
|
localectl list-x11-keymap-variants <layout>
|
|
localectl list-x11-keymap-options
|
|
|
|
localectl set-x11-keymap ru
|
|
|
|
files
|
|
/usr/share/X11/xkb/
|
|
symbols/us
|
|
compiled
|
|
|
|
setxkbmap -query
|
|
|
|
rules: evdev
|
|
model: pc105
|
|
layout: us,ru
|
|
variant: ,legacy
|
|
options: grp:ctrl_shift_toggle,terminate:ctrl_alt_backspace
|
|
|
|
|
|
https://forum.manjaro.org/index.php?topic=6861.0
|
|
http://archlinux.org.ru/forum/topic/1356/
|
|
https://wiki.archlinux.org/index.php/Keyboard_configuration_in_Xorg
|
|
|
|
xmodmap:
|
|
https://wiki.archlinux.org/index.php/Xmodmap
|
|
|
|
Keyboard:
|
|
|
|
http://tldp.org/HOWTO/Keyboard-and-Console-HOWTO.html
|
|
https://wiki.manjaro.org/index.php?title=Keyboard_Layout
|
|
https://wiki.archlinux.org/index.php/Extra_Keyboard_Keys
|
|
http://wiki.linuxquestions.org/wiki/Configuring_keyboards
|
|
|
|
xev:
|
|
http://crunchbanglinux.org/wiki/xev-determine_custom_keybindings
|
|
http://openbox.org/wiki/Help:Bindings#Keys
|
|
|
|
xxkb:
|
|
http://www.x.org/wiki/XKB/
|
|
An Unreliable Guide to XKB Configuration
|
|
|
|
http://michal.kosmulski.org/computing/articles/custom-keyboard-layouts-xkb.html
|
|
http://madduck.net/docs/extending-xkb/
|
|
|
|
~/.xxkbrc
|
|
|
|
~/.config/openbox/autostart:
|
|
(sleep 1s && setxkbmap -layout "us,ru(winkeys)" -variant -option grp:ctrl_shift_toggle,terminate:ctrl_alt_bksp) &
|