On Wed, 18 Nov 2026, David Wright wrote:

> ... It might be worthwhile reading through:
>   https://wiki.debian.org/Keyboard

Quoting from the WiKi: You can change your keyboard settings using:
 # dpkg-reconfigure keyboard-configuration
 # service keyboard-setup restart
but clearly this is not working in my case.

In the section "Multi-language keyboard configuration strategy": I need the 
"Old 
fashioned strategy" without IM, but the WiKi is short on explanations.  

I gave up on the WiKi, reinstalled Debian 13 with Xfce and started again 
following "Damko" in his « A simple, humble but comprehensive guide to XKB for 
linux » 
https://medium.com/@damko/a-simple-humble-but-comprehensive-guide-to-xkb-for-linux-6f1ad5e13450

1) I attached a US keyboard to the laptop and installed a plain US 
system.

2) I ensured that Xfce -> Settings -> Keyboard -> Layout showed "Use system 
defaults".

3) I ensured that Xfce -> Settings -> Session and Startup -> Application 
Autostart showed that "Keyboard layout" is selected to run setxkbmap.

4) As root I ran command 
   setxkbmap -layout us,fr -variant intl, -option "compose:lwin,compose:lwin"

5) I like to toggle between keyboards so as root I ran command 
   setxkbmap -layout us,fr -variant intl, -option 
"grp:rwin_toggle,grp:rwin_toggle"

   (Note that options are additive.)

6) To prevent automatic keyboard toggling, I went to Xfce -> Settings -> Panel 
-> Items and added "Keyboard layouts".  This places a flag in the panel.  I 
clicked on the flag -> Properties -> Keyboard layouts -> Behavior and set 
"Manage layout" to "Globally".

7) Command setxkbmap -print now shows 

  model:      pc105
  layout:     us,fr
  variant:    intl,
  options:    grp:rwin_toggle,grp:rwin_toggle,compose:lwin
  Trying to build keymap using the following components:
  keycodes:   evdev+aliases(qwerty)
  symbols:    pc+us(intl)+fr:2+inet(evdev)+compose(lwin)+group(rwin_toggle)
  xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)" };
        xkb_symbols   { include 
"pc+us(intl)+fr:2+inet(evdev)+compose(lwin)+group(rwin_toggle)" };
  };

My thanks to Damko for his advice. I'm sure my use of setxkbmap could be 
improved if I had a better idea of how -option is handled when there are two 
keyboards. The man page for setxkbmap doesn't explain this. The man page 
xkeyboard-config(7) is helpful if you need different options.

Roger

Reply via email to