Linux - Reddit – Telegram
Linux - Reddit
773 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
I wrote myself a noscript to track my terminal usage and give out EXP points and achievements. Maybe someone else will enjoy it too.

Hey everyone, I'm a gamer at heart and enjoy the progression that leveling systems in RPGs provide, so as much fun as learning to use the terminal is, I was missing the dopamine boost the occasional level up messages in games provide.


So I took that as an opportunity to learn bash noscripting and wrote myself a silly little noscript that does just that- it tracks my terminal usage, gives out experience points in varying amounts (bonus points for discovering a new command), shows fun little messages on level ups, complete with an increasing rank noscript, and tracks a total of 70 achievements.


It supports bash and zsh shells so far and even works fine on my phone when using termux, and by now I'm not encountering any issues with it and the development slowed down enough to share it with everyone who might enjoy some terminal gamification as well.


Let me know what you think if you try it and I'm happy to hear your thoughts, suggestions and bug reports!


Github link for the download:
https://github.com/Divinux/linux-terminal-gamifier/

https://preview.redd.it/j98iuh7qbipe1.png?width=888&format=png&auto=webp&s=48972462629dc67d5da5eed50df9e60cd4c7f91b



https://redd.it/1jeex5p
@r_linux
"4-in-1". Four CLI animations in one command.
https://redd.it/1jeiv1f
@r_linux
UNIX was initially made because Ken Thompson wanted to play his space game on a PDP-7

https://en.m.wikipedia.org/wiki/Ken_Thompson#Career_and_research

“He also created a video game called Space Travel… In order to go on playing the game, Thompson found an old PDP-7 machine and rewrote Space Travel on it. Eventually, the tools developed by Thompson became the Unix operating system

https://redd.it/1jellk4
@r_linux
Unofficial Emacs 30.1 Appimage

Welcome to the unofficial Emacs AppImage—a portable, terminal-only build of Emacs 30.1, crafted for Debian Sid and beyond. This AppImage is designed to run anywhere on Linux with no sandbox restrictions, no emacsclient, and a full system PATH—making it the most versatile Emacs AppImage available!

## Features
- Portable: Single executable, no installation required—just download and run.
- Terminal-Only: Built with --without-x for a lean, TUI-focused experience.
- No Sandbox: Full system access, no isolation constraints.
- No emacsclient: Client-server functionality disabled for simplicity.
- Full PATH: Preserves system paths (/bin, /usr/bin, etc.) for seamless command access (e.g., dircolors, xdg-user-dir).
- Bundled Utilities: Includes etags, ctags, ebrowse, and more.

## Usage

1. Download the AppImage:
- Grab it from the Releases page.

2. Make it Executable:
   chmod +x emacs-30.1-x86_64.AppImage

## Acknowledgments

- Emacs - The legendary editor that powers this project.
- linuxdeployqt & AppImageKit - Tools that made packaging possible.

- NEW EDIT: Posted too fast. There's an issue. My bad... Will fix!
- New New Edit: Fixed.

https://redd.it/1jeh9gy
@r_linux
Why was your one reason because of which you decided to switch to Linux?

I am working on a news report about the rising popularity of linux in recent years. What was your primary personal reason to switch? Any reason is great but for the report I am most interested in reasons a member of the general public can understand, so nothing super technical.

https://redd.it/1jejhn9
@r_linux
Here's an exercise in extreme masochism:

1. pick any distro and install it.

2. Then, without installing another distro over the top of it, slowly convert it into another distro by replacing package managers, installed packages, and configurations.

System must be usable and fully native to the new distro (all old packages replaced with new ones).

No flatpaks, avoid snaps where physically possible, native packages only.

-----

Easy: pick two similar distros, such as Ubuntu and Debian or Manjaro and Arch and go from the base to the derivative.

Medium: Same as easy but go from the derivative to the base.

Hard: Pick two disparate distros like Debian and Artix and go from one to the other.

Nightmare: Make a self-compiled distro your target.

https://redd.it/1jeqgie
@r_linux
Nvidia driver 570.133.07 released

https://www.nvidia.com/en-in/drivers/details/242284/

