-
Notifications
You must be signed in to change notification settings - Fork 33
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
Linux: minimise on start option #20
Comments
Using Ubuntu/GNOME too but official gtk app package.
Useful for those who want Proton VPN app silently running. But clearly a not intended behaviour. |
Ok, here is the extension: That's a very light extension. I checked carefully at logs to track bugs. This has to be tested against a Flatpak setup. |
And FYI I just did the same for bridge (that can natively start hidden, though): |
@fhtx, thanks for sharing those extensions. |
I reverted these two extensions to a simple open/close app. It's for my usage fully ok, once the trick (I told about above) done for VPN app, to make the window close without quitting VPN app. It's annoying to simply have these apps minimized since they take place in overview anyway. Since it seems we don't have API for VPN app yet, I don't know how to do better. I can repeat what I told to customer service: Ubuntu AppIndicators is a very heavy and buggy extension with thousands lines of code and I don't think it's a good idea to use it in GNOME. Just my opinion. |
Hey @fthx, But eventually in the long run we do plan to add support so that the app start once the user has logged in (mainly because we need access to the keyring which only gets unlocked after the user has logged in).
I see your point here, in the last step it should close the app, and it's indeed a bug that has to be fixed. But there is a specific reason why we disconnect at app quit (as do other clients on their respective platforms), and is mainly for reliability. If a server goes into maintenance, or there is a network drop/switch, you'd be left without internet connection because NM does not re-enable VPN connection automatically unless you add it as secondaries to your main connection, and to rely on secondaries is honestly not a very robust approach because your main connection could switch anytime and you'd be left unprotected. This also includes KS management which needs to work in tandem with the connection module. If you'd like to understand a bit more about this I'd suggest you take a look at the following packages (in the following order):
|
Hmm I do not understand your point here: I did add ProtonVPN to startup apps in GNOME and it works perfectly. What we need imo here is clearly a --no-window command line option, as Bridge does when I activate the autostart pref in app settings.
Ok but when I close the app window (or apply request_quit() to GNOME Shell app), the app is still running. So maybe offer a pref to the user (really quit the app on window closed) vs (keep the app running on window closed), whatever could the user have installed once Ubuntu AppIndicators? If we get some command line options, I can add them to icon's menu (atm there is no menu). |
We have this in the plans but no ETA on this. Edit: see my answer here |
According to the release notes, from v4.7.0 of the Linux ProtonVPN client, an option has been added to the in-app settings to minimize the app to system tray on startup. This works for me on Kubuntu 24.10. |
Fixed and working on Debian MATE as well. Very exciting! |
FYI I've just updated the Proton VPN GNOME extension: New: get Proton connection state and update the indicator accordingly. |
@fthx you're good to use our resources as long as you mention where you got it from, thanks for your contribution 👍🏻 |
Please complete the following checklist (by adding [x]):
Hope this helps those struggling. I want to believe that Proton team will add an option to start apps into system tray at some point. Meanwhile this is my solution.
I am using both Proton VPN & Mail Bridge on Ubuntu with Gnome. In my case these are flatpaks but I don't think that matters. Here's what I ended up load both apps minimized to system tray. Just add this script to your startup apps.
proton-startup.sh
The text was updated successfully, but these errors were encountered: