You are not logged in.

#1 2024-02-13 12:08:29

babaliaris
Member
From: Greece
Registered: 2017-09-29
Posts: 88
Website

[SOLVED] XFCE Keyboard Layout Shortcut Not Working Since Last Update.

I'm not sure how to debug this, there is no error showing up anywhere.

I use the alt-shift shortcut to switch languages, but since the last full system update, it stopped working.
Changing the shortcut through the XFCEs settings and using another one, it still doesn't work.

Current Versions:

$pacman -Q | grep xfce
libxfce4ui 4.18.5-1
libxfce4util 4.18.2-1
xfce4-appfinder 4.18.1-1
xfce4-artwork 0.1.1a_git20110420-6
xfce4-battery-plugin 1.1.5-1
xfce4-clipman-plugin 1.6.5-1
xfce4-cpufreq-plugin 1.2.8-1
xfce4-cpugraph-plugin 1.2.10-1
xfce4-datetime-plugin 0.8.3-1
xfce4-dict 0.8.6-1
xfce4-diskperf-plugin 2.7.0-1
xfce4-eyes-plugin 4.6.0-1
xfce4-fsguard-plugin 1.1.3-1
xfce4-genmon-plugin 4.2.0-1
xfce4-mailwatch-plugin 1.3.1-1
xfce4-mount-plugin 1.1.6-1
xfce4-mpc-plugin 0.5.3-1
xfce4-netload-plugin 1.4.1-1
xfce4-notes-plugin 1.11.0-1
xfce4-notifyd 0.9.4-1
xfce4-panel 4.18.5-1
xfce4-power-manager 4.18.3-1
xfce4-pulseaudio-plugin 0.4.8-1
xfce4-screensaver 4.18.2-1
xfce4-screenshooter 1.10.5-1
xfce4-sensors-plugin 1.4.4-1
xfce4-session 4.18.3-1
xfce4-settings 4.18.4-1
xfce4-smartbookmark-plugin 0.5.2-2
xfce4-systemload-plugin 1.3.2-1
xfce4-taskmanager 1.5.6-2
xfce4-terminal 1.1.2-2
xfce4-time-out-plugin 1.1.3-1
xfce4-timer-plugin 1.7.2-1
xfce4-verve-plugin 2.0.3-1
xfce4-wavelan-plugin 0.6.3-1
xfce4-weather-plugin 0.11.1-1
xfce4-whiskermenu-plugin 2.8.3-1
xfce4-xkb-plugin 0.8.3-1

/proc/version:

$cat /proc/version 
Linux version 6.7.4-arch1-1 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Mon, 05 Feb 2024 22:07:49 +0000

Any ideas on how to approach this problem?

Thanks!

Last edited by babaliaris (2024-02-13 15:28:31)


Github Account: github.com/babaliaris     big_smileArch General Guidelinesbig_smile
Favourite Distro: archlinux.org                           big_smileArch Wikibig_smile

Offline

#2 2024-02-13 14:06:21

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,547

Re: [SOLVED] XFCE Keyboard Layout Shortcut Not Working Since Last Update.

setxkbmap -print -query

Offline

#3 2024-02-13 14:09:04

babaliaris
Member
From: Greece
Registered: 2017-09-29
Posts: 88
Website

Re: [SOLVED] XFCE Keyboard Layout Shortcut Not Working Since Last Update.

$setxkbmap -print -query
xkb_keymap {
	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
	xkb_types     { include "complete"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "pc+us+gr:2+inet(evdev)"	};
	xkb_geometry  { include "pc(pc105)"	};
};
rules:      evdev
model:      pc105
layout:     us,gr

Github Account: github.com/babaliaris     big_smileArch General Guidelinesbig_smile
Favourite Distro: archlinux.org                           big_smileArch Wikibig_smile

Offline

#4 2024-02-13 14:34:29

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,547

Re: [SOLVED] XFCE Keyboard Layout Shortcut Not Working Since Last Update.

There's no toggle configured. As a matter of fact, there's no option whatsoever.

setxkbmap -option grp:alt_shift_toggle

For possible toggles see

grep -i grp /usr/share/X11/xkb/rules/base.lst

Offline

#5 2024-02-13 15:26:57

babaliaris
Member
From: Greece
Registered: 2017-09-29
Posts: 88
Website

Re: [SOLVED] XFCE Keyboard Layout Shortcut Not Working Since Last Update.

Yes, this works!

I tried to figure out if there was something in the Xfce session settings, but I could not find anything. Maybe this is a bug or more likely
I did something bad
in the settings, but I can't figure it out.

I solved it using the following steps:

1) I created a script ~/.config/autostart/layout_toggler_setter.sh

#!/bin/sh

setxkbmap -option grp:alt_shift_toggle

2) I made it executable:

chmod +x ~/.config/autostart/layout_toggler_setter.sh

3) I added it to XFCEs autostart applications using the GUI menus:
Settings>Session and Startup>Application Autostart and clicking, "+Add"

Now every time I log in, the script gets executed, and the alt_shift toggler works just fine!

It is not the cleanest way, but it works for now.

Thanks for the help!

Last edited by babaliaris (2024-02-13 15:32:02)


Github Account: github.com/babaliaris     big_smileArch General Guidelinesbig_smile
Favourite Distro: archlinux.org                           big_smileArch Wikibig_smile

Offline

#6 2024-02-13 15:32:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,547

Re: [SOLVED] XFCE Keyboard Layout Shortcut Not Working Since Last Update.

It is not the cleanest way

Not by a long shot tongue

https://wiki.archlinux.org/title/Xorg/K … tion_files
If you intend to use localectl, nb. that it's not very robust - you'll have to provide *all* parameters in the correct order or it'll happily generate a bullshit config.
In doubt manually control the result.

Offline

Board footer

Powered by FluxBB