r/linux • u/buovjaga • 18h ago
r/linux • u/jtofexstinction • 16h ago
Historical I remade the Windows 2000 shell for linux!
Quick heads up before anyone asks: this isn't a theme. There's no dwm or Openbox underneath pretending to be Windows. I wrote the window manager and the apps in C.
If Windows 2000 isn't your style, the Start menu can switch to the two-column XP or Windows 7 style, and there are skins for the taskbar and title bars to match.
Regular apps like Chromium, kitty and Steam just get the 2000-style frame and a taskbar button like everything else. It's running across three monitors of different sizes here,
About 30k lines of C so far. Still very much a work in progress, but I use it as my daily desktop. It is degined to be as light weight as possible!
r/linux • u/Grey_Ten • 5h ago
Discussion is this actually happening? (red is linux)
Is this happening because of bots or something?
I frequently check these charts to see how Linux is doing, and generally its market share is 4-5%, right now it has almost 18% of the total US market.
r/linux • u/squaresheep28 • 14h ago
Discussion Why did Cisco make H.264 proprietary?
Is it just for profit from other companies? And why does OpenH264 (i.i.r.c.) not support hardware acceleration? It feels weird that something as basic as a video codec used literally everywhere has a closed-source proprietary tag attached to it.
r/linux • u/unixbhaskar • 5h ago
Kernel Linux kernel book ......bloody well written, too
github.comr/linux • u/The_Hubster • 1h ago
Discussion A better picture of Linux desktop global marketshare
Here's a better picture of where it's at, courtesy of Cloudflare data, and not the inflated representation of what we see on Statcounter which is so widely circulated and should be taken with a grain of salt.
r/linux • u/bbedward • 17h ago
Software Release DMS 1.6 "Marble Tabby" Released
danklinux.comDMS, dcalendar, dgop, dsearch, and dgreeter v1.6.0 (DankDesktop v1.6.0 ™ ) have all been released
- Island - A third option for your DMS bar with a dynamic-island inspired morphing pill that becomes the focal hub for statuses, notifications, OSDs, media playback, control center, and more.
- Performance & Resource Optimizations - At least a 19% reduction in idle memory usage, new animations, and general performance improvements
- IPC 5.2x faster - dms ipc is 8.9x faster than before, meaning much faster responsiveness of keybinds. It's at least twice as fast as calling quickshell directly
- Best-in-class Screenshot Tool - New snappier selection interface, new PNG and JPEG encoders thats are up to 8x faster than grim, tons of new options and interface improvements
- Standalone Greeter - Dank-Greeter is now fully decoupled from DMS, as a standalone project and codebase
- A ton more like initial FreeBSD support across all tooling, etc.
Going forward all pieces of the dank linux desktop suite will be released and versioned together as one. Which is why dgop, dgreeter, etc. all have been bumped to v1.6.0. Minor releases will behave the same way (e.g. 1.6.1) but packages will remain on 1.6.0 if there have been no changes to the code or dependencies. Major releases stay synced Read the blog for the full breakdown, huge thanks to the 50+ contributors who contributed to the DMS 1.6 release.
r/linux • u/christaras_s • 6h ago
Discussion Better experience with Linux
I've been daily driving win11 since release, and installed linux a few months ago on another partition. Keep in mind, I've been formatting my windows drive every 2 years to make sure it won't have any problems. Then windows really started to get annoying.
Forces random slop down your throat: okay i can debloat it.
Enables random settings on boot: okay, i don't care much about those.
But then, it stops running stuff every now and then. A few days ago steam wouldn't open even after reinstalling it. Now i can't open msi afterburner.
Linux on the other hand, never gave me any issues other than nvidia drivers not running properly, which i admit, i had to spend a few hours benchmarking different drivers, but i also have to do that on Windows?
Because apparently the latest released drivers also don't work properly on windows?
My gpu is an rtx 2080, which is still supported by nvidia.
What I'm getting at is that, once you configure stuff on linux (which takes a few days to tweak everything to your preference), it runs perfectly, with literally 12GB less ram usage than windows in games, apps and at idle.
I hate Windows recently and thinking about permanently switching to Linux
P.S: I'm using Mint for the time being but i might take up another distro soon.
r/linux • u/BrageFuglseth • 22h ago
Security Building New Secure Foundations
amutable.comr/linux • u/aagauMulga • 14h ago
Tips and Tricks Dissecting JioPC: Flatpak sandbox breakout, reverse-engineering xrdp session limits, and running a headless remote server on locked-down cloud VDI
I recently got access to JioPC (a budget browser-based cloud desktop aimed at light office work in India) to see how the platform was provisioned and locked down.
While marketed as a low-cost, web-based thin client, inspecting the user environment revealed an enterprise Azure VM running an Ice Lake Xeon node. More interesting was the security model: a "walled garden" that omits default terminal binaries, aggressive session tear-downs in the display stack, and strict egress proxies.
Here is an architectural breakdown of how the environment is restricted, how to break out to an unconfined host shell via Flatpak, how the display daemon terminates idle sessions, and how to run a persistent headless SSH box over Tailscale.
Full whitepaper, disassembly notes, and reproduction scripts:
GitHub: sys-dissect/jiopc-architecture-whitepaper
1. Underlying Node & Kernel Environment
Poking around /proc and /sys shows the underlying compute instance is far heavier than standard thin-client specs:
- CPU: 8-vCPU Intel Xeon Platinum 8370C (Ice Lake-SP) @ 2.80 GHz. AVX-512 (
F,BW,DQ,VL) and VNNI vector extensions are exposed. The scaling governor is set toperformance. - Memory: 16 GB virtualized RAM with Transparent Huge Pages (
madvise/always) enabled. - Storage Topology: The root OS disk (
/) is an ephemeral 64 GB virtual SSD. The persistent user home directory (/home/...) is an enterprise NFSv4.1 mount (storage-cons-prod-dp.jiopc.local). In raw unbuffered tests (fdatasyncwriting 100 GiB), the NFS pipe sustained 581 MB/s (~4.65 Gbps continuous network throughput).
2. The "No-Terminal" GUI & Flatpak Host Breakout
Stock JioPC ships without a terminal emulator—no gnome-terminal, konsole, xterm, or qterminal in $PATH, and desktop file entries for shells are stripped from the desktop environment menu. The apparent assumption was: no terminal binary = no shell access.
However, their curated software catalog provides VSCodium packaged as a Flatpak (com.vscodium.codium). Because development environments require host-level toolchains, the Flatpak manifest includes:
--talk-name=org.freedesktop.Flatpak
From VSCodium's integrated terminal, you can call the session helper directly:
flatpak-spawn --host bash
The Flatpak portal daemon immediately allocates a PTY and executes an unconfined shell directly in the host OS user namespace (UID 3387120), completely circumventing the Flatpak bubble and exposing the entire host userland across all 8 Xeon cores.
3. Dissecting the 15-Minute Session Guillotine (xrdp + systemd-logind)
A major usability hurdle in browser-delivered VDIs is aggressive idling: sessions are killed after 15 minutes of inactivity, terminating background builds and daemons.
Disassembly
Analyzing /usr/lib/xorg/modules/libxorgxrdp.so revealed hardcoded idle limits:
XRDP_SESMAN_MAX_IDLE_TIME=900 // 15-minute window
XRDP_SESMAN_KILL_DISCONNECTED=1
Why standard X11 jitter scripts fail
Injecting synthetic input via xdotool or xte does nothing. The custom xorgxrdp driver monitors incoming RDP protocol packets rather than X11 server input events. When browser WebRTC connections drop or sit idle, no RDP traffic reaches the driver.
Furthermore, with systemd-logind configured to KillUserProcesses=yes (or default Linger=no), disconnecting causes logind to issue a recursive SIGKILL against the entire user@UID.service slice.
The Bypass
- Enable lingering to persist processes outside of active sessions:
loginctl enable-linger
- Exploit an audio IPC override:
libxorgxrdpincludes an internal checkXRDP_SESMAN_AUDIO_DISABLE_IDLETIMEOUT=1. A lightweight background daemon writing syntheticsound_playingheartbeat frames to the XRDP audio IPC socket every 30 seconds prevents the idle watchdog from firing, keeping the session alive indefinitely.
4. Headless Remote Dev Environment (Userspace Tailscale + OpenSSH)
Direct outbound internet is filtered through a mandatory local HTTP proxy (127.0.0.1:3128), and /dev/net/tun is unavailable without root/CAP_NET_ADMIN.
To turn this into a permanent remote headless machine accessible outside the browser wrapper:
- Userspace Networking: Run Tailscale using its userspace engine via Google's gVisor network stack:
tailscale up --tun=userspace-networking --accept-dns=false
Note: Setting --accept-dns=false is critical; otherwise, MagicDNS attempts to manage resolvers and breaks internal datacenter DNS (10.163.66.132), which the local HTTP proxy requires to resolve external hosts.
Unprivileged SSH: Run OpenSSH server bound to non-standard user port
2222with a customsshd_config.Tailscale Serve: Expose the socket directly over the Tailnet:
tailscale serve --bg --tcp 2222 127.0.0.1:2222
This bypasses the WebRTC browser client entirely (no more browser key intercept issues with Ctrl+W / Ctrl+T) and allows native ssh and VS Code Remote-SSH directly into the instance.
5. Quick Workload Benchmarks
| Workload | Metric / Output | Observations |
|---|---|---|
NFS I/O (fdatasync) |
581 MB/s sustained | Continuous 100 GiB sequential write (184 seconds total). |
| Qwen 3.5 9B (INT4) | ~5.0 tok/s | OpenVINO CPU inference; prefill is fast, generation is strictly memory-bandwidth bound. |
| SVT-AV1 (1080p60) | 530% CPU load | Efficient multi-threading across 8 Ice Lake cores. |
| libx265 HEVC (1080p24) | 22.0 FPS | ~1.0x real-time software encode on CPU. |
Full architectural diagrams, reverse-engineered binaries breakdown, and reproducible configs are available in the repository:
r/linux • u/Prudent_Worth_4349 • 4h ago
Software Release Waveline: An open-source Wave Link alternative for Linux built directly on PipeWire (C++/Qt6)
Just dropped a new mixer on GitHub called Waveline, been working and testing it for a few months, I hope some of you will find it useful. It's written using mainly C++ and the UI is Qt
Features,
1. 6 + 1 channels each with its own level, mute and effects.
2. Dual Mixes, each channel and input devices have a monitor mix and a stream mix making it easy to adjust the volume of a stream without influencing what you hear.
Up to 5 monitor mixes, listen to the same audio across multiple devices.
Per-application routing, move any playing application onto a channel by hand, or let auto-routing place it by name for you. (PipeWire auto-routing relies on application target tags, so apps without explicit metadata fall back to the System channel unless manually assigned)
Sound Sharing, send an application's audio into a microphone stream.
MIDI input, FluidSynth integration so adding a MIDI device + sf2 is easy and painless.
Out of the box real time scheduling so audio doesn't crackle under load (Missed Cycles).
Digital Signal Processing (DSP), low latency effects such as overdrive, reverb, delay, bitcrusher and much more.
Noise suppression, Waveline offers DeepFilterNet & RNNoise out of the box, can be applied to any input or output device.
Creative FX Rack, a rack where you can see the effects of a device, add/remove/toggle/adjust them right there.
Built-in Soundboard
Companion App, this gives you a full mixer that can be used on any device for remote control.
Profiles, switch between profiles, save new ones and so on
See more of it on GitHub https://github.com/Nakildias/Waveline
r/linux • u/peershaul1 • 1h ago
Discussion Why is Quickshell became the de-facto way to create custom shell?, why no body discusses AGS?
i mean, i've started using quickshell and then moved my config to AGS
And all the customization videos out there primaraly focus on quickshell. so why AGS is not discussed some more
is it dead or something or is it just the userbase being smaller? since idk, JSX way to write stuff makes it that much more capable for my opinion
Also is it worth it to rely on an AGS setup today when it looks like it doesnt get enough attention and it might die in a few years?
r/linux • u/Persomatey • 17h ago
Discussion Where to get the original Linus Torvalds desktop photo
In an LTT collab where Linus met up with Linus so Linus could talk to Linus where Linus built Linus’s new PC (https://youtu.be/mfv0V1SxbNA?is=UY8tV7pqlPdC0PWA), Linus mentioned his desktop wallpaper being a photo he took himself at night.
https://www.reddit.com/r/linux/s/GDscOcRKQv
Looks like this, but the compression looks bad. I guess Torvalds sent the raw photo to an LTT staff member and shared it online but I can’t find the original. Does anyone happen to have it? I’m getting into Linux for my PC (I’ve used it before putting Ubuntu on servers and stuff, but now putting Linux on an old laptop I still use for work to daily drive it). I usually use night time long exposure photography for my desktops (ex-photographer turned IT guy, still enjoy it as a hobby) it’d be nice to use the Linus Torvalds original if possible.