This is driving me kinda nuts now. I think it’s due to using a VPN (wireguard via network manager) but either way, I have to stop these notifications. They pop up continuously, very distracting and annoying.
Settings | Preferences | Look and Feel |Pop Up Notifications
There is a check box for Enable Do Not Disturb
This would likely stop all notifications but at least would stop the one bothering you.
I also found this solution that may be better suited for you:
Use dconf Editor and change this setting-
org.gnome.nm-applet disable-connected-notifications
Thanks. I’d rather not disable all, but may just try it for lack of alternatives.
Regarding the ‘dconf Editor’, above my paygrade I’m afraid, no idea what you’re suggesting but sounds like it was referred to on the linked threads in the most recent post above, and probably won’t work on F40 anyway. Thanks for posting.
A function to turn of all notifications is still desired tho. I switched to Fedora because both Windows and MacOs are turning computers into smartphones giving us ticktock brains by constantly interrupting our focus. I think an easy function or switch like how it used to work on old IPhones to mute all interruption would be a very welcome addition. Please bring this back !
Hold up, is everyone just cool with NetworkManager disconnecting frequently and not diagnosing the actual problem?
I last tried OpenVPN on F40 last month and had no disconnecting. I’ve done WireGuard with Fedora for a few years in the early 30-versions also without disconnecting. All with hours-sustained connections daily.
I’m not using a VPN currently on F40, but I have a feeling NetworkManager shouldn’t be causing a frequent disconnect notification and it’s either severely broken, or the VPN profile and what its interacting with isn’t configured properly. Fixing that or at least bug reporting it would probably be better than hiding the notification
Are you using a VPN provider, one from a router, or one self-hosted? If a VPN provider, what’s the name, or instead is it a big popular one (like PIA) or obscure?
How are you using the WireGuard profile? If I recall right I used some WireGuard app or command directly instead of NetworkManager possibly not having full support for it.
Do you have to use WireGuard? OpenVPN UDP is well supported and 256-bit while probably overkill is also well supported on NetworkManager. I’d use OVPN and NM on Linux, and WireGuard’s official app on Windows
Ah, I rarely suspend my computers so that explains why I never saw that notification
That seems like something that could be polished up.
If it’s known the interface disconnects on suspend/wake, the notification for the VPN probably shouldn’t be presented immediately after wake (obviously it’ll be disconnected with the hardware connection), and I’d either expect a soft notification about the disconnect, or nothing at all and it should just auto-reconnect/last state and then either display a notification if that fails, or notify about it being reconnected.
Although after writing that I do recall there being a NM option though Advanced Config GUI for auto-connecting to a specified VPN; I wonder if that’ll stop the initial notification about it being dropped?
If I remember correctly, this used to happen on Fedora 39 when deactivating a WireGuard connection, but I can no longer reproduce this behavior on Fedora 40.
This may also happen in some other cases:
DNS cannot resolve the VPN endpoint for some reason.
Activating more than one VPN profile altering the default route.
First - the suspend/wake function is NOT what’s causing these notifications, it’s a red herring here. It happens all day long while I am busy working on machine.
I am using vpn.ac
Wireguard via NM using the downloaded config files.
Wireguard is faster and more reliable generally than OVPN, I also could work out how to set up the WG approach so I went with that. I won’t go through the learning just for this purpose, I have just turned off all notifications for now and hoped one day it might get sorted.
I have to say my biggest disappointment is the fact that you can’t switch from one VPN connection to another without exposing real IP. That shocks me, seriously. Even though most people don’t ‘need’ such functionality, EVERY VPN provider offer ‘kill switch’ functionality to prevent such things, it’s industry standard. Yet on Fedora if I want to switch from NewYork to Beijing (or whatever), I have to turn one off, then go back into the settings pane and turn the new one on, thus exposing my real IP to every connection I have open. That’s a huge problem, but doesn’t look like being fixed (or even concerning to anyone I have asked about it), so my plan when I have time is to just use the VPN provider’s app. I doni’t ilke installing stuff i dont need, and with NM being so good in many ways, I kinda hoped to avoid one more program running, but I guess it’s gonna be necessary.
This isn’t a Fedora issue, this is something that should be taken to the Gnome Devs as a feature request.
Gnome’s approach is minimalism, these tools ( VPN’s etc) have far more features than what could be provided by default by the Gnome team. I use a VPN 24/7 and have been for years. I do use the providers GUI and before they had a GUI for Linux I used the config files.
Wireguard for Gnome would just be the basic. in this case, always use the providers App.
ok, i can do that. But I should have clarified, I have brought this up to Gnome Devs, i didn’t get much interest so I have forgotten about it, apart from it annoying me several times a day
Wireguard is a good protocol to use for VPN (i believe), and it sure is fast. I hoped there would be a Wireguard app for Linux but don’t see any in the Software Centre, which is why i used the NM and config files. On Mac there was a good Wireguard app which I used. But I could use the GUI, although I am kinda looking forward to my subscription expiring as I really want to switch VPN provider soon anyway so I will hang on like this until then.
thanks
I understand, I have been using my provider since before Wireguard existed. No plans in changing either. Wireguard is pretty good and simple, but some Public networks won’t allow it, which to tie a bow around this topic Get’s you into the notification hell as you drop in/out of the VPN !
Public Networks - I don’t really understand what they are. I don’t see how it’s related to the notification hell! I get those notifications no matter what I am doing online, at least I did, maybe it’s fixed now. But I am curious what you mean by Public Networks. I never leave home! And I never use wifi either way!
I look forward to going back to AirVPN, should have stuck with them from the start, superb value for money, app doesn’t compare to the bigger/better known providers, but i only need the connection to work, don’t need a pretty app!
Heh that’s my preferred VPN! I used OpenVPN UDP 256 on Linux (notes) and WireGuard client on Windows. My ISP is about 7 MB/s down and I had close to that speed with nearby VPN servers OVPN, WG, and whatever iOS uses (I did Apple Device profiles for VPN).
For general 24/7 usage it was fine for the few years I used it. Their Mexico VPN wasn’t actually in Mexico or something earlier this year though which made it less-useful for a particular subscription trick but I’d still use em for a general VPN.
I vaguely recall being able to turn on two VPN profiles at the same time on Fedora (OVPN NetworkManager), but I didn’t check if my IP was leaked in-between turning the other off.