1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-13 17:36:27 +01:00
OpenVoiceOS/buildroot-external/package/mycroft-service/mycroft-gui.service
2021-09-27 18:52:19 +09:30

30 lines
907 B
Desktop File

[Unit]
Description=Mycroft GUI
PartOf=mycroft.service
After=mycroft.service
After=mycroft-messagebus.service
[Service]
User=mycroft
WorkingDirectory=/home/mycroft
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=XDG_RUNTIME_DIR=/tmp/mycroft
Environment=XDG_DATA_DIRS=/usr/share:/usr/local/share:$XDG_DATA_DIRS
Environment=XDG_CURRENT_DESKTOP=kde
Environment=LD_LIBRARY_PATH=/usr/lib
Environment=LIBEXEC_PATH=/libexec:/usr/libexec:/usr/lib/libexec
Environment=QML2_IMPORT_PATH=/usr/lib/qml
ExecStartPre=-/usr/bin/kbuildsycoca5
ExecStart=mycroft-embedded-shell --maximize
StandardOutput=null
Restart=on-failure
[Install]
WantedBy=mycroft.service