linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Supermariofan67, in How can I run something that needs sudo at every login without having to do so manually?

For this in particular, look into setting up NetworkManager to do the openvpn configuration, it has that functionality built in. Otherwise, systemd unit file

tophneal,

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.

tophneal, in How can I run something that needs sudo at every login without having to do so manually?
nieceandtows,

Yeah OP, look into this. It’s easy once you get the hang of it, and you don’t have to make your system vulnerable by making sudo password less.

exscape,
@exscape@kbin.social avatar

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.

ReCursing,
@ReCursing@kbin.social avatar

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

Atemu, in How can I run something that needs sudo at every login without having to do so manually?
@Atemu@lemmy.ml avatar

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.

UID_Zero, in How can I run something that needs sudo at every login without having to do so manually?
@UID_Zero@infosec.pub avatar

Look into editing the sudoers file. Add a line that allows you to run openvpn with the NOPASSWD option.

I strongly recommend not using that for everything, just the specific commands you need to run non-interactively.

ReCursing,
@ReCursing@kbin.social avatar

I didn't know that was an option! Sounds generally insecure but if the other options here don't work out this should solve it. Thanks!

UID_Zero,
@UID_Zero@infosec.pub avatar

It’s only as insecure as you make it. It’s an option, it needs to be used responsibly.

lurch, in How can I run something that needs sudo at every login without having to do so manually?

AFAIK you can allow it in the sudoers file to not need a password, if you keep the sudo.

idk how KDE autostarts, tho.

e_t_, in How can I run something that needs sudo at every login without having to do so manually?

Read the documentation on the sudoers file. You can specify particular commands to not require a password.

cmnybo, in FOSS monitor calibrator?

Gamma can be adjusted with xrandr.

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.

milkytoast,
@milkytoast@kbin.social avatar

see idc about it being color accurate, just looking a big better. gamma is the main issue tho, so thanks

domi, in Parametric equalizer on Linux?

Check out Easy Effects. Flatpak version is available.

github.com/wwmm/easyeffects

remotelove, in Parametric equalizer on Linux?

Not sure if federation issue, but I see a triple post.

milkytoast,
@milkytoast@kbin.social avatar

mm kin kept saying it didn't post lol. will delete copies

HorreC, in Ubuntu Touch OTA-4 Rolls Out to Linux Phone Users with Various Improvements
@HorreC@kbin.social avatar

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.

Snarwin, in Does Wayland really break everything?

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.

DLSantini, in Read to leap into Linux

I doubt you’re going to get many responses here that aren’t basically ” you don’t need Windows at all, proton is magic that will solve all of your problems"

I’m going to give the opposite advice. I can tell you from experience, if you dual boot Windows and Linux, you’re going to find that over time, while in Windows to use the stuff that only works there, you’ll ask yourself “do I really need to shut down Windows and boot into Linux just for that one thing I need to use real quick?”, and you’ll just do it in Windows. You’ll do that more and more, until you realize you have that Linux install sitting on your drive for no reason, because you don’t use it.

My advice is to either test out a gaming-centric Linux distro, and see if EVERYTHING you want to use works fully(and I do mean try it for yourself, doubt just assume it works because other people say it does, Google a setup guide for the thing you want, and actually try it), or if you have anything you want to use that MUST run on Windows, just stick to Windows for the time being. You can always keep an eye on the status of the thing you want to run, and when it works properly on Linux, have another look at switching fully.

One exception would be if you really only spend a very small amount of time gaming, and so would only need to be in Windows occasionally. If you really will spend the vast majority of your time in Linux, then it makes sense to dual boot. But if you plan to spend any real amount of time doing stuff in Windows, you’re going to find it really obnoxious to have to go back and forth.

jabeez, in Help me find a fitting distro

Kubuntu or KDE Neon (also a 'buntu). I absolutely love KDE, and the Linux desktop experience in general has come a long, loooonnng ways in recent years.

rokejulianlockhart,
@rokejulianlockhart@kbin.social avatar

Is Kubuntu with KDE backports or KDE Neon better?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Hentai
  • linux@kbin.social
  • doujinshi
  • announcements
  • general
  • All magazines