I'm on Mint 20.2 XFCE.
I try to enable keyboard layout menu in lightdm. I use bépo and US layout and want to be able to switch in lightdm.
For now, I see "fr bepo" on the top right of the menu, but there is no menu when I click on it. I don't know why.
Here is my setup:
Code: Select all
$ cat /etc/default/keyboard
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="fr,us"
XKBVARIANT="bepo,altgr-intl"
XKBOPTIONS="grp:alt_caps_toggle,compose:rwin,terminate:ctrl_alt_bksp"
BACKSPACE="guess"
Code: Select all
$ cat /etc/lightdm/lightdm-gtk-greeter.conf.d/99_linuxmint.conf
[greeter]
background=/usr/share/backgrounds/linuxmint/default_background.jpg
theme-name=Mint-X
icon-theme-name=Mint-X
font-name=Ubuntu 11
xft-antialias=true
xft-dpi=96
xft-hintstyle=hintslight
xft-rgba=rgb
indicators=~host;~spacer;~clock;~spacer;~session;~a11y;~language;~power;~layout
keyboard=onboard
reader=orca
position = 50%,center 50%,center
default-user-image = #avatar-default
screensaver-timeout = 60
a11y-states=contrast;font;keyboard;reader
user-background = false
clock-format = %a %d %b, %H:%M
Code: Select all
$ cat /etc/lightdm/lightdm.conf.d/70-linuxmint.conf
[SeatDefaults]
user-session=xfce
Other (maybe) useful information:
I have nothing enables in /etc/locale.gen (but I suspect it has nothing to do with the lightdm keyboard layout menu).
Code: Select all
$ locale
LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=
Code: Select all
$ ll /etc/X11/
total 92
drwxr-xr-x 10 root root 4096 Jul 24 17:28 ./
drwxr-xr-x 163 root root 12288 Jul 24 17:10 ../
-rwxr-xr-x 1 root root 709 Feb 23 2016 Xreset*
drwxr-xr-x 2 root root 4096 Jul 10 2020 Xreset.d/
drwxr-xr-x 2 root root 4096 Jul 10 2020 Xresources/
-rwxr-xr-x 1 root root 3730 Nov 4 2017 Xsession*
drwxr-xr-x 2 root root 4096 Jul 11 12:30 Xsession.d/
-rw-r--r-- 1 root root 265 Feb 23 2016 Xsession.options
-rw-r--r-- 1 root root 13 Dec 5 2016 XvMCConfig
-rw-r--r-- 1 root root 630 Jul 17 2018 Xwrapper.config
drwxr-xr-x 2 root root 4096 Feb 24 19:52 app-defaults/
-rw-r--r-- 1 root root 18 Jul 17 2018 default-display-manager
drwxr-xr-x 6 root root 4096 Feb 5 2019 fonts/
-rw-r--r-- 1 root root 17394 Feb 23 2016 rgb.txt
drwxr-xr-x 3 root root 4096 Jul 24 17:28 xinit/
drwxr-xr-x 2 root root 4096 Feb 2 2018 xkb/
drwxr-xr-x 2 root root 4096 Jul 10 2020 xsm/
Thanks in advance to anyone that would help me.
Keep the good work!