Linux - Reddit
Open in Telegram
Stay up-to-date with everything Linux! Content directly fetched from the subreddit just for you. Powered by : @r_channels
Show more1 143
Subscribers
+124 hours
+147 days
+6130 days
Posts Archive
1 143
GrapheneOS calls Linux a “human slop kernel” and slams its security flaws
https://redd.it/1xxg2r0
@r_linux
1 143
Removed by Reddit
Removed by Reddit on account of violating the [content policy. ]
https://redd.it/1xx57sx
@r_linux
1 143
Feather DE: a macOS Tahoe-style Wayland desktop written in Rust, with floating, tiling and scrolling layouts in one compositor
Hi everyone! I'd like to show a project I've been working on: Feather DE (Пёрышко, Russian for "little feather"). It's a Linux desktop environment with its own Wayland compositor, written in Rust on top of Smithay 0.7.
The goal is simple to state and hard to do: the look and feel of the latest macOS (Tahoe, Liquid Glass), but fast and light enough that you forget the compositor is there.
## What's in it
Real-time GPU "Liquid Glass". The Dock, menu bar, Control Center, menus and Spotlight blur and refract the live windows and wallpaper underneath (Dual-Kawase blur plus an SDF bevel with dispersion). Static frames cost nothing.
Three layout modes per workspace, switchable on the fly: classic floating windows with edge snapping, automatic BSP tiling (Hyprland/COSMIC style), and an infinite scrollable ribbon of columns (Niri/PaperWM style).
The full shell is built in: global menu bar (GTK and Qt/KDE menus), Dock with magnification, Launchpad, Spotlight search, Mission Control, Control Center, notification center, tray, lock screen, screenshots and a screen recorder.
A few ideas of my own: a command palette that searches the active app's menu tree (
Super+/), a radial app switcher on a tap of Super, a pull-down scratchpad, a glass "drop shelf" for stashing files and snippets while you drag, and click-through picture-in-picture for any window.
Per-app audio mixer with output routing, plus Wi-Fi, VPN, Bluetooth and display settings in a single System Settings window with 15 sections.
Eight native apps, also in Rust: Files, Terminal (with its own VT engine), Notes, Preview, Text Editor, Calculator, Activity Monitor, and an App Store that covers both distro packages and Flathub.
Scriptable: a `featherctl` CLI and a D-Bus API for windows, workspaces, audio and screenshots.
## Performance budgets
Every change has to fit a written budget, otherwise it counts as a regression:
0% CPU when idle (no frame-rate timers, no "just in case" redraws)
≤ 1 ms of compositor work per frame
≤ 60 MB of private memory for the compositor and shell (my measurements at 4K ×2 are around 35–52 MiB)
The event loop never blocks. D-Bus calls, icon rasterization, wallpaper decoding and process spawning all run on workers.
## Status
This is early. The project is a few weeks old and at version 0.24. I've tested it on a limited set of hardware, so expect rough edges on GPUs and laptops I don't own. Packages with updates are available for Ubuntu (APT) and Arch (pacman), and there is a live ISO if you'd rather try it in a VM first.
Full disclosure: I build this with heavy help from AI coding agents. I set the direction, the budgets and the testing; the repo is open, so you can judge the code for yourself.
## Links
GitHub (source, packages, install instructions): https://github.com/Zumka1991/feather-de
Live ISO: https://sourceforge.net/projects/featheros/
Illustrated user guide: https://github.com/Zumka1991/feather-de/blob/master/docs/USER_GUIDE.en.md
License: GPLv3
I'd love feedback, especially bug reports from hardware I haven't tested (NVIDIA, multi-monitor, HiDPI laptops). What would you need from a desktop like this before you'd daily-drive it?
https://redd.it/1xx5bga
@r_linux1 143
I don't understand the point of multiplexers like tmux.
I have 3 Linux devices I regularly use, my laptop I use for class, my main computer I use for gaming and most coding I do,and my home server I mostly just use as a network file share running debian.
I was talking with some friends at university about my setup, and they recommended I use a muktiplexer to manage my devices. I haven't done a lot of dev work this semester, so maybe I'm just not in the right sphere right now, but what exactly is the point of one? I can just ssh to these machines in a new terminal window whenever I want, and frankly I don't get how that's meaningfully different than using a muktiplexer to do the same.
Please, I need someone to explain the point of these programs I feel like I'm going insane
https://redd.it/1xx4go2
@r_linux
1 143
A GTK4 alternative to xdg-desktop-portal-gtk
Hey everyone!
I've been working on xdg-desktop-portal-gtk4, a GTK4-based implementation of the XDG Desktop Portal infrastructure, written in Rust.
GitHub: https://github.com/JohnRTitor/xdg-desktop-portal-gtk4
The project is primarily aimed at users who want to move away from the traditional GTK3-based xdg-desktop-portal-gtk and use GTK4 for their portal dialogs and integrations.
WHAT DOES IT SUPPORT?
The original project by mahkoh (https://github.com/mahkoh/xdg-desktop-portal-gtk4) primarily implemented GTK4 FileChooser support. I've extended that codebase with additional portal interfaces and functionality.
Currently, it implements:
• Access
• Account
• AppChooser
• Clipboard
• DynamicLauncher
• Email
• FileChooser (including thumbnail support)
• Inhibit
• Lockdown (currently a stub)
• Notification
• Print
• Settings
• USB
I've tested it myself on Hyprland running on NixOS, and I'm particularly interested in getting feedback from other desktop (mainly WM) users.
The intention isn't to replace xdg-desktop-portal-wlr or -hyprland. Compositor-specific functionality such as screen sharing, screenshots and remote desktop should continue to be handled by the appropriate compositor portal.
Instead, you can use this backend for supported interfaces such as FileChooser while retaining Hyprland's portal for compositor-specific functionality.
UNDER THE HOOD
• Written in Rust using GTK4, GLib, Tokio and zbus.
• GTK operations run on the GTK main thread, with D-Bus requests handled by a dedicated asynchronous runtime.
• Automated unit and D-Bus integration tests.
• Compile-time feature selection for individual portals.
• Internationalization and structured logging.
• Conditional GTK patching for a file chooser thumbnail regression affecting GTK 4.22.0–4.22.4.
The project is also being packaged on Arch Linux through the AUR:
https://aur.archlinux.org/packages/xdg-desktop-portal-gtk4-git
A NOTE ABOUT THE PROJECT'S ORIGINS
This project builds upon the original work by mahkoh.
The initial GTK3-to-GTK4 port/rewrite, particularly the Rust implementation, made substantial use of AI coding assistants, under my supervision, with human review, debugging, integration work and extensive testing.
It initially started as a personal project to address my own requirements, but I eventually realised that it could be useful to other Linux desktop users as well.
Bug reports, suggestions and contributions are welcome!
https://redd.it/1xx2c48
@r_linux
1 143
Printing on Linux may be the biggest W
I have been Linux adjacent for over 20 years, but the last few months have been the first time I was able to go 100% full time on my primary machine, due to the recent influx of amazing creative open source applications being developed.
Today however may be the first time I've needed to print something. We have one of the cheapest most horrifying HP printers the big box shelves have conjured up this far. Printing on this machine via windows may be impossible. Over the last 5 years I've never gotten it to work, and had to print everything via HPs atrocious mobile app.
Today though it was different. In the year of our lord 2026 I pressed print on my Linux machine, and it printed. God bless this community and everything you are fighting for.
Today I no longer fear the beige beast. Today I stand tall knowing it has finally been slain, once and for all!
https://redd.it/1xwwkvv
@r_linux
1 143
LibreCore RISC-V achieves ~50x+ hardware optimization in GPT/AI workloads
https://cimons.com/article/librecore-achieves-50x-hardware-optimization-in-gpt-ai-workloads#librecore-achieves-50x-hardware-optimization-in-gpt-ai-workloads-top
https://redd.it/1xwu5dg
@r_linux
1 143
Castwire: cast a local file from a Linux terminal to a Chromecast or Google TV, no Google SDK
Castwire is a small JVM library that talks the Google Cast protocol without Google's sender SDK. On Linux you can use the sample in the repo to send a local file (or a URL) to a Chromecast or Google TV on the same network.
./gradlew :sample:installDist
sample/build/install/sample/bin/sample devices
sample/build/install/sample/bin/sample play 192.168.1.50 ./holiday.mp4
<device> can be a name (or part of one) from devices, or an IP address. An optional title can follow the file or URL. -v prints diagnostics. While it is playing, type p to pause or play, s <seconds> to seek, v <0-100> for volume, and q to stop.
The TV gets the file through a relay on your machine, so the computer has to stay on the network and the firewall has to allow the TV to connect back. Multicast has to work for discovery; play with an IP skips that.
It is Java 8 bytecode, AGPL-3.0 (with a commercial license for closed-source use). This is 0.1.0 and is not on Maven Central yet, so clone the repo.
https://github.com/biolend83/castwire
It came out of TubeHaus, a YouTube client I build: https://github.com/biolend83/tubehaus
https://redd.it/1xwtyf5
@r_linux1 143
is LFS good at all?
Linux from scratch (otherwise known as LFS) is something i have heard about. To me it honestly sounds like a massive pain to work with to me. so does anybody use it and what exactly are the benefits of it.
https://redd.it/1xwpprv
@r_linux
1 143
AMD Radeon HD 2000 and HD 3000 GPUs receive Linux video decoding fix after nearly 20 years
https://videocardz.com/newz/amd-radeon-hd-2000-and-hd-3000-gpus-receive-linux-video-decoding-fix-after-nearly-20-years
https://redd.it/1xwpt6w
@r_linux
1 143
Which distros are best for regular users, especially anyone want to switch from windows/imac
https://redd.it/1xwoj8n
@r_linux
1 143
LINUX is obsolete
From comp.os.minix, January 29, 1992
Andrew Tanenbaum argues that Linux's monolithic kernel design is outdated. Torvalds responds, and an extraordinary debate about operating-system architecture follows.
https://www.oreilly.com/openbook/opensources/book/appa.html
https://www.linfo.org/obsolete.html
https://groups.google.com/g/comp.os.minix/c/wlhw16QWltI
https://redd.it/1xwmbov
@r_linux
1 143
Welcome to the family, HTC Dream
https://preview.redd.it/5eo1c73ano1i1.png?width=755&format=png&auto=webp&s=de7a96b065e286bdcde21fccc56d711fcdfde9ee
over the past few days, ive been slowly bringing up the HTC Dream's drivers to the downstream 2.6 SHR kernel. deciding ive had enough research to take a good shot at it, i handed claude fable 5.2 to what itd do and after a day-ish of backporting with opus, ive gotten nearly every bit of hardware working: only things broken are bluetooth (in the works), sensors (not too hard to do), and the GPS (maybe useful). what do you people think?
https://redd.it/1xwjhxp
@r_linux
1 143
Why I focus on system efficiency instead of the online privacy crusade
I have spent a lot of time around tech communities over the years, going all the way back to the old technology forums. Lately, I have noticed that a lot of the hardcore privacy and anti Google channels on YouTube carry that exact same energy. The presentation looks a lot cleaner today, but the underlying mindset feels very familiar. There is often a heavy focus on purity tests and quietly looking down on regular people just because they want their phone or computer to work without jumping through twenty hoops.
What stands out to me the most is the contradiction right at the center of that space. Sometimes I wonder if the extreme obsession comes from people being afraid of getting exposed for what is on their hard drives, or if it is just about chasing status online. Either way, if someone truly lived by the strict digital secrecy they preach, we would never even know they existed. They would not be running YouTube channels, optimizing titles for Google's algorithm, or farming engagement on a Google owned platform. Watching creators lecture people about completely cutting off big tech through a YouTube video makes the whole movement feel more like content creation than actual conviction. Much of the time, it comes across like roleplaying as a secret agent just to feel a step ahead of the average user.
Personally, I end up using a lot of the same minimal tools and stripped down systems that this crowd talks about, just for a completely different reason. I do not really care about privacy or hiding from companies. I only care about energy consumption and system resources.
To me, a computer is just a machine meant to do a job. If my system can do what I need it to do while using as little power and memory as possible, I am happy. The reason I strip out background services and bloatware is not because I am afraid of being watched. I remove them because they wake up my processor, waste electricity, and eat up resources without giving me anything useful in return.
Looking at software through the lens of power draw and performance makes computing a lot more enjoyable. You do not have to carry around constant paranoia or turn your operating system into a belief system. You just look at what the hardware is doing, keep what helps you work, and cut what wastes energy. I respect anyone who wants full ownership of their devices, and I think tech communities would be much more welcoming if we focused on practical efficiency rather than gatekeeping.
https://redd.it/1xwg17t
@r_linux
1 143
Task Manager TMOG
I was watching a video about the Microsoft Outlook downtime and the creator mentioned his software called TMOG. He was the original creator of the Windows Task Manager and has recreated it for Windows, Mac, and Linux. It's an appimage but seems pretty nice.
I don't know the creator, I didn't create the software, I just thought it might be of interest to other Linux folks. In case you are, you can find it at https://tmog.org/
https://redd.it/1xwekvv
@r_linux
1 143
and press `Enter`:
vssh ubuntu-server
You will be prompted for the username:
Username [root]: ubuntu
Connecting to ubuntu@ubuntu-server (192.168.122.45)...
ubuntu@192.168.122.45's password:
*(Pressing* `Enter` *without typing a username will default to* `root`*.)*
# Pass additional SSH options
Any flags provided after the hostname are forwarded directly to the underlying `ssh` command:
# Connect on a custom port with verbose output
vssh fedora-workstation -p 2222 -v
# Enable X11 forwarding
vssh debian-desktop -X
# Troubleshooting
* **Tab-completion returns nothing /** `virsh` **returns empty output:** By default, running `virsh` as a non-root user may connect to `qemu:///session` instead of `qemu:///system`. To fix this, add the following line to your `~/.bashrc` above the `vssh` function:export LIBVIRT\_DEFAULT\_URI="qemu:///system"
* **Password prompt does not appear (**`Permission denied (publickey)`**):** Ensure password authentication is enabled inside the guest VM (`/etc/ssh/sshd_config` \-> `PasswordAuthentication yes`) and that the SSH service has been restarted.
https://redd.it/1xwdfmy
@r_linux
1 143
easily list and connect to kvm virtual machines with ssh ( if using nat )
# vssh — Dynamic Libvirt/KVM Guest SSH Helper
`vssh` is a lightweight Bash helper function with dynamic tab-completion designed to make SSHing into local `libvirt`/KVM virtual machines effortless. Instead of manually looking up changing IP addresses via `virsh net-dhcp-leases default` or maintaining static `/etc/hosts` entries, `vssh` resolves guest hostnames to their active DHCP IP addresses on the fly.
# Features
* **Dynamic IP Resolution:** Queries `virsh net-dhcp-leases default` at runtime so you always connect to the VM's current IP, even after DHCP lease renewals or reboots.
* **Dynamic Tab-Completion:** Automatically populates available active guest hostnames when you press `Tab`.
* **Interactive Login Prompt:** Prompts you for a target username (defaulting to `root` on Enter) before passing control to `ssh` for password or key authentication.
* **Pass-Through SSH Flags:** Supports standard `ssh` options (e.g., `-p`, `-X`, `-i`, `-v`) appended after the hostname.
* **Quick Lease Overview:** Running `vssh` with no arguments displays all currently active DHCP leases on the `default` network.
# Prerequisites
* A Linux host running `libvirt` / KVM.
* `virsh` installed and accessible by your user (ensure your user is in the `libvirt` group, or configure `LIBVIRT_DEFAULT_URI="qemu:///system"` in your environment if needed).
* Guest VMs configured to report their hostname to the `default` libvirt DHCP server (`dnsmasq`).
# Installation
# 1. Add the code to your ~/.bashrc
Open your `~/.bashrc` file in your preferred text editor (e.g., `nano ~/.bashrc` or `vim ~/.bashrc`) and append the following block to the bottom of the file:
# Dynamic SSH to libvirt/KVM guests with interactive username prompt
vssh() {
local target="$1"
shift # Remove target from arguments so remaining flags can be passed to ssh
if [ -z "$target" ]; then
echo "Usage: vssh <hostname> [ssh-options]"
echo "Active leases on 'default' network:"
virsh net-dhcp-leases default 2>/dev/null
return 1
fi
# Dynamically find the IP address for the given hostname
local ip
ip=$(virsh net-dhcp-leases default 2>/dev/null | awk -v host="$target" '$0 ~ host {
for(i=1; i<=NF; i++) {
if ($i ~ /^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/) {
sub(/\/.*/, "", $i);
print $i;
exit;
}
}
}')
if [ -z "$ip" ]; then
echo "Error: Could not find an active DHCP lease for hostname '$target'."
echo "Check available hostnames using: virsh net-dhcp-leases default"
return 1
fi
# Prompt for username interactively (defaults to root)
local user
read -p "Username [root]: " user
user="${user:-root}"
echo "Connecting to $user@$target ($ip)..."
# Connect (SSH will prompt for the password interactively)
ssh "$user@$ip" "$@"
}
# Enable dynamic tab-completion for vssh based on active DHCP leases
_vssh_completions() {
local cur="${COMP_WORDS[COMP_CWORD]}"
local hosts
hosts=$(virsh net-dhcp-leases default 2>/dev/null | awk '{
for(i=1; i<=NF; i++) {
if ($i ~ /^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/) {
if ($(i+1) != "" && $(i+1) !~ /^[0-9]+/) print $(i+1);
}
}
}')
COMPREPLY=( $(compgen -W "$hosts" -- "$cur") )
}
complete -F _vssh_completions vssh
# 2. Reload your shell configuration
Apply the changes to your current terminal session:
source ~/.bashrc
# Usage
# List active VMs and DHCP leases
Run `vssh` with no arguments to see usage instructions and a live table of active leases:
vssh
# Connect to a VM using tab-completion
Type `vssh` , press `Tab` twice to view or autocomplete active VM hostnames,
1 143
Made a small script as a switch to prevent lid from causing sleep on my laptop
I use fedora workstation 45 and many-a times i want my laptop to not sleep when i close the lid...now obviously it is a small around 30-40 line script so it doesnt have the detection etc like sleep on battery but not when connected etc...this just does the job for me...also its supported for systemd and elongid...i searched but didnt find anything similar so just...made it its quite small ..main logic is some 4-5 lines
Disable
echo -e '[Login]\nHandleLidSwitch=ignore' | sudo tee /etc/systemd/logind.conf.d/no-sleep-lid.conf
sudo systemctl kill -s HUP systemd-logind
Reenable:
sudo rm /etc/systemd/logind.conf.d/no-sleep-lid.conf
Instant apply:
sudo systemctl kill -s HUP systemd-logind
Thats it
source: https://github.com/adityakrishnan005-a11y/lidctl
https://redd.it/1xw95sk
@r_linux