Server Version#: 1.41.0.8994-f2c27da23
Player Version#: 1.102.0.230-7301ebfb
Plex desktop application (flatpak) on Linux Mint 22 Cinnamon fails to start when there are 3 or more keyboard layouts configured. It starts OK when the active keyboard layout is one of the last 2 in the list.
In my case (see screenshot above) it starts when active layout is Lithuanian or German, but if the active layout is English (UK), application fails to start.
Here is the output when starting from terminal when 1st layout is active:
$ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=Plex tv.plex.PlexDesktop
qt.scenegraph.general: Using QRhi with backend OpenGL
Graphics API debug/validation layers: 0
QRhi profiling and debug markeqt.scenegraph.general: Using QRhi with backend OpenGL
Graphics API debug/validation layers: 0
QRhi profiling and debug markers: 0
Shader/pipeline cache collection: 0
rs: 0
Shader/pipeline cache collection: 0
xkbcommon: ERROR: Couldnât process include statement for âgb(qwerty)â
xkbcommon: ERROR: Abandoning symbols file â(unnamed)â
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: Failed to compile keymap
[5:50:1003/131442.007923:FATAL:xkb_keyboard_layout_engine.cc(640)] Keymap file failed to load: gb-qwerty
/app/bin/Plex: line 48: 5 Trace/breakpoint trap (core dumped) â$BASE_DIRâ/bin/plex-bin â$@â
If there is only 1 or 2 keyboard layouts configured in the system, the application starts fine on either one of them. Same logic applies when you have 4 layouts total, the last 2 layouts in the list work fine, but first 2 layouts give the same error (with different layout code).
Unfortunately I think it comes back on every reboot of the host, so better have it prepended in the command of the .desktop file you use to launch Plex.