UI vs Daemon #47
Answered
by
quexten
baarkerlounger
asked this question in
Q&A
UI vs Daemon
#47
-
When installed via flatpak does the daemon always run in the background? Or only when the app has been launched (e.g. via desktop icon or flatpak run command). |
Beta Was this translation helpful? Give feedback.
Answered by
quexten
Jan 5, 2024
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
baarkerlounger
-
Thanks understood. It might be nice to be able to configure from the UI whether the daemon continues to run in the background or stops with the UI and whether or not it's autostarted. (That might also help to make the default behaviour a bit more obvious). |
Beta Was this translation helpful? Give feedback.
1 reply
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Thanks for the question. If you just install the Flatpak, the daemon is started inside Flatpak, and the UI is spawned as a separate process. If you close the UI, only the UI process exits, the daemon keeps running. In gnome this is shown as a background activity, I'm guessing KDE and other DE's have something similar
If you want to stop this, in Gnome you would just click the "x" in the background apps. If you want to disable the behavior, you can take away the background activity permission in Gnome's settings.
Additionally, the backround portal is used, to auto-start the Flatpak on the next boot, so that auto-type and ssh work without you manually starting the Flatpak through the deskt…