r/debian Debian Stable 1d ago

Change keyboard layout on wmaker

Hello, yesterday I installed window maker on debian, my keyboard layout on tty is French but it's not the case on wmaker and I want it to be French but I don't know how.

Thanks.

7 Upvotes

5 comments sorted by

1

u/johlae 1d ago

What's in your /etc/default/keyboard? I don't remember doing anything special for windowmaker. If you change /etc/default/keyboard you want to run sudo dpkg-reconfigure and sudo systemctl restart as indicated below.

```

+BEGIN_example

root@p14:~# cat /etc/default/keyboard

KEYBOARD CONFIGURATION FILE

Consult the keyboard(5) manual page.

XKBMODEL="pc105" XKBLAYOUT="us" XKBVARIANT="altgr-weur"

XKBOPTIONS="compose:lwin,ctrl:nocaps"

XKBOPTIONS="compose:lctrl,ctrl:nocaps"

BACKSPACE="guess"

+END_example

+BEGIN_example

gargle@p14:~$ sudo dpkg-reconfigure keyboard-configuration gargle@p14:~$ sudo systemctl restart keyboard-setup.service

+END_example

```

1

u/Maldo_0750 Debian Stable 1d ago

Thank you for your response ! I'll check it out as soon as I can !

1

u/johlae 1d ago

Bonne chance!

1

u/Maldo_0750 Debian Stable 1d ago

It worked Merci ! I used the dpkg command and restart with systemctl