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

Powered by : @r_channels
Download Telegram
Monkeytype clone for the terminal
https://redd.it/1iyq94y
@r_linux
Please forgive me for the errors of my past ways, +1 user migrated back to Linux.

I'm gushing over my recent move to Linux and wanted to share and get this off my chest. So sorry for the long and probably useless post.

I used Slackware Linux as my main OS back when I was in my teens and 20's, I stopped because I wanted to play games and drink beer and Windows was easier. I later ended up becoming a Windows SysAdmin for over a decade and leaned in heavy into PowerShell (which I still love and prefer). So I know my way around Windows, I was always able to roughly lock down and customize Windows to what I prefer. Ever since I only used Linux as a tool more than a desktop OS. After the news of Recall I set myself out to build a new custom Linux PC, because no fucking way I want my shit near that, and this weekend I migrated over.

I can now say it's now become easier to configure Linux than it is to continuously update and modify my system after Microsoft decides they what to change things, like moving my shit into OneDrive without my permission after last months update.

Things that absolutely shocked me:

How much more responsive and faster Linux is, while barely breaking a sweat on my machine, including playing some top end games (CyberPunk 2077, BG3, RDR2, Forza4, HuniePop, Nier Automata, Hogwarts Legacy all had no issues)
Steam, and how easy it was to transfer my Steam Library from my Windows machine, I've transferred roughly 60 games currently.
How easy it was to run games from my Steam Library.
Firefox, specifically I used Firefox on my Windows machine so moving to Linux was a breeze with Firefox Sync.
How many games I was able to play from my Steam Library, at this point, I'm trying to find one that does NOT run on my system. (My guess is online/anti-cheat games won't work)
How easy it was to set up JellyFin (I'm still slowly migrating my media library from Plex, I'm trying to figure out how to setup storage for everything, so far putting everything in /srv/videos where I believe that's a good place to store things)
How gorgeous it is. I used to hate KDE back in the day but I'm currently using KDE Plasma and wow!
How much fun I'm having just checking out the software, configurations, and customization's. I legit feel like a kid again.
Configuring SMB to connect to my Windows file shares. Honestly, I didn't do a damn thing, it just.. worked? I remember that being a giant pain in the ass back in the day.
Setting up dotnet. Why the hell can I build my C# app better here than on Windows with Visual Studio 2022?


Things I found difficult:

Copy and Paste, especially from the console. (Not used to Ctrl+Shift+v)
Editing in the console ( Alt+Backspace to delete a word instead of Ctrl+Backspace for example)
I still hate setting up partitioning on my drives, I started from scratch and I found setting up the partitions was a pain.
Package managers. I'm sorry they all suck. I'm sure I'll adjust but considering the times I've used Linux in the past, dpkg, rpm, yum and apt were enough as is. Adding dnf and understanding flatpaks to that growing list is annoying.
Spotify. Wow Spotify crashed all the time in my previous installs of PopOS, Debian, and it's only somewhat stable in Fedora. I've had to uninstall and reinstall a few times now.
Getting my audio working. This is more of a forgetful aspect, I had no idea how much control was available for the audio and I just needed to change the Applications to use the device I wanted.
Window tiling, I'm sure I'll work this out and I think it's just KDE Plasma, but setting tiles on a Portrait landscape screen is less than desirable.
Finally, stopping myself from writing more positive things in this post about my Linux experience or going off in a philosophical tangent about the state of current day technology trends.

It's been less than a week and it's been a real eye opener on just how much Linux has evolved and how little credit I gave it for the last decade or so. So if anyone is in doubt about switching, I hope this gives some insight
and helps quell your doubts. I'm still re-learning Linux, but this entire process was much easier than expected, and I'm able to do a lot more than I thought I would. I still miss Slackware though.

https://redd.it/1iys7ij
@r_linux
New Linux Malware Known As Auto-Color Affects Universities and Governments


A newly discovered Linux malware known as Auto-Color raises alarms across institutions.

The malware enables attackers to gain full remote access to compromised Linux devices. Detected by Palo Alto Networks, it targets universities and government bodies in North America and Asia, exploiting user execution of the malware. Its sophisticated evasion makes it imperative for affected sectors to enhance their cybersecurity measures.

- Enables attackers full remote access to Linux devices.

- Requires explicit execution by the victim.

- Compromises sensitive data and device usability.

- Detected by Palo Alto Networks in November 2024.

- Uses innocent file names for evasion.

- Difficult to remove without specialized tools.

- Critical for organizations to enhance user awareness.

- Indicators of compromise provided by Palo Alto Networks.

(View Details on PwnHub)


https://redd.it/1iyx3mf
@r_linux
Any recommended reading to learn bash?

I use Linux for a long time and I use the command line relatively often. I even use Helix as my main editor. But I never deep dive into bash.

I have some basics, so I don't need a total beginner recourse. But I want to learn more about bash and what I can do with it.

Can you recommend any book, tutorial, video or other recourse to dive deeper?

https://redd.it/1izazqt
@r_linux
How does Qt Commercial license allow distribution of my derivative work in binary format without requiring to disclose the source code, a way to link the dependencies and allow me to statically link all those APIs?

Pardon me, I know I should probably have asked this in Qt's subreddit but this specific Qt topic strictly revolves around the GPL/LGPL and FSP philosophies, hence I thought this would be the best place to ask about it. Also this subreddit is huge.

[ Here is what I understand \]:
. I understand the FSF philosophy and freedoms.
. I understand the higher level gist of GPL.
. I understand the higher level gist of LGPL.
. I understand that by using LGPL libraries, I don't have to provide the source code for the derivative of my work. Either I can statically link such libraries with the object file(s) of my source code and create the final executable/derivative, or I can dynamically link those LGPL compatible libraries to my program and distribute the derivative to my recipients. But in both cases, I am bound by the rules of the LGPL to provide a way to link all the LGPL based dependencies that my program uses, to all the recipients/users/clients who will use my derivative/program so that my recipients get to have the freedom to rebuild my object files with the external Qt dependencies of versions of their choice as long as they are ABI compatible with the main executable.

[ What I don't understand is \]:
How the heck is Qt the company able to bypass such FSF restrictions when we buy a commercial license from them (for that we have to be a Government/legal registered company)?
I mean doesn't Qt the company also inherit all those freedoms as well as restrictions? How I as some no-name company when buys a commercial license to use the Qt SDK from Qt the company give me full freedom that is completely free from any FSF/LGPL obligations?

It's not like Qt the company have from scratch re-written 100% of all the OS APIs by their own hands that have been known since like 50+ years and they are renting this specific built-in-home SDK to us. Or have they really done this impossible work all by themselves?

I am not a commercial license holder of Qt SDK. I am just curious to know how this all works.

https://redd.it/1izep8s
@r_linux
Yes, RAM Usage Does Matter

In recent years, I've noticed opposing opinions regarding RAM usage in various DEs and WMs, with the general overall consensus being that the extra RAM use reported in your system monitor app of choice usually doesn't matter because "unused RAM is wasted RAM". I was personally indifferent towards that discourse until this past week, which has firmly put me in the camp that strongly believes that more free RAM is good, and using a DE or WM that prioritizes low RAM usage is more beneficial than I used to think.


For context, I work from home and typically need to have multiple browsers with inefficient apps like Teams and various poorly coded company portals open throughout the day. My workflow was recently updated to necessitate the occasional use of a minimal Windows 10/11 environment via Virtualbox. I have always had a preference for lighter DEs, so most of my time on Linux has been spent using either Gnome 2 or XFCE. With the recent updates to my workflow, I had started to notice instances of random freezes and reboots - usually around the heaviest parts of my workday. Upon closer inspection, I realized I was routinely hitting my RAM ceiling around the time of these freezes/reboots, so I started making plans to bump my laptop up from the current 16GB to either 24 or 32GB.

It just so happened that I was having some issues with my multi-monitor setup after recently switching from my old faithful T430 to my current T480, so I swapped to MATE temporarily, which fixed the issue. That led me down a rabbit hole of quickly testing a few setups - including an old autorandr setup I had configured during a past fling with Openbox. I eventually realized that the culprit was XFCE, so I ended up swapping to Openbox with autorandr, which solved that problem. After 2 weeks of working with Openbox, I realized that the lack of native window snapping was starting to become an issue for me, so I dusted off an old DWM setup I had from about a year or 2 ago, made a few changes to the config to better suit my new workflow, and merrily switched back to my tiling WM setup without missing a beat.

With all that preamble, we arrive at the start of this week into my second week back on DWM, when I suddenly realized that my laptop had not frozen or rebooted randomly even a single time since I switched to Openbox. Upon closer inspection, I noted that Openbox and DWM both used almost 200MB less RAM than at startup my XFCE setup with all the same autostarted functionality, and were sometimes using over 1GB less of RAM under maximum load. This realization led me to delay my RAM purchase and just continue to observe my system behavior for a while just to confirm my new bias.

In summary, I'm still gonna upgrade my RAM (and storage) because big number go brrrrrr, but I now have a new appreciation for setups focused on minimizing background RAM and CPU usage to allow me to actually have those resources available for using my apps/programs.

https://redd.it/1iznl89
@r_linux
Why don't we see Windows apps packaged with Flatpaks using Wine?

I thought I would see Wine apps pre-packaged as Flatpaks and even available in Flathub. Since those apps sometimes require a lot of configuration to setup correctly, I used to believe Flatpaks would help pre-configure apps so they would become basically download and play.

But we didn't see that. Why? Are there any technical reasons why Flatpaks can't package Windows apps? Any legal reasons?

https://redd.it/1iztun9
@r_linux
Built LFS with musl instead of glibc and libressl instead of openssl, just for fun.
https://redd.it/1izwjpt
@r_linux
Switching from Windows to Linux for Gaming – Need advice (config linked)

Hello everyone,

I'm getting a new gaming PC soon, which you can see the full configuration here . For personal reasons (particularly related to current American politics), I'm considering switching from Windows to Linux. I have a good technical background, but I'm still quite unfamiliar with Linux distributions. So I'd like your advice on how to make this transition a success.

I'm particularly interested in Endeavour OS , especially because of its Arch base and more user-friendly appearance. My main goal is to run my games, which I mostly buy on GOG and Steam via European key resellers. If you've already experimented with Proton , Wine or Lutris , I'd be happy to hear your feedback on compatibility and performance.

Also, I have a Steam Deck and want to set up local remote play from this new PC. If you have any tips or recommendations (network or software) to make streaming smooth, I'm all ears.

On the office side, I'm looking at LibreOffice to replace Microsoft Word, Excel and PowerPoint. Are there other suites that you find more complete or easier to use? And for PDF file management or editing , what are your favorite solutions on Linux?

Finally, I plan to experiment with a local LLM model of about 9B to 13B parameters. Do you think this is feasible on my PC? I also want to be able to access it remotely (from a laptop, for example). Any information on the necessary configuration, or sharing of experience, would be greatly appreciated.

Thank you all in advance for your advice and feedback. I am open to any comments that could help me approach this migration in the best conditions!

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