Linux - Reddit – Telegram
Linux - Reddit
770 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
How is wayland on Nvidia cards in 2025?

In your experience what is the performance difference between X11 and Wayland in 2025? I've used KDE Plasma in the past on an AMD laptop and have really enjoyed it, but I want to get into tiling WMs (and I have an Nvidia desktop now, currently running windows). An obvious choice is Hyprland (for the ricing), but ive heard that wayland hasn't been kindest to Nvidia cards in the past.

The Nvidia performance drop-off from windows to linux is already pretty rough (from what ive seen), so if wayland only amplifies that I think ill hold off the switch for now.

https://redd.it/1l2g6ni
@r_linux
Ubuntu pre-installed Laptop

Hi folks,

For a new project at work, I am advised to get a laptop with Ubuntu. I do not have the patience to install an OS so I am looking for one with Ubuntu pre-installed. I have some level of knowledge on hardware and software but it has been a long while since I last had an interest at the market. Recently I have little to none patience / attention span to read and digest what I read. (Under too much stress lately and dealing with a lot of anxiety.) I do not want to take the pen and paper to write down possible options and make a comparison list. Hence I come to ask for your help on this.


Considering that this laptop will be used for basic work stuff (very likely that none to very little coding) what would be your suggestion? I don't want to buy a used or second hand one but I am open for buying a refurbished item from the original seller. I had a look at the brands that sells laptops with re-installed Ubuntu and I have a slight inclination towards Dell rather than Lenovo but if I am open for all suggestions. If I can find something silent, light and cool, I will be the happiest!


TIA!

https://redd.it/1l2jf3b
@r_linux
LinuxToys - a multitool/installer with an extra punch

https://preview.redd.it/mqyxw02gas4f1.png?width=779&format=png&auto=webp&s=b6bae6a14178403ca8c320efa2522fc65c1fb2bd

I've been hard at work lately developing an application to simplify migrating to Linux from basic users, to gamers and developers, and now I feel like it's the time to finally bring it over here to everyone. You can find it here, and quickly install it using the proper package for your system. It is available as .deb and .rpm packages and a PKGBUILD and .install coupling for Arch-based distros.

Features

\- Allows batch-installing many common applications, fast tracking post install.
\- Includes tweaks to some of them tailored for newbies, like Steam installing both native and flatpak versions as there are games that only work properly in one or the other, and making them show up in applications menu separately.
\- Also includes fixes to many common problems, like audio crackling on OBS Studio - for which my installation process includes the Pipewire Audio Capture plugin, allowing to get audio I/O from Pipewire and not having Pulse-related issues.
\- Streamlines installation procedures for many developer tools that otherwise have very convoluted installations, and for DaVinci Resolve for creators.
\- Includes many tweaks, some of my own design, like the shader booster for increasing maximum shader cache sizes for any GPU and fixing stutters, in the Extras section.
\- The Extras section also has installers for the CachyOS optimized kernel - for Debian/Ubuntu I advise caution since it's a bit experimental; while it works very well on my Debian Testing, it might not work everywhere with the default settings of the compiler; I do recommend, however, sticking to the default version choice if you like more stability, since that one is handpicked by me for the smoothest experience. If you choose to do so, opening LinuxToys will also check if I rolled an update to the kernel version, keeping it easy to keep track of things.
\- It also has an installer for Nvidia GPU drivers (both latest and 470 for Kepler cards) for Fedora and OpenSUSE, and a couple things that OpenSUSE users may find handy - media codecs and SELinux setup for gaming.

