Talk:Keyboard configuration in Xorg
Making Shift+numkeys work like on Windows
I needed Shift+NumHome (numkey 7) to work like Shift+Home and select the text... but with NumLock off it would just type out '7' The solution was either turn on numlock temporarily then Shift+Num7 or make it work like in Windows where Shift key doesn't act like a temporary numlock toggler:
setxkbmap -option "numpad:microsoft"
Wanted to add the following under "Using X configuration files"
I tried using xorg.conf.d files for keyboard and it did not work. I found the linked solution / bug description. I wanted to share that with the community by adding a warning. Not it was removed. Why?
- 1. It would be better to link to an upstream report 2. localectl creates those same *.conf files in
/etc/vconsole.conffor TTY use), so the cause it not clear from the warning alone. -- Alad (talk) 12:26, 29 May 2015 (UTC)
- 2. I don't have an explanation either. But the bug is also described here for Arch. --Denoyse (talk) 12:44, 5 June 2015 (UTC)
Configuring compose keys
This section suggests to copy a default combination file to
.XCompose. Wouldn't it be cleaner to use an instruction like
include "%L" or
include "/path/to/specific/locale/compose"? --Lysxia (talk) 17:35, 3 February 2017 (UTC)
- I don't know if it would be cleaner. I assume Lysxia reffers to Keyboard configuration in Xorg#Key combinations. Perhaps he would like to edit his post, add the link, and remove my post. Regid (talk) 07:35, 14 March 2017 (UTC)
Make switched keyboard layout persists across applications
setxkbmap in my
.xinitrc. After I switched my keyboard layout and move the focus to another application. I found out that the layout is automatically switched to the first keyboard layout but now that I know alpine does this differently where the keyboard layout persists across applications. Is there anyway where I can make behave like alpine linux? Pickfire (talk) 06:59, 26 May 2017 (UTC)
- Looks like this has something to do with Fcitx, maybe mentioning it would be nice? Pickfire (talk) 14:57, 13 October 2017 (UTC)
Mention keyboard layout switch shortcut bug
There is annoying, very old x server bug. It makes unusable a lot of shortcuts if you switch keyboard via windows kb shortcuts (alt+shift or ctrl+shift). Currently there is no aur repo for this, there is a patch in a bug tracker which is applied by ubuntu for several years. Yanpas (talk) 22:52, 12 October 2017 (UTC)
- The fact that other distributions patch some bug is irrelevant. You should pester upstream to actually fix the bug. -- Lahwaacz (talk) 13:43, 14 October 2017 (UTC)
Persisting layout when USB keyboard connected
"This section needs expanding" suggests discussing here. Is there a consensus for how to set a layout that should persist for laptop keyboard and when external is connected. Using `setxkbmap` in my `.xinitrc` does not persist when usb keyboards are connected (though they are in TTY). Creating an X11 config file does do the job —This unsigned comment is by Theowl (talk) 11:18, 1 June 2018 (UTC). Please sign your posts with ~~~~!
- Not sure about consensus, but due to the way input handling has changed in X, just running `setxkbmap` once might not be sufficient and configuration has to be reapplied when devices change. Usually this is handled by the desktop environment. Here is a blog post written by X input developer Peter Hutterer about the issue. If you don't run a DE, there are a few solutions out there, though I haven't tested them myself: xplugd, xinputd Wlhlm (talk) 21:29, 26 August 2018 (UTC)
- I'd prefer to keep Keybinding here because Keyboard shortcuts is mostly about default keyboard shortcuts. I linked Keybinding there. --Larivact (talk) 10:27, 5 September 2018 (UTC)
- Then consider that Keyboard shortcuts is just currently mostly about default keyboard shortcuts. Keyboard shortcuts is (mostly) an index page and Keyboard configuration in Xorg#Keybinding is an index section, so moving all indexes together is easier for the reader. Note that this page links to Keyboard shortcuts anyway. -- Lahwaacz (talk) 14:21, 5 September 2018 (UTC)
- The section does not explain how to configure things, it links to other pages which explain that. I don't see it as tightly related to the rest of the page because it is not about changing the typing experience as the rest of the page. On a related note, I don't see why Keyboard_configuration_in_Xorg#Frequently_used_XKB_options should be moved away even though it is much more related to typing. -- Lahwaacz (talk) 17:58, 5 September 2018 (UTC)