Linux - Reddit – Telegram
Linux - Reddit
749 subscribers
4.17K 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
Wanna install Gentoo?

Many people wanna try out a more advanced GNU/Linux distro like Gentoo, but get overwhelmed by the seemingly daunting installation and maintainment process. I made an easy to follow, not too long installation guide with a voiceover that details how and why to set up everything you need for a base system.

link to the video

https://redd.it/lnuadt
@r_linux
Can hardware dictate suitability?

Many say that all Linux distros are basically the same thing. It's only the cosmetics that change.

So I wanted to ask, can Debian/deb-based distros work better in some hardware while arch and its derivatives work better for another?

Is it a legitimate observation that an arch based distro has worked well for my laptop compared to debain or have I just not learned how to optimise the system?

Edit: Works better = the opposite of the following: Mouse movement is often laggy, programs hang during execution, web browsing is slow and lags while I type, libre office is unbelievably slow to use.

https://redd.it/lnh2h9
@r_linux
Is it possible to use a command via an env var?

What I mean is,if you wanna use the command "foo" is it technically possible to use that as a env var somehow?

So I wanna do this,cause you can enable env vars globally.

I also use many commands that aren't env vars for every program,so it would be cool to use it as an env var to enable it globally.

I hate opening the terminal and type for example "foo gimp",I just wanna use those commands globally.

So I wanna know if that makes sense and is possible at all?

I didn't post it at r/linux4noobs cause this isn't a noob question I think.

https://redd.it/lnxc4c
@r_linux
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