Linux - Reddit – Telegram
Linux - Reddit
749 subscribers
4.16K photos
207 videos
39.8K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
Will NVIDIA's cryptocurrency limiter interfere with nouveau drivers?

https://www.pcgamer.com/nvidia-ethereum-mining-limiter-cannot-be-hacked

>End users cannot remove the hash limiter from the driver. There is a secure handshake between the driver, the RTX 3060 silicon, and the BIOS (firmware) that prevents removal of the hash rate limiter.

Will nouveau work with RTX 3060?

https://redd.it/lo5pwg
@r_linux
A simple shell function for manipulating ini/conf style files

The following shell function will add or replace sections, keys, and values in an ini/conf style config file (please note that it modifies files in place, but could be adapted to use stdin/stdout or other variations):

confedit () {
SECTION=$1
KEY=$2
VALUE=$3
FILENAME=$4

# normalize line spacing
CONF=$(sed '/^$/d' "$FILENAME" | sed '2,$ s/^\[/\n\[/g')"\n\n"

if printf "$CONF" | grep -qF "[$SECTION]" ; then
if printf "$CONF" | sed -n "/^\[$SECTION\]$/,/^$/p" | grep -q "^$KEY" ; then
CONF=$(printf "$CONF" | sed -E "/^\[$SECTION\]$/,/^$/ s/^$KEY\s*=.+/$KEY = $VALUE/")"\n\n"
else
CONF=$(printf "$CONF" | sed "/^\[$SECTION\]$/,/^$/ s/^$/$KEY = $VALUE\n/")"\n\n"
fi
else
CONF="$CONF[$SECTION]\n$KEY = $VALUE\n\n"
fi
printf "$CONF" > $FILENAME
}

Usage: let's say there is a config file named config.ini that looks like:

[owner]
name = John Doe
organization = Acme Widgets Inc.

[database]
server = 192.168.200.50

Then the following would set the owner name to "Jane Doe":

confedit owner name "Jane Doe" config.ini

And the following would add a port to the database section:

confedit database port 1433 config.ini

And the following would add a new section "location" with a "city":

confedit location city "Addis Ababa" config.ini

Of course, this is a very simple example that might not cover a variety of use cases, but it certainly can be adapted to your liking.

I am very interested in ways to optimize the above, if you have suggestions.

https://redd.it/lo6amt
@r_linux
KDE Plasma + Khrönkite is so good. Give it a go if you'd like to try the tiling windows experience.

I tried some pure TWM, but they are very annoying to setup. I feel like it's a shame that there is no "ready to go" TWM... but at the same time I understand... otherwise they'd be called TDE, I suppose...

So, one day I gave the KWin noscripts a go, and... Khrönkite did it.

But at the same time, I guess their barebones approach scares lots of people on trying these different approaches. So, don't be scared and try this KWin noscript if you are using KDE Plasma, it really works great!

I wonder if there exists a Tiling Desktop Environment that combines the simplicity of no window bars, no fancy animations... with the good things about full DEs: all the applets and basic standard configurations for a nice functioning environment.

https://redd.it/lobbts
@r_linux
application process stops after I disconnect

I am asking around a few forums and look for the info to but I am a boob with Linux. My infrastructure is in Azure and it is doing well but every time I end my ssh connect the cardano-node stops. I have to input the command again when logging back on at a later time. :broken_heart:

Is that because I am using a poor tool Windows Terminal Preview? I use that tool, or VS Code because I can control literally everything from one tool; PowerShell Core, Java, Azure CLI, BASH, Git, etc… :computer:

I think my answer has something to do with **nhup**. I will be researching this meow but any senior guidance would save me some time and clicking about the internet like a mad man.

https://redd.it/loe2qc
@r_linux
Timeshift is a genuine lifesaver

Hello my dear Linux enthusiasts

I was experimenting with my system and suddenly i realized that I had deleted my home directory completely, though I had backed up my data externally...

