You are not logged in.

#1 2024-09-10 05:56:39

alr86
Member
Registered: 2024-09-10
Posts: 1

How can I get cureent keyboard layout in wayland

None of the commands from the internet that I tried worked fine on Plasma - Wayland

Offline

#2 2024-09-10 06:35:20

onshore0927
Member
Registered: 2024-09-08
Posts: 5

Re: How can I get cureent keyboard layout in wayland

does this not work?

localectl status

from https://wiki.archlinux.org/title/Linux_ … d_settings

If not, what have you tried and what are you trying to achieve in general?

Offline

#3 2024-09-10 12:06:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,208

Re: How can I get cureent keyboard layout in wayland

All of this depends on the exact compositor, so in this case KWin, so in this case you go and look at the keyboard config in plasma's systemsettings. If you want a terminal way to query this, there's probably some DBUS property but googling doesn't turn up much and am not on my system to check available options.

I'm also smelling a XY problem, what's your end goal? Why do you want to "get cureent keyboard layout"? Do you want to script a layout changer, or what is it you're looking for with which end result?

Last edited by V1del (2024-09-10 12:44:38)

Offline

Board footer

Powered by FluxBB