| | 183 | to start the app from the command line use |
| | 184 | * {{{ QT_QPA_PLATFORM=eglfs mycroft-gui-app }}} |
| | 185 | to start it automatically using systemd: |
| | 186 | * {{{ mkdir -p ~/.config/systemd/user }}} |
| | 187 | * {{{ nano ~/.config/systemd/user/mymycroftgui.service }}} |
| | 188 | with the content: |
| | 189 | {{{ |
| | 190 | [Unit] |
| | 191 | Description=start mycroft-gui |
| | 192 | After=network.target |
| | 193 | |
| | 194 | [Service] |
| | 195 | Type=simple |
| | 196 | Environment="QT_QPA_PLATFORM=eglfs" |
| | 197 | ExecStart=/usr/bin/mycroft-gui-app |
| | 198 | |
| | 199 | [Install] |
| | 200 | WantedBy=default.target |
| | 201 | }}} |
| | 202 | then start it |
| | 203 | * {{{ systemctl start --user mymycroftgui }}} |
| | 204 | and enable the automatic start with |
| | 205 | * {{{ systemctl enable --user mymycroftgui }}} |