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

Powered by : @r_channels
Download Telegram
is 24gb of ram a overkill for this laptop?
https://redd.it/1k61kfn
@r_linux
Probably a Linux user, I don't know.
https://redd.it/1k67h8r
@r_linux
Favorite Utilities for Namespace Management?

I suppose the utilities for namespace management are `unshare` and `nsenter`, but those are low-level and make it easy to shoot yourself in the foot. I've become a big fan of `ip-netns` because it has safely rails and handles bind-mounts, but it's only for managing network namespaces. Are there similar utilities for mount namespaces, PID namespaces, etc?

https://redd.it/1k6b1ie
@r_linux
I switched from macos to Linux because it can't stop babying users and being unnecessarily restrictive
https://redd.it/1k6grd0
@r_linux
USB through-output optimization.

Hello.

Let me explain first what exactly a problem. I’m using PC for online streaming, recording with OBS Studio using four usb Elgato video capture cards connected to four SLR cameras giving me four different angles. By experiments I figured that it’s crucial to have capture cards connected to usb ports which is on separate lanes to have a smooth and stable video signal from the cameras. So just to answer some might appearing questions hardware wise. Yes it is exactly same camera models with exactly same settings, exactly same HDMI cables and exactly same capture cards with exactly same OBS setting for each ones.

And after connecting everything and starting streaming everything is fine and as it suppose to be. But after sometime one of the cameras starting occasionally dropping few frames for a 10 - 20 seconds and gets back to normal but because of that cameras is getting out of sync with each other. It’s happening randomly with different cameras, not with some particular ones. So I presume that it is not hardware related. It’s like some buffer gets overflowed or something. Sometimes even for an hour stream is perfect but frame dropping could happen anytime and it is happening unfortunately.

I tried different distros, tried different kernels, different governors and Clear Linux giving me the most longest time before lags are occurred. Same problem with Macos and Windows 10 and 11.

I’m linux user for a past 10 years still can’t call myself an expert, advance user may be. I tried to research this for a while with no working solutions so far. Checked with OBS forum as well and people saying that OBS is just works with whatever signal it’s getting from capture device. Also noticed that under the wayland frame dripping is less because of the smoother desktop animation and between apps switching. X11 is fine unless you are always on OBS app without going to other desktops or windows.

I know that linux is probably the only system where everything is possible. So, is there anything I can do to get rid of this? Somebody with a knowledge how to optimize stability of USB through-output have any idea on that? Will appreciate any advice.
Thank you in advance.

https://redd.it/1k6n60w
@r_linux
Bash snippet to run commands (like updating your packages) at boot/login and every day of uptime

I've made this quick bash code because i always forget to run updates on my package manager, rust's toolchains, etc etc, so now I don't need to because my terminal "forces" me to do it every time I start a session and every day after. (I can still force cancel with ctrl+c if i need the terminal right now)

  
# Update system and rust only one boot/login or every day otherwise
up_days=$(awk '{found=0;for(i=1;i<=NF;i++){if($i=="days,"||$i=="day,"){found=$(i-1)}}print found}' <<< $(uptime -p))
if [ ! -f "$XDG_RUNTIME_DIR/has_updated" ] || [ "$up_days" -gt "$(cat "$XDG_RUNTIME_DIR/has_updated" 2>/dev/null)" ]; then
success=true

yay -Syu || success=false # or apt or whatever idc
## other commands idk, ex :
# rustup update || success=false
# opam update & omap upgrade || success = false

$success && echo "$up_days" > "$XDG_RUNTIME_DIR/has_updated"
fi


anyway if you have suggestions, feel free, i made that quickly and dirtily so it may not be perfect

https://redd.it/1k6nzqb
@r_linux
Sharing my weird Nvidia with a faulty VRAM experience - open source driver wins!

My old laptop from 2019 has a GTX1650 card which still fits me very well. Well, used to, because last summer it started displaying artifacts after days of gaming (botw).

