Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run corebird in the background #702

Open
haecker-felix opened this issue Apr 7, 2017 · 13 comments
Open

Run corebird in the background #702

haecker-felix opened this issue Apr 7, 2017 · 13 comments

Comments

@haecker-felix
Copy link

It would be nice, if I could close the corebird main window, but get still notifications about new tweets etc.

@Vistaus
Copy link

Vistaus commented Apr 7, 2017

A thousand times yes! +1

@baedert
Copy link
Owner

baedert commented Apr 7, 2017

You can just run corebird --start-service but nobody ever makes sure that it keeps working.

@Vistaus
Copy link

Vistaus commented Apr 7, 2017

@baedert Great tip! I could add that to my startup applications. But it shouldn't be hard to write a daemon around that, right? (note that I don't mean to suggest that you should do it, just asking a general question)

@baedert
Copy link
Owner

baedert commented Apr 7, 2017

what kind of daemon? It'll only start the streaming connection without any of the UI this way, so you will get the usual notifications and starting corebird will just create the UI. Closing the window will destroy the UI but leave the process running until you execute corebird --stop-service.

@Vistaus
Copy link

Vistaus commented Apr 7, 2017

In that case it'd be nice to have this available as a GUI option ("Keep Corebird running in the background") :) I mean: not all users are going to search GitHub Issues for this.

@baedert
Copy link
Owner

baedert commented Apr 7, 2017

Yeah well it's not really supposed to be used :p It's even harder to test that this keeps working (and it requires a certain decoupled-from-the-actual-UI design) than the usual stuff. Additionally I'd like he close button to somehow indicate that the process keeps running but I'm not sure how to best implement this.

@corebots
Copy link

corebots commented Apr 7, 2017

just a hint, closing the window could make the nice icon hi-contrasted appear on the top gnome-shell panel indicating that the service is running in the background

@baedert
Copy link
Owner

baedert commented Apr 8, 2017

just a hint, closing the window could make the nice icon hi-contrasted appear on the top gnome-shell panel indicating that the service is running in the background

That would have to be a gnome-shell extension then and doesn't work anywhere else.

@Vistaus
Copy link

Vistaus commented Apr 11, 2017

@baedert Well, starting the service upon boot does work and seems to be running all of the time. Only issue is that notifications get through very, very slowly. For example, this morning, I received a mention at 8:24. My phone showed the notification just fine at that very moment. I left it unread all morning and early afternoon. It's now 1:15 PM as I write this and this despite having my laptop open most of the time and the corebird service running, Corebird just showed that notification a few minutes ago.

@truckerboy
Copy link

truckerboy commented May 29, 2017

this should quite easily be fixed by adding an extra couple of options in settings: a) Close to tray (corebird runs in the background as a service) and b) close to exit application (as it does right now). Close to tray should also allow notifications in gnome shell (notifications could be disabled by adding another option). From the tray, an extra right click menu option to "quit" should stop the service and exit the application.

@truckerboy
Copy link

truckerboy commented May 29, 2017

well there is a tray (deprecated or otherwise) in Gnome 3.20 (which I am on) and it works pretty well but your referred comment makes sense as to why this has not been included in corebird, given it would become throwaway code in the near future.

It would however make a lot of sense to create a gnome shell extension (which I am sure is not deprecated) for a "corebird dock" and mimic the functionality I outlined in my earlier post.

@Vistaus
Copy link

Vistaus commented May 29, 2017

A GNOME Shell extension could very well be created and won't be deprecated (the extension just needs to be kept up-to-date b/w GNOME Shell versions). I can't speak for @baedert but I think it's up to a third party to write an extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants