Ubuntu: How to get the name of the active keyboard using C++ gtk or xkb
I am working with code( C++, ubuntu, gdk, xkb) where I use a german Keyboard which is on the top of the list in settings->Keyboard->input sources . In my program I can access the keycode, keyval, keymaps used for the…