Funny thing is on linux with open source drivers, I don't have any artifacts, but on both windows and linux with proprietary drivers I am always full of them (even watching youtube on an external monitor). I suppose that might be a consequence of prime (perhaps the image is rendered in the end by my integrated card with oss drivers).

Anyway, works for me - points to open source software!

https://redd.it/1k6oz1a
@r_linux
MT7925 WiFi Performance Fixed with 6.14.3

I don't know who did what, but since around February my Gigabyte x870E Elite's MT7925 WiFi 7 card performance has been hamstrung to about 200Mbps, after initially running at about 700Mbps in January.

With the release of kernel 6.14.3, I am now getting 900Mbps, so someone has made some rather nice changes here and I am more than appreciative! I saw some entries in the change log for the card, but I don't really understand them... but hopefully anyone else with this card is also seeing the benefit.

https://redd.it/1k6plmq
@r_linux
Good for Ubuntu? 5700G - ASUS Prime B550M-A WiFi II

Switching back to Linux :)

Going to be building a new box. Any issues with this cpu/mobo/internal GPU?
Thanks!

AMD Ryzen 7 5700G 8-Core, 16-Thread Unlocked Desktop Processor with Radeon Graphics ASUS Prime B550M-A WiFi II AMD AM4 (3rd Gen Ryzen) Micro ATX Motherboard

Will be mostly for docker /python dev

https://redd.it/1k6p2r3
@r_linux
Install Boot Manager afterwards

Hello i am dualbooting tiny 10 and fedora linux on my laptop but i need to press f9 every time i boot so i can choose what os to use is there a way to install a bootloader after both os´s are alredy isntalled?

https://redd.it/1k6t8vx
@r_linux
I was bored, so I created a simple yet powerful, fully modular terminal-based code editor. Even for saving files, you need to plug in the "save" module—haha, enjoy! I made the code easy to understand, so even beginners can create their own modules, like syntax highlighting for a particular language.
https://redd.it/1k6yqxk
@r_linux
Which desktop environment is your favorite?
https://redd.it/1k716il
@r_linux
How does Linux handle input devices like microphones and webcams?

When using the Gnome Camera app, I was prompted if I want to allow the app to access my webcam, but when I used my browser (Firefox) to access my webcam I was prompted by Firefox it self, but not my system.

Similarly, when any program (that I know) uses my microphone, I can see this in the taksbar of Xfce using the PulseAudio plugin. Nonetheless, I never got asked if I wanted to allow access.

Now I wonder, how does Linux handle these devices? I assume that there is not one universal response, but what I think that there is probably a layer between the direct OS access to the devices and the programs access to said devices, for example with PulseAudio. I am also interested if and how secure this really is.

(This is my first post on this subreddit, please let me know if this post does not fit here.)

https://redd.it/1k73c0v
@r_linux
SOO-DOO or SOO-DOUGH?

When pronouncing sudo, do you pronounce it as SOO-DOO or SOO-DOUGH? I personally pronounce it SOO-DOO because it used to stand for superuser do, so put the pronunciations of the 2 words together, SOO-DOO.

https://redd.it/1k74i07
@r_linux
"Porting" Realtek's EQ Presets

Dunno if this is the right place to ask but it's been bugging me for a while to mimick the audio quality Realtek HD manages to produce on Windows using EQ presets, particularly the 'Powerful' preset, via EasyEffects with PipeWire on Linux with little success on my part. I managed to get close to getting it, however, sound gets screechy in some places while lacking enough clarity in others, unlike that crisp and bassy EQ preset.

Secrets, tips, and tricks from experienced audiophiles are welcome and very much appreciated.

https://redd.it/1k733tc
@r_linux
What's the most "unique" DE/WM and why?

So I asked questions about linux distros already and I did get alot of answers, but now I wanna know what your most unqiue de/wm is!

For my it's nscDE because it replicates the og xorg style so well and it also gives nostalgia vibes. If you aren't familiar with that DE you can seaech it up,youll be stunned

https://redd.it/1k788ci
@r_linux