OpenVoiceOS / ovos-buildroot

Open Voice Operating System - Buildroot edition is a minimalistic linux OS bringing the OVOS voice assistant to embbeded, low-spec headless and/or small (touch)screen devices.
Apache License 2.0
230 stars 35 forks source link

Add Configuration and Files for QT5CT #48

Closed AIIX closed 3 years ago

AIIX commented 3 years ago

[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_PLATFORMTHEME=qt5ct Environment=QT_PLUGIN_PATH=/usr/lib/qt/plugins:/usr/lib/plugins:/usr/lib/plugins/kf5 Environment=QT_LOGGING_RULES='*=false' 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 Environment=QT_FILE_SELECTORS=ovos
ExecStart=mycroft-embedded-shell --maximize StandardOutput=null
Restart=on-failure

[Install] WantedBy=mycroft.service


- Requires a new systemd service to run "kbuildsyscoca5" before starting mycroft-gui.service 

- Add attached qt5ct.conf to "~/.config/qt5ct/"
- Add attached fonts.conf to "~/.config/fontconfig/"
- [config-files.zip](https://github.com/OpenVoiceOS/OpenVoiceOS/files/6034640/config-files.zip)
AIIX commented 3 years ago

All working on new image closing