But thank the best app according to me Timeshift saved my butt from all the pain of restoring the data, Timeshift did that in mins with just 3 clicks. Timeshift is light and easy to use, i think one shld use it just in case ya know you do something like me!

That's why I love Linux , you and the community so much because the support you guys have given is overwhelming, lets continue to help each other and after using Linux in Perseverance, let's make it more accessible.

Thanks a lot guys :)

https://redd.it/lofimq
@r_linux
Should I move to Linux?

I heard one of the biggest disadvantages of macos is that it is expensive. I already have a macos, so money isn't a factor. I also heard that macos has better security and driver compatibility. Is there any other reason to swap from macos to linux?

https://redd.it/loa0ck
@r_linux
Ubuntu studio vs ubuntu

N00b here, looking at distros to try out. What is the difference between ubuntu and ubuntu studio?
Is it just that it comes with a suite of preinstalled software? Or is it optimised in some other way for audio/video production?

https://redd.it/losm3k
@r_linux
Good introductory book to popular build systems (cmake, make, ...)

Hej,

I would like to get a better understanding not of one particular build system, but of several ones. The literature need not go to the deepest levels, I simply want to be able to build packages and be able to understand what to do after reading the README and be able to debug some of the more common failures that are likely to occur.

I hope what I want is clear, otherwise feel free to ask :-)

Thanks in advance, fellows!

https://redd.it/losdg0
@r_linux
r/kali4noobs

Hey everyone!

In an effort to try to improve the post quality on r/kalilinux, u/letsjambro has made an r/kali4noobs subreddit. If you have any questions about the basics of the Kali OS and pentesting/hacking come check us out! We do our best to help out everyone we can. Hope to see y’all there!

https://redd.it/lotbhm
@r_linux
Copying a tar file from my linux computer to a remote server

Hello,

I don't know if this is the right place to ask this question, if not please direct me to the right place.

So I have this tar.gz file and I want to send this to a bluewaves server at my school using scp. I don't really know how to do this so I was wondering if you can help me.

https://redd.it/lox9a3
@r_linux
recommendations for hardware & distro for new win10/linux machine?

I am thinking of upgrading my PC. My motherboard does not seem to happily support win10/ubuntu dual booting, I tinkered around a whole weekend and was not able to get it running. Are there certain hardware configurations that support dual booting better than others?

https://redd.it/loz2ir
@r_linux
Should automatic updates be "forced" in Linux distros reaching EOL?

I know Microsoft shoving updates down consumers' throat (+ forcefully rebooting) is a very controversial move, and I get it. However, what if distro maintainers put out a prompt to upgrade their system to the next supported version or the latest LTS (if there's an upgrade path for it) once the OS is close to reaching EOL (or a watermark notifying them about it)? That way, the user wouldn't have to worry so much about being secured. They can, of course, opt-out if they wish to, but at least they'll understand what's up.

As a person who works & lives with people that are not tech-literate, updates are the last thing on their minds, and they tend to ignore it. I've got coworkers coming to me just to update their system from Windows 7 to 10 because they've left it alone for so long & only found out about 7 being EOL when I was swapping their computers with one running on Windows 10 & informed them about it.

My dad is probably the most closest example I can think of. He currently uses Ubuntu on his desktop, and I maintain his system from time to time + added Canonical's livepatch. I did teach him how to update his system using the GUI, but there was a time when I left it alone for about 3-5 months (maybe more, I lose track of time) and it racked up a lot of updates.

Linux Mint recently shared a blog post about roughly 5-30% of their users still using version 17, and I'm guessing its because those users are the normies who have updates as the last thing on their minds. My dad would be in the same position if I wasn't there to do it for him.

I'm really curious to hear your thoughts on this.

Edit: I just want to clarify I'm asking this question with the "regular"/"general" user in mind, not the ones who know what they're doing.

Edit 2: this question only apply to consumer desktops, and not the corporate world (thanks /u/high-tech-low-life) + the option to opt-out (thanks /u/tmk).

https://redd.it/lp17rv
@r_linux