Fixed a bug that could cause console restoration to fail with soft lockups on some UEFI systems.
Fixed a bug causing clocking issues in games with DLSS frame generation.
Fixed a bug that could prevent RTX 50 series GPUs from enabling HDR on certain HDMI displays, resulting in washed out HDR content.
Fixed a bug preventing certain notebook systems from enabling the ACPI video backlight driver when needed.

https://redd.it/1jerecc
@r_linux
The apparent decline of kernel development in the git log (spoiler: be careful with git based statistics)

Sorry if it's too trivial, but I've seen multiple people fall into this trap (myself included), so I thought I'd share something that needs to be taken into account when making statistics from the Linux kernel's git history.

I was looking at the number of changes on the masterbranch as a function of time, and I was surprised to see this sharp decline since the end of January:

Number of changes merged into the Linux kernel monthly \(master branch, 2025-03-19\)

For reference, the commands that produced these numbers:

git clone 'https://github.com/torvalds/linux.git'

cd linux

git log --format='%cs' | cut -d- -f1,2 | sort | uniq -c

Before jumping into conclusions about what events in January might have disrupted the development of the kernel this hard, it's worth taking a pause to think: how long does it take for a change to be merged?

Is it possible that patches take weeks, months, or even years of testing and review before landing in the official mainline? Indeed it is. Take a look at the same statistics from the git log of the v6.9 releas for example, from 2024 May:

|Month|Number of patches|
|:-|:-|
|2023-06|8800|
|2023-07|6262|
|2023-08|9130|
|2023-09|5907|
|2023-10|11770|
|2023-11|4940|
|2023-12|8726|
|2024-01|5687|
|2024-02|8699|
|2024-03|4353|
|2024-04|1543|
|2024-05|259|

Today I learned.

https://redd.it/1jexd2x
@r_linux
Wi-Fi Not Working on Debian 12 (Intel AX211 – Unmanaged by NetworkManager)

System Details:

OS: Debian 12
Wi-Fi Adapter: Intel Wi-Fi 6E AX211
Network Manager: nmcli & NetworkManager
Kernel: (Check using uname -r)

# Issue Denoscription:

I recently installed Debian 12, but my Wi-Fi (wlo1) is not working properly. The interface is detected, but NetworkManager shows it as "unmanaged", and I can’t see available networks using nmcli dev wifi list.

Here are some details from my system:

# 1️⃣ rfkill status (Wi-Fi is not blocked):

rfkill list all


Output:

1: asus-wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
2: asus-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
4: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no


# 2️⃣ NetworkManager shows Wi-Fi as unmanaged:

nmcli dev status


Output:

DEVICE TYPE STATE CONNECTION
enx022f69116100 ethernet connected Wired connection 1
lo loopback connected (externally) lo
docker0 bridge connected (externally) docker0
wlo1 wifi unmanaged --


# 3️⃣ Wi-Fi interface is detected but DOWN:

ip a | grep wlo1


Output:

5: wlo1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000


# 4️⃣ Firmware logs show some errors:

sudo dmesg | grep iwlwifi | tail -n 20


Output (Important lines):

4.241121 iwlwifi 0000:00:14.3: firmware: failed to load iwl-debug-yoyo.bin (-2)
4.241132 iwlwifi 0000:00:14.3: loaded firmware version 72.daa05125.0 so-a0-gf-a0-72.ucode opmode iwlmvm
[ 4.343284] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211 160MHz, REV=0x370
[ 73.717345] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[ 73.717355] iwlwifi 0000:00:14.3: TLV
FWFSEQVERSION: FSEQ Version: 0.0.2.36


# What I Tried So Far (But Didn’t Work):

Checked rfkill – Wi-Fi is not blocked.
Restarted NetworkManager – sudo systemctl restart NetworkManager.
Tried bringing up the interface manually:

sudo ip link set wlo1 up
sudo nmcli radio wifi on


Updated Intel firmware:

sudo apt update && sudo apt install firmware-iwlwifi


Reloaded the Wi-Fi driver:

sudo modprobe -r iwlwifi && sudo modprobe iwlwifi


Checked NetworkManager.conf for managed mode:

cat /etc/NetworkManager/NetworkManager.conf


