| Summary: | Option to disable standby / hibernation when connected to a VPN in order to avoid connection loss | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | postix <postix> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | kde |
| Priority: | NOR | ||
| Version First Reported In: | 6.4.4 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
postix
2025-08-29 09:57:31 UTC
We're not adding a setting for that. It's too niche.
`kde-inhibit --power` will do what you're asking if you want to convert that into a script.
> Unfortunately, when Plasma goes into standby, the VPN connection is cut and also doesn't re-connect automatically.
We could fix this...
Under your VPN settings under general there's a setting "connect automatically"
I thought about this a bit more: - If the laptop is running connected a VPN and the battery level is critical, a standby or hibernation still should happen. Keeping standby on but having an option for a much longer period before going into standby if connected to a VPN would hence also work. Like the usual 10 minutes, e.g. an hour. That way it's more likely still connected, when I come back after a coffee. The advantage for having an automatic switch is of course, that I as a user don't need to change options all the time and also can't forget switching things. > We're not adding a setting for that. It's too niche. I feel like more people are going to work remotely > Under your VPN settings under general there's a setting "connect automatically" Yeah, but that would mean it connects always on startup / login, correct? We also use 2FA and I need to enter a TOPT upon connecting. >I feel like more people are going to work remotely
Sure, lots do. But connecting network settings to power settings is not something we should be exposing in the UI as that part is too niche.
> `kde-inhibit --power` will do what you're asking if you want to convert that into a script.
Definitely something I will consider. I think it should be possible to use dbus for monitoring, when (dis)connecting to the VPN and then invoke the script. Should work. Thanks!
|