Run corebird in the background
It would be nice, if I could close the corebird main window, but get still notifications about new tweets etc.
A thousand times yes! +1
You can just run corebird --start-service but nobody ever makes sure that it keeps working.
@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)
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.
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.
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.
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
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.
@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.
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 FYI, there is no tray in GNOME Shell and thus in GTK-based DE's anymore: https://github.com/Keruspe/GPaste/issues/192#issuecomment-279998214 https://github.com/Keruspe/GPaste/issues/192#issuecomment-280000208
https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-22&id=cab7dcde1bef1ea589a9f3c4d8512e59ade8a4a2
https://git.gnome.org/browse/gtk+/commit/?id=d2a8667f835ddce4ac88b9bee143556f9efa93c4
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.
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.