AyatanaIndicators / ayatana-indicator-keyboard

Ayatana Indicator Keyboard Applet
GNU General Public License v3.0
2 stars 6 forks source link

Be more robust when parsing /etc/default/keyboard vs. /etc/X11/xorg.conf.d/00-keyboard.conf (was: PANIC: No system XkbLayout found (openSUSE specific issue)) #66

Open sunweaver opened 5 months ago

sunweaver commented 5 months ago

The keyboard indicator exits immediately when launched in arctica-greeter with: PANIC: No system XkbLayout found.

This can be observed on openSUSE 15.5.

sunweaver commented 4 months ago

This issue was related to an empty /etc/default/keyboard file. The parser should report better what the currently problem is and it should esp. not crash.

Furthermore, if /etc/default/keyboard does not deliver proper results, we should maybe fallback to /etc/X11/xorg.conf.d/00-keyboard.conf and see if that works better.