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
Does anyone use electron based terminal emulators?

I’m aware of terminals like Tabby and Hyper — but does anyone actually use them? Why would someone choose an Electron-based terminal over emulators written in Rust (like Alacritty, WezTerm, or Ghostty) or something like Kitty (built with Python/C/Go)? Even the built-in terminal feels like a better option than one built on Electron.

I checked the RAM usage, and it was around 1GB for just 3–4 tabs. That’s why I’m asking. Blink and Electron are practically the same thing. So now your browser runs on Electron, your terminal runs on Electron — and half of your RAM is just gone.

Hyper and Tabby aren’t even the only Electron-based terminals — there are tons of them. That honestly baffles me. Is this just a case of “demand creates supply”?

https://redd.it/1k5t3om
@r_linux
Google search is so real
https://redd.it/1k5vls3
@r_linux
auto-cpufreq v2.6.0 is out!

Packaged with new features and improvements: https://github.com/AdnanHodzic/auto-cpufreq/releases

Project stats:
6300 GitHub stars
👥 100 contributors
🛠️ 48 releases

Huge thanks to everyone who made this release happen! 🙌

https://redd.it/1k5vty3
@r_linux
Android alternatives

I was getting pretty sick of Microsoft: my computer runs fine and can theoretically easily run Windows 11, although Microsoft wouldn't allow it, because of one small missing chip. So I finally "upgraded" to Fedora.

But I kinda have a problem with my phone as well. I bought it back in 2018 (OnePlus 6) and it just runs fine for what I use it for. I have Android 11, which isn't supported for some time now and my phone can't run Android 12 or higher. Google is as worse as Microsoft when it comes to software: you must buy a new expensive phone every 4 or 5 years, if you want it to run a secure version of Android. Even Android 12 is in the end of its lifetime, although it was released just 3.5 years ago.

I know there're Linux alternatives to Android, but I don't know if any of these are good and actively in development. So my questions is: do some people have experience with Linux alternatives? And what can you recommend?

https://redd.it/1k5wzsv
@r_linux
Too few memory to mount partition?
https://redd.it/1k5xo44
@r_linux
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