2020-05-17 17:38:09 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Mycroft GUI
|
|
|
|
PartOf=mycroft.service
|
|
|
|
After=mycroft.service
|
|
|
|
After=mycroft-messagebus.service
|
2020-06-01 15:41:14 +02:00
|
|
|
Wants=weston.service
|
|
|
|
After=weston.service
|
2020-05-17 17:38:09 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=mycroft
|
|
|
|
WorkingDirectory=/home/mycroft
|
2020-06-01 15:41:14 +02:00
|
|
|
Environment=QT_QPA_PLATFORM=wayland
|
2020-06-06 11:41:09 +02:00
|
|
|
Environment=QT_PLUGIN_PATH=/usr/lib/qt/plugins:/usr/lib/plugins:/usr/lib/plugins/kf5
|
|
|
|
Environment=QT_LOGGING_RULES='*=false'
|
2021-01-10 18:44:52 +01:00
|
|
|
Environment=QT_IM_MODULE=qtvirtualkeyboard
|
2020-06-01 15:41:14 +02:00
|
|
|
Environment=XDG_RUNTIME_DIR=/tmp/weston
|
2021-01-26 14:10:03 +01:00
|
|
|
Environment=XDG_DATA_DIRS=/usr/share:/usr/local/share:$XDG_DATA_DIRS
|
2020-05-17 17:38:09 +02:00
|
|
|
Environment=LD_LIBRARY_PATH=/usr/lib
|
2021-01-26 14:10:03 +01:00
|
|
|
Environment=LIBEXEC_PATH=/libexec:/usr/libexec:/usr/lib/libexec
|
|
|
|
Environment=QML2_IMPORT_PATH=/usr/lib/qml
|
2020-07-27 15:21:29 +02:00
|
|
|
ExecStartPre=/usr/bin/sh -c 'export $(dbus-launch)'
|
2021-01-26 14:10:03 +01:00
|
|
|
ExecStart=mycroft-gui-app --hideTextInput --maximize
|
2020-06-06 11:41:09 +02:00
|
|
|
StandardOutput=null
|
2020-05-17 17:38:09 +02:00
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=mycroft.service
|