Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-10-04 22:48:58

davecs
Member
Registered: 2014-03-21
Posts: 25
LinuxChrome 126.0

Keyboard Layout tweaks

I like to have two keyboard layouts I can switch between, using the Scroll Lock key. This is easy in the XFCE Settings Manager.

However, I also like to use the Caps Lock key as the Compose Key. Again, straightforward.

I also want two other settings,

(a) for both shift keys together to set Caps Lock, and pressing one of them to cancel.
(b) for the scroll lock light to come on when I'm using the alternative keyboard layout.

These are possible in many other desktops, and also using setxkbdmap, but not in the XFCE Settings Manager.

I've found a way of doing this, using the XFCE Settings Editor. The options aren't available in the Settings Manager, and I've found that if I have to run the Keyboard applet in the Settings Manager, I will have to do the setting again in the Settings Editor. Under the keyboard-layout channel, edited XkbOptions/Group, set the string to read:

grp:sclk_toggle,grp_led:scroll,shift:both_capslock_cancel

This seems to be working as desired.

Last edited by davecs (2026-10-05 17:45:46)

Offline

#2 2024-10-05 22:38:41

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,728
LinuxFirefox 131.0

Re: Keyboard Layout tweaks

Thanks for sharing the solution.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 528.84 KiB (Peak: 529.8 KiB) ]