s/Linux
☕️ Moderated by: saik · 😴 674 days
Posts
When I start to wander into the weeds of POSIX shell, I come across some wacky stuff. Today's find: Backslash-escaped newlines (used for breaking up a command over multiple lines) are discarded entirely when parsing a line. That means any token that is split using a backslash-escaped newline, if there is no other whitespace present, is reassembled into a single token by the shell. If your shell is POSIX-compliant (most are), you can see this effect for yourself. Running [preformatted] is…
💬 1 comment · 2 likes · Apr 20 · 2 weeks ago
Void Linux is the most stable rolling distribution I have ever used. I pulled out a computer I haven't used in a while. It's running Void. Did a full system update, absolutely no issues. I took a look at what it was running before the update. A couple packages that have a date for a version were dated 2021. Before I got onto Void I used Arch for a year or two. It gave me so much trouble. In that short time I had to do a couple fresh installs because updating something or other requires manual…
💬 14 comments · 5 likes · Apr 12 · 4 weeks ago
Seems I'm starting to miss the "GNU" part in "Linux"...
💬 2 likes · Mar 25 · 6 weeks ago
SELinux is something about: no, you can't read this file from the /home/user location, but you can download it from githubusercontent.com These people are running the show.
💬 3 comments · Mar 23 · 6 weeks ago
Copying actually moves files — For decades of using various file managers, when dragging files or directories the default convention was to copy if moving to a different device and move when on the same drive. Suddenly I am finding source files disappearing when dragging across drives. Have you noticed that or am I going nuts?
💬 7 comments · Feb 24 · 2 months ago
Linux geminauts, what display server protocol do you use? — i was curious earlier today so i figured i'd ask
💬 22 comments · 1 like · Feb 01 · 3 months ago · 🗳️
Recovering full BTRFS volume — I brought a SSD for my database, and decided to use BTRFS on it since I have read that it is better for SSDs. But after a few weeks my database application crashed because device is seemingly full. SSD has 256 GB of data (now read-only), with ~118 GB of actual files (btrfs fi du agrees). But fi usage says: [preformatted] Overall: Device size: 238.47GiB Device allocated: 238.47GiB Device unallocated: 1.02MiB Device missing: 0.00B Device slack:...
💬 6 comments · Jan 31 · 3 months ago · #BTRFS #filesystems
— spell.mywire.org:1960/~stack/0257.gmi
ls but The Unix Way — Where I build a composable ls toy...
💬 11 comments · 1 like · Jan 10 · 4 months ago
— spell.mywire.org:1960/~stack/0254.gmi
Linux Drags In Unnecessary Crap
💬 25 comments · 2 likes · Jan 06 · 4 months ago
tmux Pane Labels — I have a tmux session running on a VPS which contains a bunch of panes, each running a specialized fornax gemini server (with a different game each). As these run, they spit out a bunch of diagnostic information, which scrolls. After a while it's impossible to tell which pane contains which server. It was surprisingly difficult to figure out how to identify each pane. Here is a quick recipe for showing the name of the selected pane on the status line: In .tmux.conf: [...
💬 3 comments · 2 likes · 2025-12-20 · 5 months ago
zim wiki! — anybody here use zim wiki? if you use it, what do you use it for? besides organizing information, i also use it as a static site generator for one of my blogs. at first its output seemed a little limiting, but after making several custom templates to my aesthetic/functional liking, the fact that it's rudimentary turned out perfect for me. instead of thinking about how i will structure my new "today's-post".html file into my site, or instead of rewriting my website navigation if i...
💬 7 comments · 3 likes · 2025-11-18 · 6 months ago
Linux Foundation is nuts. — Words are words, and like any blunt object may be used as a weapon or a stepstool. Unfortunately the Linux foundation, instead of focusing on Linux wants to change our language under the banner of 'diversity and inclusivity' by banning words. Master/Slave, valid engineering terms, out. Retarding, nope. I imagine, delayed is also frowned upon. Blacklist is not allowed. Whitelisting is also racist. Black anything is a nono. How about brown, yellow, pink, rainbow or...
💬 65 comments · 6 likes · 2025-08-29 · 8 months ago
With the release of Debian 13 which includes KDE 6.3 I find myself tempted to switch away from Fedora. Nothing against it but I think I might be getting too old for weekly updates! With flatpak I have as recent software as I want and for CLIs and libs, well, I don’t need everything latest… There’s still some FOMO but then again almost everything out there comes in a .deb to begin with! Has anyone here made the transition to the slow lane?
💬 8 comments · 2025-08-10 · 9 months ago
is there any way to get the git status in a couple characters? (ie +32 -10) for a custom prompt? i tried researching but the closest i could find was git diff --shortstat, which is one line but very very long
💬 2 comments · 2 likes · 2025-07-25 · 9 months ago
So... I have a problem. Just switched back to Fedora, and it was going fine, until I restarted today, and now my system is stuck in "emergency mode". Says "Press enter to continue" and gets stuck on "Starting default.target". So, I have no idea what to do to fix this. There were no error messages. I tried checking the fstab, and that's fine. I checked the btrfs partition for errors, and there weren't any. I disabled the nvidia hibernation services (using chroot), and that didn't fix anything....
💬 4 comments · 2025-07-11 · 10 months ago
Network speed limiting. — I am looking for a way to limit the speed of my network connection to simulating a modem connection, 28.8k like my first modem. I found NetEm and tc command, is this a good choice?
💬 2 comments · 2025-05-13 · 1 year ago
I'd like to set up my non-GUI Debian 12 system so that it automatically launches a specific program in each TTY I log into. Eg: htop on TTY1, mc on TTY2, etc, but I'm not sure exactly what to set up and where. Any advice would be very appreciated.
💬 11 comments · 2 likes · 2025-05-07 · 1 year ago
I've re-installed my OS Debian this weekend as a bit of a refresh, clearing unwanted junk and to get a bit more familiar with the tools I use, especially around locations of config files and how PATH environment variables work and things. It's been a great learning experience. I was wondering if anyone would like to share their methods, if you do this, so I can consider updating my workflow. I have a big [note] that lists everything I need to do once installed. I found my prior backup a bit all...
💬 4 comments · 1 like · 2025-05-03 · 1 year ago
I'm trying to build my first Flatpak app for some application that people can't install on their modern systems. It's written in C++, requires libboost and some other dependencies to build, like libssl-dev, libdb++-dev, etc. Can I install them from the Flatpak or I should build them from the source?
💬 5 comments · 2025-04-03 · 1 year ago
I want to try DietPi, but my Orange Pi PC+ is not listed there. How difficult is it to create this build for myself? Previously, I patched Armbian to get the LCD screen working, but I'm not sure about the device. Could I potentially damage it by providing incorrect settings at the OS level? [https link]
💬 View post · 2025-04-02 · 1 year ago
What about the default firewall on Fedora? Previously, on Debian I used simple ufw frontend for iptables, but I'm not sure if that's what I want here. Could someone advise me on how to create a safe configuration until I run Yggdrasil?
💬 3 comments · 2025-03-28 · 1 year ago
How can I run `dnf` command without updating repositories cache all the time: [bash] I turned the web upside down, tried -C command, added alias to .bashrc, tried to add `check_config_file_age=False` and `metadata_expire=-1` to `/etc/dnf/dnf.conf`but nothing helps - still same message on every dnf install run: [bash] Madness! I never encountered this problem on Debian, but I want to use Fedora because of the Clang bindings, which I need for development.
💬 9 comments · 2025-03-25 · 1 year ago
I've been using Linux for many years, mostly because it promises to be safe as open source. However, I still don't understand who is responsible for building the repository binaries and the hash sums that come with it: do maintainers build the binaries somewhere locally and then upload them to a repository with hash sums? or, do they just make a source code release, like new Git tag, then a shared OS image is built it and sign? If it's the first option, then my PC is a larger hole on the...
💬 4 comments · 2025-03-21 · 1 year ago
Did someone make Transmission respect the dark theme? I wrote this article, but I have not yet found any solution for this app: [gemini link] Dark theme support in GTK 3 apps Also, the adw-gtk3 patch is not an option for me, as it overwrites other legacy apps, including Firefox, and this extension looks like a cheap copy of the original Adwaita dark style. It's Fedora 41 here.
💬 8 comments · 2025-03-21 · 1 year ago
Dash to Panel GNOME Extension Gets Big Update - now I have Windows menu on GNOME desktop. WTF again. [https link]
💬 View post · 2025-03-10 · 1 year ago
Page 1 of 3