Despite the screenshot being in portuguese (since that's my language) it has an english version - and if anyone wanna contribute with translations, it will be really appreciated; there are clear instructions to do so in the GitHub repo's readme. It's always being improved upon by me and receiving new features.

Hope you find it useful and convenient!

https://redd.it/1l2p1az
@r_linux
Is there a way to get fortnite to run on Linux?

What's up, im using windows 11 pro rn and I'm low-key tired of how crap it is, I mainly play fortnite and forza on my PC, is there a way to get those games to run under da penguin?

Please and thank you

https://redd.it/1l2qfdn
@r_linux
How do you break a Linux system?

In the spirit of disaster testing and learning how to diagnose and recover, it'd be useful to find out what things can cause a Linux install to become broken.

Broken can mean different things of course, from unbootable to unpredictable errors, and system could mean a headless server or desktop.

I don't mean obvious stuff like 'rm -rf /*' etc and I don't mean security vulnerabilities or CVEs. I mean mistakes a user or app can make. What are the most critical points, are all of them protected by default?

https://redd.it/1l2tjjm
@r_linux
What makes Deepin Linux better and rendering my native language Urdu compared to any other Linux distribution?

So I have been using Linux since the early days of Unity desktop. Over the years, I have tried many Linux distributions i.e. Ubuntu based, Debian based, Fedora based, Arch based and many independent Linux distros. Currently I am using Solus and it works great but the Urdu characters look horrible. Individually, these characters may look just fine but Urdu characters are connected when typed without spaces. That is where the words made from Urdu characters start to look bad.

I have tried to work with Urdu on all Linux distributions that I have used but apparently only Deepin seems to be rendering Urdu almost perfectly. It does have some issues here and there but those issues are ignorable. While the same cannot be said for other Linux distributions. I have tried changing fonts on Ubuntu, Fedora and OpenSUSE but doing so does not make this issue go away. Microsoft Windows has perfect support for Urdu language and Urdu characters are rendered perfectly.

In LibreOffice, we have to activate the support for complex languages before adding Urdu support. Only then Urdu start to look as good as it does on Microsoft Windows and Microsoft Office. I mentioned this here to ask whether there is something specific to install in Linux for enabling good support for Urdu language. If not and if only changing font is an option, then please suggest some good fonts for my Solus OS KDE to make Urdu characters look good on this Linux distribution.

https://redd.it/1l2xrgd
@r_linux
Any multiboot USB alternative to ventoy on Flathub?

Hi,

I have been using venoty for multiple years and every some time it disappears from boot menu and I need to install it again.

So, is there any alternative but I can install it from Flathub (Or snap maybe)? I am using Fedora and prefer using installed apps not extracted compressed files.

Thanks in advance.

https://redd.it/1l321uo
@r_linux
surface studio laptop 2 trying to install linux.

I have a surface studio laptop 2, but currently the battery life is pretty shit. Can anyone reccomend me a linux distro to use, that increases battery life, easy to install + beginner friendly, performs well with surface hardware, and can still optimize the performance.

https://redd.it/1l33x6l
@r_linux
TIL: modules.dep is a Makefile

The modules.dep file (usually under /lib/modules/<kernel version>) lists kernel modules and their dependencies. Here's a sample:

kernel/fs/ext4/ext4.ko.gz: kernel/lib/crc16.ko.gz kernel/fs/mbcache.ko.gz kernel/fs/jbd2/jbd2.ko.gz
kernel/fs/ext2/ext2.ko.gz: kernel/fs/mbcache.ko.gz
kernel/fs/jbd2/jbd2.ko.gz:

Hey, that looks like a Makefile full of empty rules! But how is that useful?

I recently challenged myself to write an initramfs (the minimal environment that the kernel invokes to find the real root filesystem) using only busybox and make—for reasons... Along the way, I discovered that while it's easy to copy a static busybox and write a noscript that mounts the standard root directories, if you need to do anything that requires kernel modules in order to find your root, things get a lot more complicated. In particular, busybox modprobe doesn’t support some flags that would've helped with dependency resolution at both build and run time.

At first, I tried writing a shell-based resolver in my /init, but it looked nasty and debugging was a pain in such a minimal environment. Then I realized: I could offload all that logic to make at build time.

Here's my Makefile:

# install-modules.mk
ifndef MODULEDIR
$(error MODULE
DIR is not set. Please set it to the directory containing your kernel modules, e.g., /lib/modules/$(shell uname -r).)
endif

include $(MODULEDIR)/modules.dep

%:
install -D -m 0644 $(MODULE
DIR)/$@ ./$@
echo $@ >> ./modules.order

I include modules.dep to populate make’s rules, and then define a catch-all target that installs any requested module into the current directory while appending its path to modules.order.

When I invoke make with a target like kernel/fs/ext4/ext4.ko.gz, it resolves all dependencies automatically and installs them in the correct order.

In my main initramfs Makefile, I run something like this:

# -r -R since we don't need the more compilation-oriented default rules and variables
$(MAKE) -r -R -C lib/modules/${KERNELVERSION} \
-f
install-modules.mk \
MODULE
DIR=${ROOTFS}/lib/modules/${KERNELVERSION}/ \
kernel/fs/ext4/ext4.ko.gz # TODO: add other module paths as targets

And here's the output:

make: Entering directory '/build/lib/modules/6.12.30-1-lts/'
install -D -m 0644 /lib/modules/6.12.30-1-lts//kernel/lib/crc16.ko.gz ./kernel/lib/crc16.ko.gz
echo kernel/lib/crc16.ko.gz >> ./modules.order
install -D -m 0644 /lib/modules/6.12.30-1-lts//kernel/fs/mbcache.ko.gz ./kernel/fs/mbcache.ko.gz
echo kernel/fs/mbcache.ko.gz >> ./modules.order
install -D -m 0644 /lib/modules/6.12.30-1-lts//kernel/fs/jbd2/jbd2.ko.gz ./kernel/fs/jbd2/jbd2.ko.gz
echo kernel/fs/jbd2/jbd2.ko.gz >> ./modules.order
install -D -m 0644 /lib/modules/6.12.30-1-lts//kernel/fs/ext4/ext4.ko.gz ./kernel/fs/ext4/ext4.ko.gz
echo kernel/fs/ext4/ext4.ko.gz >> ./modules.order
make: Leaving directory '/build/lib/modules/6.12.30-1-lts/'

Since it's make, I can also use -p, -d, and --trace to get more detailed information on my dependency graph—something my noscript based solution couldn't do.

At boot time, my /init noscript can simply loop through the generated modules.order and insmod each module, in order and exactly once. With set -x, it's easy to confirm that everything loads correctly.

One shortcoming is that changes to the source modules currently don't trigger updates. When I tried adding them as prerequisites to the pattern rule it no longer matched the empty rules. Realistically, this isn't an issue because I'm only dealing with around 20 modules so I can just clean and re-run. But I'm sure I'd want that if I were doing module development or needed more in my initramfs.

I imagine I’m not the first person to discover this trick,
and I wouldn’t be surprised if the creator of modules.dep deliberately formatted it this way with something like this in mind. It seems in keeping with the Unix philosophy. But I haven’t seen any existing initramfs generation tools doing this—though this is my first time digging into them in detail.

So what do you think: hacky, elegant, or both?

https://redd.it/1l3a7eo
@r_linux
I want to switch to Ubuntu

I've distrohopped many times and I can say that I have tried the " normal" base distro's out there ( Debian, Arch, Fedora, Opensuse, no Slackware/Gentoo/Solus though) . I haven't really got my perfect fit. Arch, bothers me with too many updates; Like I've gotten 2 updates in a single day from Electron 34! Can't use debian for being too "old". Can't use other Ubuntu based distros because they are mostly based on ubuntu LTS, which I don't want. Fedora is the one I am most comfortable with , but it has the problem of relying on flatpaks too much! And the flatpak subsystem takes too much of my storage, which I don't like. Like, different flatpaks need multiple versions of the same "runtime". However, I now want to give ubuntu a shot! Most of the packages available for linux are available as deb! But many many people suggest against ubuntu. But what if I take a customized approch; Can I customize ubuntu enough to make it "good"? Not using snap and things like that? Are there any other objections against ubuntu, that I might not be able to fix easily?

https://redd.it/1l3csty
@r_linux
What's the best lightweight distro?

I currently use arch, but have an old laptop and I wnat to get it usable again. Does anyone know any lightweight distro which takes less space and is more usable than tinycore. It can also be something like from scratch, or a summer project to set up.

Edit:
The laptop is a tinkpad x200, from 2008

https://redd.it/1l3eccc
@r_linux
Finally made the jump to join the penguin!

For some context. I have been a multi-os user for many years. Partly cause i am a bit of a nerd who likes to stay updated. And partly because i find operating systems fascinating. So, i have been running windows for gaming mostly, and then had Linux in some form or capacity on my laptops etc. But recently.... Like so many others it seems.. I had been playing with the thought of pulling the switch on Windows. This time around i did as i always do, pull out a spare ssd, start distro hopping. Never had in mind to fully switch just yet. After 8 different newly and freshly updated Linux distros (that i usually try out), there was one part of Linux which I never dared trying cause honestly - The community and skillset that was highlighted for using and running the os was intimidating.

Now I am an IT technician by education, so not intimidating in that manner. But - Time spent, contra time returned is quite important for me.

Either way - Arch was luring me in. And CachyOS made me try it out. Now - I know! It is Arch, but perhaps not the full and true Arch experience. But alas here we are.

Now to current day - I am almost 3 and a half week in - which in my book tells me that the honeymoon phase is passed with flying colors - And i have not turned on my Win disk for anything else than COD, due to anticheat.

So, what is the point with this post?
To encourage! Try things out, you may be positively surprised. This OS has truly changed me. I am fully converted, i have all my apps i usually use and work with. And the system is rocking an Intel i5 12400 paired with a Nvidia 4060. And guys, i literally have no issues.

Gaming experience is excellent, even better than windows in some aspects. And before y'all say it, no it is not a buffed out setup, but its okay, i think most guys in their mid 30's to 40's might be rocking this type of setup. :)

I am such a happy camper that i felt inspired to tell people about it.

In addition i am also rocking a ROG ally on the side which I also ditched windows. The penguin is here to stay!

cheers everyone, and stay curious!

https://redd.it/1l3f8a1
@r_linux
Python Script to Control Thermalright CPU Cooler Digital LCD Display

Hello,

I’ve put together a Python noscript that lets you control the digital screen on your Thermalright CPU cooler, since the official TRCC software isn’t compatible with Linux. The noscript, along with setup instruction including how to run it as a service at startup and a user interface for managing the display, is available on my GitHub.

So far, I’ve only tested it on my system (Ryzen 3900X and Radeon 7900XT), so I’d really appreciate feedback if you try it on other hardware.

If you run into any issues, need help or even have an idea for improvement, feel free to reach out here or open an issue on GitHub!





https://redd.it/1l3iues
@r_linux
Comprehensive list of Linux tools and distributions + Python CLI application
https://redd.it/1l3nhc6
@r_linux
Pursuing a career in linux

I started using linux 2 years ago and it made me regret not starting earlier, I enjoy every thing about linux, even when it crashes I like the challenge to try and fix it; I stared using linux because I was learning to become a front-end web developer like my older brother as it is easier to run development environments on linux, but I couldn't stand front-end as I hate design, and instead I feel in love with linux, and I spent most of my time learning about linux instead.

Now I am looking to pursue a career in linux but the only thing I found is working as a sys admin, but I am willing to learn c or rust to work in development, but I feel lost and don't know what to start with, if someone have experienced what I am going through please give me suggestions of what I shall start with.

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