Linux - Reddit
946 subscribers
4.52K photos
207 videos
1 file
41.8K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
Thoughts from someone who just got into Linux.

TLDR: Pick your desktop environment first. Distros do not matter until you know what UI you like.
Currently running base Arch with CachyOS kernel and GNOME.

Day 9 on Linux. After all the distro hopping and agonizing over which one to choose, I came to a pretty surprising conclusion, the distro doesn’t matter at all until you know what DE you want.

Linux users are always quick to recommend a distro, but they rarely suggest a DE, terminal, or daily driver software, at least, that was my experience as a beginner.

The more I learned, the more I realized you can make almost every distro function identically at a surface level. Distros and kernels really only come into play after you figure out your interface and workflow preferences first. Linux is taught completely backwards.

Just some random midnight thoughts from a new user. Anyway this is what I ended up with for a primarily gaming rig.

My Current Setup.

I eventually landed on base Arch, running the CachyOS repositories and kernel, with GNOME as my DE. I originally tried CachyOS directly, but swapped to base Arch to cut down on package bloat, my current install sits at around \~950 packages, whereas a fresh CachyOS GNOME install was sitting at around \~1,800 on first boot.

https://redd.it/1viqo0g
@r_linux
PULS Linux Kernel/GRUB Management Tool
https://redd.it/1vityel
@r_linux
Device Directory Table

Hello Everyone,

I am currently stuying the part about devices directories in Linux system, and i thought ill make a list of all Device directories to refer back to when needed.

I made the below table listing all essential devices in Linux that you need to know about, while containig the category of these devices, naming, directory and the type of variable they use in their naming (replacing the * with the corresponding numrics or letters. e,g: /dev/sd* > /dev/sda, /dev/sdb, /dev/sdc... and so on).

Thought that i should share this list, and i hope this can be useful to anyone who's looking for a simplified listing of all devices and having them in one place.



