From 46f64498bdb423e3a62497884eb0f2433fea144d Mon Sep 17 00:00:00 2001 From: j1nx Date: Sat, 14 Jan 2023 09:56:00 +0100 Subject: [PATCH] Fix KDEConnect empty plugin list. We need to set QT plugins path system wide for user sessions re-enabling all of them but keep them in the mycroft-gui systemd service file as well, so you can override them there is wanted. --- .../systemd/system/user@.service.d/openvoiceos.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 buildroot-external/rootfs-overlay/etc/systemd/system/user@.service.d/openvoiceos.conf diff --git a/buildroot-external/rootfs-overlay/etc/systemd/system/user@.service.d/openvoiceos.conf b/buildroot-external/rootfs-overlay/etc/systemd/system/user@.service.d/openvoiceos.conf new file mode 100644 index 00000000..95b62d85 --- /dev/null +++ b/buildroot-external/rootfs-overlay/etc/systemd/system/user@.service.d/openvoiceos.conf @@ -0,0 +1,12 @@ +[Service] +Environment=QT_QPA_PLATFORM=eglfs +Environment=QT_QPA_EGLFS_KMS_ATOMIC=1 +Environment=QT_QPA_PLATFORMTHEME=qt5ct +Environment=QT_PLUGIN_PATH=/usr/lib/qt/plugins:/usr/lib/plugins:/usr/lib/plugins/kf5 +Environment=QT_LOGGING_RULES='*=false' +Environment=QT_FILE_SELECTORS=ovos +Environment=QT_FONT_DPI=120 +Environment=QT_IM_MODULE=qtvirtualkeyboard +Environment=QT_QUICK_CONTROLS_STYLE=OpenVoiceStyle +Environment=XDG_CURRENT_DESKTOP=kde +Environment=QML2_IMPORT_PATH=/usr/lib/qml