28 lines
844 B
SYSTEMD
28 lines
844 B
SYSTEMD
[Unit]
|
|
Description=Mycroft GUI
|
|
PartOf=mycroft.service
|
|
After=mycroft.service
|
|
After=mycroft-messagebus.service
|
|
Wants=weston.service
|
|
After=weston.service
|
|
|
|
[Service]
|
|
User=mycroft
|
|
WorkingDirectory=/home/mycroft
|
|
Environment=QT_QPA_PLATFORM=wayland
|
|
Environment=QT_PLUGIN_PATH=/usr/lib/qt/plugins:/usr/lib/plugins:/usr/lib/plugins/kf5
|
|
Environment=QT_LOGGING_RULES='*=false'
|
|
Environment=QT_IM_MODULE=qtvirtualkeyboard
|
|
Environment=XDG_RUNTIME_DIR=/tmp/weston
|
|
Environment=XDG_DATA_DIRS=/usr/share/icons:/usr/share/kf5:$XDG_DATA_DIRS
|
|
Environment=LD_LIBRARY_PATH=/usr/lib
|
|
Environment=LIBEXEC_PATH=/usr/lib/libexec:/usr/lib/libexec/kf5
|
|
Environment=QML2_IMPORT_PATH=/usr/lib/qml
|
|
ExecStartPre=/usr/bin/sh -c 'export $(dbus-launch)'
|
|
ExecStart=mycroft-gui-app --hideTextInput --maximize
|
|
StandardOutput=null
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=mycroft.service
|