|Category|Device name|Directory|* Type|
|:-|:-|:-|:-|
|Storage|Hard Disk|/dev/sd*|a, b, c...|
|Storage|Hard Disk - Partitioning|/dev/sda*|1, 2, 3... (no 0, starts from 1)|
|Storage|Virtual Disk|/dev/vd*|a, b, c...|
|Storage|Xen Virtual Disk|/dev/xvd*|a, b, c...|
|Storage|Non-Volatile Memory Express (NVME)|/dev/nvme*|0, 1, 2...|
|Storage|Device Mapper|/dev/dm-  SL to*   /dev/mapper|0, 1, 2...|
|Storage|CD & DVD (read only)|/dev/sr*|0, 1, 2...|
|Storage|Generic SCSI (passthrough)|/dev/sg*|0, 1, 2...|
|Storage|PATA (Parallel ATA)|/dev/hd*|a, b, c...|
|Storage|Loop Device|/dev/loop*|1, 2, 3...|
|Terminal|Virtual Console|/dev/tty*|0, 1, 2...|
|Terminal|Pseudoterminal (Master)|/dev/ptmx|N/A|
|Terminal|Pseudoterminal (Slave)|/dev/pts/*|0, 1, 2...|
|Serial/Parallel Port|Serial Port: RS-232 (COM1)|/dev/ttyS*|0, 1, 2...|
|Serial/Parallel Port|Serial Port: Plug-in USB Adapter|/dev/ttyUSB* & /dev/ttyACM*|0, 1, 2...|
|Serial/Parallel Port|Parallel Port: Unidirectional|/dev/lp*|0, 1, 2...|
|Serial/Parallel Port|Parallel Port: Bidirectional|/dev/parport*|0, 1, 2...|
|Audio Device|Audio Device: Advanced Linux Sound Architecture (ALSA)|/dev/snd/*|N/A|
|Audio Device|Audio Device: Open Sound system (OSS)|/dev/dsp & /dev/audio|N/A|
|Pseudo Device|Null Device|/dev/null|N/A|
|Pseudo Device|Zero Device|/dev/zero|N/A|
|Pseudo Device|Random Number Generator|/dev/random & /dev/urandom|N/A|
|Pseudo Device|Full Device|/dev/full|N/A|
|Input|Input Event|/dev/input/event*|0, 1, 2...|
|Input|Mouse|/dev/input/mouse*|0, 1, 2...|
|Video/Graphics|Framebuffer|/dev/fb*|0, 1, 2...|
|Video/Graphics|Video Capture|/dev/video*|0, 1, 2...|
|Memory|Physical/Kernal Memory|/dev/mem & /dev/kmem|N/A|
|Flash Memory|Flash Memory|/dev/mtd*|0, 1, 2...|
|Networking|Network Tunnel|/dev/net/tun|N/A|
|Networking|Syslog Socket|/dev/log|N/A|
|Misc Hardware|Watchdog Timer|/dev/watchdog|N/A|
|Misc Hardware|Real-Time Clock|/dev/rtc*|0, 1, 2...|

(it might not be 100% correct since im still in the process of learning them, so please help me correct anything in case you found any mistake or things that i should add!! or ask questions, in that case i can also learn something new myself while looking things up)

https://redd.it/1vipwv5
@r_linux
cmux clone built ontop of zed
https://redd.it/1vjl33d
@r_linux
Popular Linux torrent client Transmission has been forked as "ReTransmission" to "solve a longstanding disagreement between the Transmission maintainers on whether or not to add more maintainers."
https://github.com/transmission/transmission/discussions/9031

https://redd.it/1vjo8nz
@r_linux
What's your favourite music streaming software/YouTube music client?

I've been searching for ways to remove my monthly subscriptions but one I still have is Spotify, it's comfortable and works on multiple platforms and since I only pay 3'50€ monthly due to having a family plan I fear the change isn't worht it (that's why I ended up forgetting about self hosting).

One of my friends recommended ArchiveTune for Android which I'm really liking this far. It looks clean, looks easy, functional and it's receiving updates so now that I have the streaming on my phone covered I'm left with my desktop.

I used the web app for YouTube Music with uBlock via LibreWolf and it's working for me so far but ngl, the UI... Could be much better... Especially coming from YouTube.

So I'd appreciate it if you shared what you use to stream music on your desktops (without counting self hosting software or local file players)!!

https://redd.it/1vjoadw
@r_linux
How shared memory actually works in Linux

Had some free time recently so I made a visual explainer on how shared memory actually works in Linux.

Normally, two processes have completely separate virtual address spaces. Process A shouldn't be able to touch Process B's memory at all.

But with shared memory, one process can write a value and another process can read it without copying the payload between them.

The video goes through virtual memory, page tables, physical frames, shm_open, ftruncate, mmap with MAP_SHARED, lazy allocation, and what actually happens when either process touches the mapping.

I also get into related mechanisms like memory-mapped files, shared libraries, copy-on-write after fork(), zero-copy IPC, and eventually Dirty COW and what can happen when these page-table tricks go wrong.

Link for anyone interested

Feedback welcome :)

https://redd.it/1vjrahk
@r_linux
A easy to use Kernel/GRUB Manager for end-users, PULS Kernel/GRUB Manager
https://redd.it/1vjtbr7
@r_linux
Linux Showcase & Conference 2000 tote
https://redd.it/1vjwwux
@r_linux
This media is not supported in your browser
VIEW IN TELEGRAM
Trained a 1.5B to write shell commands so I'd stop googling tar flags. Runs on a laptop CPU
https://redd.it/1vk6s4a
@r_linux
I built a custom Linux initramfs audio workstation / software mixer for the Raspberry Pi (running entirely bare-metal/initramfs, no PipeWire/JACK)
/r/synthdiy/comments/1vk8rgc/i_built_a_custom_linux_initramfs_audio/

https://redd.it/1vk8sp4
@r_linux
I built a quiz that doesn't tell you which distro you "are": it hands you a complete Linux blueprint and a prompt to walk you through the switch

The site is yearoflinuxdesktop.org \- part manifesto, part quiz, part blueprint generator.

The idea: instead of another "what distro am I?" personality test, it maps your hardware, your tolerance for tinkering, and what you still need from Windows/macOS onto one of ten archetypes (The Civilian gets Linux Mint, The Arch Wizard gets Arch + Hyprland, The Gamer gets Bazzite, etc.). Then it writes you a copy-paste prompt you can feed to any LLM to walk you through the install step by step.

What might interest this sub: the scoring engine is one dependency-free JS file that runs identically in the browser and in a build harness. The harness brute-forces all 16M possible answer combinations on every deploy to verify that named personas land where they should and that guardrails hold (e.g., terminal-phobic users can never receive Arch). The quiz weights, the questions, and all ten archetype blueprints are plain JSON in the repo: MIT licensed, fork it, argue with the weights.





https://redd.it/1vk2flv
@r_linux
Linux CRU 0.2.0 - custom + stretched resolutions on Wayland (KWin, sway, Hyprland) and X11

https://preview.redd.it/lvehscns3jih1.png?width=640&format=png&auto=webp&s=bb9cca7b6fef3586e9b4cca28828efe95912c643

Two years ago I made this as an X11 NVidia-only custom resolution tool. Finally did a proper rewrite. It now works on Wayland (KDE, GNOME, sway, Hyprland) and on AMD/Intel/NVIDIA, and it does stretched resolutions - the 4:3-stretched thing CS2/Valorant players use to widen models - on KDE Wayland, which the compositor normally refuses to do on external monitors.

Also fixed the AppImage, which turned out to be missing tkinter and wouldn't launch on half of you. Sorry about that.

Let me know of any bugs you find!

Repo https://github.com/PhialsBasement/linux-cru
Release https://github.com/PhialsBasement/linux-cru/releases/tag/v0.2.0

AI Disclosure: Used Claude heavily during development, all the decisions and design details taken here are mine however.

https://redd.it/1vkhm1d
@r_linux
I never thought I’d love Linux so much

I was always a windows person. It was simple, seemed safe, and I grew up on it, so it was just what I thought I’d always use.

Recently I’ve been really stuck on not upgrading to windows 11 (it sucks imo) and just stuck on windows 10, watching my computer slowly eat itself away to problems I didn’t even think were possible. Then once the steam deck came out, I knew I had to get it.

Portable computer with steam games I already play? Sign me up bro.. but after a few months of just gaming, and a little bit of messing around with desktop mode, I decided to really get into it and see what all the Linux fuss was about. I’ve heard a lot of people really prefer it over windows, and I wasn’t sure why, but man once I got into it I couldn’t stop.

I know it’s only a steam deck so the specs are not anything too crazy, but it feels so much better than my upgraded pc. Windows bogs it down so much a weaker pc feels better. And I mean, SO much better. It feels like when I first started getting into computers as a kid, everything was so fast and new to me.

It wasn’t too different from windows, besides being heavily unbloated, giving me a lot more control over what I do, and the discover software center on my gosh. I don’t know why everything isn’t based on Linux at this point, it’s SO much better with the app quality. (Well, I do know why but everyone should switch to Linux!) And the community seems so much more organized and passionate about this OS, it makes me feel cozy almost. I don’t think I can ever go back to windows again.

TL;DR, windows slow, little control, makes me sad. Linux fast with more control, makes me happy.

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