paper-plane icon indicating copy to clipboard operation
paper-plane copied to clipboard

Run Telegrand in background

Open Tuxino88 opened this issue 4 years ago • 9 comments

in the near future, a daemon function would be interesting

Tuxino88 avatar Apr 12 '21 20:04 Tuxino88

How do you imagine this would work? On phones, generally you expect chat apps to always autostart with the device, and always stay running on the background. I don't think this is the general expectation of desktop users though? :thinking:

Newbytee avatar Aug 19 '21 10:08 Newbytee

@Newbytee I guess that's something that has to be supported by the toolkit instead of the app. And if I'm not mistaken there's still not an official support for a "background mode" in the GNOME platform?

melix99 avatar Aug 19 '21 12:08 melix99

There is some support. Usually a application does trigger something and that something causes gnome then to ask if the application should be allowed to run in the background. It also has a option to later allow or disallow the background execution: image

Something like this is especially important on the phone where you would avoid to have the full application running.

Alexmitter avatar Aug 30 '21 11:08 Alexmitter

Yeah, after some research I found the "background portal" that manages exactly that. The problem is that it works just for flatpak and I'm still not sure how to handle this in non-flatpak environments.

melix99 avatar Aug 30 '21 11:08 melix99

I attach the issue in question: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3699

It seems that for non-flatpak versions, the last comment from Matthias is the conclusion.

Alexmitter avatar Aug 30 '21 11:08 Alexmitter

Has this been implemented yet?

junocomp avatar Sep 21 '22 17:09 junocomp

Has this been implemented yet?

Not yet. I have some plans for it though, but I don't think it'll be available in a 0.1 release.

melix99 avatar Sep 23 '22 21:09 melix99

Well, Background Apps feature is in mainstream GNOME 44. What about it?

000exploit avatar Mar 19 '23 23:03 000exploit

Well, Background Apps feature is in mainstream GNOME 44. What about it?

Unrelated to this issue, apps could already run in background before that feature, that's just a shell UI to display them.

melix99 avatar Mar 19 '23 23:03 melix99