You are not logged in.

#1 2021-02-03 18:50:33

freebench
Member
Registered: 2020-06-14
Posts: 33

[SOLVED] Can't change keyboard layout (XFCE)

Hi

Can't change layout after a fresh install. The only one is the US one.
Probably, some step was missed during the arch installation or it is caused by setting up XDM over LXDM. not sure. (it was working fine previously)

$locale-gen
generates expected locales - the ones uncommentated in /etc/locale.gen

Adding any other (Keyboard>Layout>Add) doesn't fix it.
By hitting the systray icon or using a keyboard shortcut - doesn't  change.


Keyboard Layouts Plugin(0.8.2)

0.5.2-1 (xfce4-goodies) [installed]
extra/ristretto 0.10.0-3 (xfce4-goodies) [installed]
extra/thunar 4.16.2-1 (xfce4) [installed]
extra/thunar-archive-plugin 0.4.0-3 (xfce4-goodies) [installed]
extra/thunar-media-tags-plugin 0.3.0-2 (xfce4-goodies) [installed]
extra/thunar-volman 4.16.0-1 (xfce4) [installed]
extra/tumbler 4.16.0-1 (xfce4) [installed]
extra/xfburn 0.6.2-1 (xfce4-goodies) [installed]
extra/xfce4-appfinder 4.16.1-1 (xfce4) [installed]
extra/xfce4-artwork 0.1.1a_git20110420-6 (xfce4-goodies) [installed]
extra/xfce4-battery-plugin 1.1.3-2 (xfce4-goodies) [installed]
extra/xfce4-clipman-plugin 1.6.1-1 (xfce4-goodies) [installed]
extra/xfce4-cpufreq-plugin 1.2.3-1 (xfce4-goodies) [installed]
extra/xfce4-cpugraph-plugin 1.2.1-1 (xfce4-goodies) [installed]
extra/xfce4-datetime-plugin 0.8.1-1 (xfce4-goodies) [installed]
extra/xfce4-dict 0.8.4-1 (xfce4-goodies) [installed]
extra/xfce4-diskperf-plugin 2.6.3-1 (xfce4-goodies) [installed]
extra/xfce4-eyes-plugin 4.5.1-1 (xfce4-goodies) [installed]
extra/xfce4-fsguard-plugin 1.1.2-1 (xfce4-goodies) [installed]
extra/xfce4-genmon-plugin 4.1.1-1 (xfce4-goodies) [installed]
extra/xfce4-mailwatch-plugin 1.3.0-1 (xfce4-goodies) [installed]
extra/xfce4-mount-plugin 1.1.5-1 (xfce4-goodies) [installed]
extra/xfce4-mpc-plugin 0.5.2-2 (xfce4-goodies) [installed]
extra/xfce4-netload-plugin 1.3.2-2 (xfce4-goodies) [installed]
extra/xfce4-notes-plugin 1.9.0-1 (xfce4-goodies) [installed]
extra/xfce4-notifyd 0.6.2-2 (xfce4-goodies) [installed]
extra/xfce4-panel 4.16.1-1 (xfce4) [installed]
extra/xfce4-power-manager 4.16.0-1 (xfce4) [installed]
extra/xfce4-pulseaudio-plugin 0.4.3-1 (xfce4-goodies) [installed]
extra/xfce4-screensaver 4.16.0-1 (xfce4-goodies) [installed]
extra/xfce4-screenshooter 1.9.8-1 (xfce4-goodies) [installed]
extra/xfce4-sensors-plugin 1.3.95-1 (xfce4-goodies) [installed]
extra/xfce4-session 4.16.0-1 (xfce4) [installed]
extra/xfce4-settings 4.16.0-1 (xfce4) [installed]
extra/xfce4-smartbookmark-plugin 0.5.2-1 (xfce4-goodies) [installed]
extra/xfce4-systemload-plugin 1.2.4-1 (xfce4-goodies) [installed]
extra/xfce4-taskmanager 1.4.0-2 (xfce4-goodies) [installed]
extra/xfce4-terminal 0.8.10-1 (xfce4) [installed]
extra/xfce4-time-out-plugin 1.1.1-1 (xfce4-goodies) [installed]
extra/xfce4-timer-plugin 1.7.1-1 (xfce4-goodies) [installed]
extra/xfce4-verve-plugin 2.0.1-1 (xfce4-goodies) [installed]
extra/xfce4-wavelan-plugin 0.6.2-1 (xfce4-goodies) [installed]
extra/xfce4-weather-plugin 0.10.2-1 (xfce4-goodies) [installed]
extra/xfce4-xkb-plugin 0.8.2-1 (xfce4-goodies) [installed]
extra/xfconf 4.16.0-1 (xfce4) [installed]
extra/xfdesktop 4.16.0-1 (xfce4) [installed]
extra/xfwm4 4.16.1-1 (xfce4) [installed]
extra/xfwm4-themes 4.10.0-4 (xfce4) [installed]
community/parole 4.16.0-1 (xfce4-goodies) [installed]
community/xfce4-whiskermenu-plugin 2.5.3-1 (xfce4-goodies) [installed]

issuing $setxkbmap XX does change the kb layout. so a simple bach script to tweak between the US and the other one works under a keyboard shortcut as a temp workaround
(XX - layout lang code)

but don't think it's a proper solution

all other solution found by searching the web didn't solve

Last edited by freebench (2021-02-03 23:57:16)

Offline

#2 2021-02-03 20:48:57

seth
Member
Registered: 2012-09-03
Posts: 51,064

Re: [SOLVED] Can't change keyboard layout (XFCE)

If yo're looking for the "regular" way to switch between layouts (eg. us,de) w/o running setxkbmap (which has nasty side effects) see https://wiki.archlinux.org/index.php/Xo … ard_layout
If you're asking how to set a keyboard layout (or a combination thereof) w/ xfce specifically, I unfortunately have no idea - sorry.

This has nothing to do w/ the (generated) locales, they're for output.

Offline

#3 2021-02-03 20:52:45

Ferdinand
Member
From: Norway
Registered: 2020-01-02
Posts: 331

Re: [SOLVED] Can't change keyboard layout (XFCE)

Offline

#4 2021-02-03 23:56:27

freebench
Member
Registered: 2020-06-14
Posts: 33

Re: [SOLVED] Can't change keyboard layout (XFCE)

This is the fix https://wiki.archlinux.org/index.php/Xo … _localectl
Following X restart, which is in my case

systemctl restart xdm-archlinux.service

My best guess is that it's caused by xdm.

Last edited by freebench (2021-02-03 23:58:46)

Offline

#5 2021-02-04 07:33:34

seth
Member
Registered: 2012-09-03
Posts: 51,064

Re: [SOLVED] Can't change keyboard layout (XFCE)

It's not caused by anything.

At some point you have to configure the keyboard - you probably configured it for LXDM and carried that into the session.
W/o LXDM you have to configure it at some different point and that could have been your xinitrc (for the session, but not the DM) or the xorg config for an overall setup (what you just did)

Offline

Board footer

Powered by FluxBB