Sample Header Ad - 728x90

Is it possible to determine the keyboard layout?

0 votes
1 answer
78 views
Please tell me, is it possible to display the current keyboard layout using xkbcomp on Alpine Linux? Alpine Linux is installed. I use Wayland with [Wayfire compositor](https://wayfire.org/) installed. I need to get data about the current keyboard layout in the console. There is only xkbcomp. There is also gsettings. Keyboard layout switching is implemented using Wayfire in the wayfire.ini file in the [input section](https://github.com/WayfireWM/wayfire/wiki/Configuration#input) . However, Wayfire does not have the ability to transfer information about the current layout. That is why I am looking for a way to do this. As a result of gsettings get org.gnome.desktop.input-sources sources, I get @a(ss) []. setxkbmap, gkbd-keyboard-display, xkeycaps, xkbprint, xset, localectl not available. And I would like to clarify that I am interested in the language layout.
Asked by Raalgepis (21 rep)
May 29, 2025, 12:07 PM
Last activity: May 30, 2025, 04:58 PM