For this in particular, look into setting up NetworkManager to do the openvpn configuration, it has that functionality built in. Otherwise, systemd unit file
I don’t use open VPN so I don’t know for sure, but I think you’re right as the best way to go. Pretty sure I recall Network Manager having an option to set a vpn to be always on when a network connection is made and an option to save credentials.
You can make sudo password-less for a single command (including using specific arguments) though, so even if using sudo were the only solution, it wouldn't be that bad. For example, I have a sudoers entry that allows my user to decrypt my ZFS pool by executing a root-owned script (with permissions 700), but everything else requires a password.
That looks pretty straightforward. I'll look into doing that. And if I can;t make it work I'll go with the cron job option suggested by @Andromeda above
Actually OP, for the easiest, safest option to your system I would say @Supermariofan67 hit the nail on the head. Use your network manager settings: forum.manjaro.org/t/…/46298
If you’re using NetworkManager, I’d recommend you to use it to create a VPN profile instead and connect to that on startup through the unprivileged nmcli.
If you want to do a proper color calibration, lookup “color management” for your distro or desktop environment. You can load an ICC color profile, but you will need a colorimeter or spectrometer to create one.
I have a few PinePhones and its nice to have that kinda access to the hardware and the OS's are good, but they would not be something a normal person would use. Too much choice.
Are you using services running on the OS, Docker or VMs?
With Docker you can set the Network and have some containers traffic egress on the vpn while others have no WAN or direct access. You can have a container join multiple networks to have the best of both worlds.
With VMs, you can set the network interface
With the OS, you might be able to set network interface for each service, but I don’t know how
It looks like the article's answer to the question in the title is essentially "yes, but someday, eventually, it won't."
Personally, I look forward to the day when "Wayland-and-Pipewire-and-Portals" is a mature platform, and I can switch over to it without too much fuss. Until that day comes, though, I'll be sticking with Xorg.
Update: m/LinuxHardware is now listed on r/LinuxHardware's sidebar as the alternative fediverse destination, we will continue to work closely to strenghten this new partnership.
Linux
Newest