I would like to improve Raspberry Pi OS support in a software I am contributing to, but I can't find the information I need. Precisely, I need to read the keyboard model/layouts/variants (I need to get all the layouts configured by the user, I don't need the current one) which were set using the preferences applet.
Linking against any library is, unfortunately, out of question (I want one binary working across various distros) - the only acceptable solutions are reading a text file or parsing a command output.
I have tried to read it from the wayfire.ini file - but it doesn't fully work; it fetches the keyboard layout configured using raspi-config tool, but not the one set using the GUI. The (standard way for GNOME) does not seem to return anything useful either.
Linking against any library is, unfortunately, out of question (I want one binary working across various distros) - the only acceptable solutions are reading a text file or parsing a command output.
I have tried to read it from the wayfire.ini file - but it doesn't fully work; it fetches the keyboard layout configured using raspi-config tool, but not the one set using the GUI. The
Code:
gsettings get org.gnome.desktop.input-sources sources
Statistics: Posted by FeralChild — Fri Sep 27, 2024 7:33 pm — Replies 0 — Views 23