I like/need the old <CTRL><ALT><BACKSPACE> hotkey to exit X11. The modern way to accomplish this is to do
setxkbmap -option "terminate:ctrl_alt_bksp"
but executing such throws away my pc105/us keyboard layout. I tried
setxkbmap -model "pc105" -layout "us" -option "terminate:ctrl_alt_bksp"
but no joy. Any thoughts or clues on how to use setxkbmap to set the X11 escape function, while preserving the existing default map and layout?
after either of the above I end up with a dumb qwerty keybaord where the extended keys don't function correctly, and the numeric keypad follows the old convention where numlock is off and they are processed as arrows instead of numbers.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Solved] setxkbmap breaks keyboard layout
- kent_dorfman766
- Posts: 535
- Joined: 2022-12-16 06:34
- Location: socialist states of america
- Has thanked: 57 times
- Been thanked: 70 times
[Solved] setxkbmap breaks keyboard layout
Last edited by kent_dorfman766 on 2023-06-11 19:25, edited 1 time in total.
-
- Posts: 444
- Joined: 2023-02-07 13:35
- Been thanked: 105 times
Re: [Software] setxkbmap breaks keyboard layout
Try
Then select "Yes" when it asks.
Code: Select all
# dpkg-reconfigure keyboard-configuration
Jeder nach seinen Fähigkeiten, jedem nach seinen Bedürfnissen.
- kent_dorfman766
- Posts: 535
- Joined: 2022-12-16 06:34
- Location: socialist states of america
- Has thanked: 57 times
- Been thanked: 70 times
Re: [Software] setxkbmap breaks keyboard layout
@Random_Troll
OK. Thanks. I see why you suggested that. I see that it modifies /etc/default/keyboard.
OK. Thanks. I see why you suggested that. I see that it modifies /etc/default/keyboard.
-
- Posts: 444
- Joined: 2023-02-07 13:35
- Been thanked: 105 times
Re: [Software] setxkbmap breaks keyboard layout
Please edit the thread title and prepend [SOLVED] to help others who might encounter this problem. Thanks.
Jeder nach seinen Fähigkeiten, jedem nach seinen Bedürfnissen.
- kent_dorfman766
- Posts: 535
- Joined: 2022-12-16 06:34
- Location: socialist states of america
- Has thanked: 57 times
- Been thanked: 70 times
Re: [Software] setxkbmap breaks keyboard layout
I'm aware of the policy...maybe gimme a day or two to test it first?Random_Troll wrote: ↑2023-06-11 10:42 Please edit the thread title and prepend [SOLVED] to help others who might encounter this problem. Thanks.
it's weird. setxkbmap is specific to X11, but the default keyboard setting has hooks into setupcon and loadkeys, which are essentially boot time configurations. a cold restart "seems" to indicate it is working but need to do some additional testing.
- kent_dorfman766
- Posts: 535
- Joined: 2022-12-16 06:34
- Location: socialist states of america
- Has thanked: 57 times
- Been thanked: 70 times
Re: [Software] setxkbmap breaks keyboard layout
I've tested this across a couple runs of startx and several reboots. It seems the console/keyboard is only fully registered at bootup and trying to change it on the fly is not straight forward.
But, the /etc/default/keyboard file seems to be the glue for it that holds.
But, the /etc/default/keyboard file seems to be the glue for it that holds.