Στις 2020-02-03 14:24, Jim Popovitch έγραψε:
On Mon, 2020-02-03 at 14:07 +0000, Nektarios Katakis wrote:
Στις 2020-02-03 12:59, Jim Popovitch έγραψε:
> Hello!
>
> Is there a way in Buster+Cinnamon to disable evolution-
> (calendar|addressbook)-factory until after a VPN has connected?
>
> Everytime I login and start Evolution I have a handful of blue
> warnings,
> that I must clear, because Evolution was unable to connect to services
> only available over a VPN. By the time I clear the blue warnings the
> VPN
> is active, the warning just accrue after login and before network
> manager activates the VPN.
>
> -Jim P.

You can run the VPN as a systemd user service as the Evolution is now.
And put VPN service to run before the evolution one.

The NetworkManager-OVPN depends on user configuration, therefore the VPN
won't start until after user login.

The calendar service should be the same. Since it s a user service it starts
after you login.


Alternatively you can disable evolution from starting automatically and
do it once you have connected manually in your VPN.


To disable it you can try: `systemctl --user disable evolution-calendar-factory.service`
Alternatively you can remove the WantedBy block from the unit file.

Thanks, any thoughts on how to do that?

-Jim P.

---
Regards,
Nektarios Katakis

Reply via email to