(I changed [ifupdown] managed=false to managed=true and restarted NM.)
Set regulatory domain manually:

sudo iw reg set IN # (I'm in India, changed it to my country)


# Questions I Need Help With:

1️⃣ Why is wlo1 showing as "unmanaged" in NetworkManager?
2️⃣ Why does ip a show wlo1 in state "DOWN" with "NO-CARRIER"?
3️⃣ Does the firmware log indicate an issue with my Intel AX211 driver?
4️⃣ Is there a kernel issue, or do I need a different version of iwlwifi?
5️⃣ Any other debugging steps I should try?

If anyone has encountered this issue before, I'd really appreciate any guidance! 🙏

https://redd.it/1jf0dw4
@r_linux
New life for an old Mac Mini
https://redd.it/1jf3x98
@r_linux
Have to took too long time troubleshooting a linux issue until you realized it's not linux issue at first place?

For example

You took 4 hours to run an executeable file in linux but it didnt work as it should and you take a punch of time to fix it until you realize it's acually an issue of the executeable itself

Or running a game that have so much glictches and you tried to fix it but you find out the glitch is in the game itself

https://redd.it/1jfd8wa
@r_linux
Streamline Your KDE Monitor Setups with Screen Profiler (Similar to Monitor Profile Switcher!)

Hey everyone!

I wanted to share a little tool I've been working on called Screen Profiler. If you're a KDE user who constantly uses different monitor setups and resolutions, this might be just what you need. It even remembers the relative positions of your monitors!

Having recently made the switch from Windows myself, I was surprised to find a lack of Linux alternatives that offered the same convenience as "monitor profile switcher".

I've been using it extensively on Bazzite and it's been fantastic. I recently refactored the code and designed a companion system tray icon for easy GUI interaction.

One of my favorite uses is for my game streaming setup. When I connect via GameStream, Screen Profiler automatically switches to my dummy HDMI plug for my Steam Deck. Then, when I'm done, it restores my regular desktop layout. It's also incredibly handy for quickly enabling just one monitor when I want to mirror my screen to the TV in the living room.

You can assign KDE hotkeys to the command-line commands.



In short, Screen Profiler lets you:

Save your current monitor configurations (including resolution and relative positions) as "profiles."

Load those profiles back using either a command-line interface or a system tray icon.

Optionally integrate with Konsave to save and restore your KDE panel and widget layouts along with your screen setup.



https://github.com/Kakiharu/screenprofiler

I'd love to hear your feedback!

https://redd.it/1jf5pm8
@r_linux
Booting from logical volumes

With the rise of cloud many of us has forgot the booting exercises, which is good.
But cloud also hardens few things. I would like to do a few customisations for my usecase.

I got a very atypical usecase on cloud where the boot disk size needs to be increased or decreased dynamically without any downtime.

The only possible way to achieve this is booting the using logical volumes, so today, I would like to boot my machine from logical group instead of sda1.

Can I get to know if there are anyother methods ?


NOTE: donot downvote, If this is a noob question for this sub. Kindly convey it so that I can head to the noob sub

https://redd.it/1jfitj9
@r_linux
Has anyone else questioned their choice of computers for running Linux

3 years ago I needed a new computer and decided on an 16 inch M1 Macbook Pro, but did lots of overthinking about if I wanted to stick to it. I tried Asahi Linux didn't have any reasons at the time to use linux over macOS (but there was always the chance I might later), the build quality is 2nd to none, none of my Windows laptops lasted more than a few years.

3 years later, I've really been itching to switch to Linux. Two of several reasons: because its DEs are more customizable, it has better documented accessibility APIs if you want to make keyboard navigation software. I reinstalled Asahi Linux and really tried to make it my daily driver, but the lacks of apps would require me to dual boot: Photoshop and Roblox.

I researching again for computers closest to Macbook Pros but none of them come close to its build quality. I think it would be best for me to make my own desktop PC for linux. I don't think I'd fare well with another windows laptop brand.

https://redd.it/1jfkyvr
@r_linux
Just discovered Linux and saved my almost 15 year old latop! So happy!
https://redd.it/1jfn0sm
@r_linux