this post was submitted on 25 Mar 2024
140 points (100.0% liked)

Linux

1253 readers
69 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'll start with mine. yes part of this was to brag about my somewhat but not too unusual setup. But I also wanna learn from your setups!

Anyways: I primarily use Gentoo Linux.

I have two headless servers: a Raspberry Pi 4B and a Oracle cloud VM (free tier). Both running OpenRC, and both were running mainline kernel with custom config (I recently switched the Pi to PiFoundation kernel due to some issues). The raspberry pi boots from SSD and has no sd card inserted.

Both servers were running musl libc instead of glibc for a while. This gave me a couple of random issues, but eventually I got tired and switched back to glibc.

I have a desktop running gentoo and a laptop running arch, but hoping to switch the laptop to gentoo soon.

Both are daily driving wayland (the desktop had nvidia card and used for gaming). The desktop is running a kernel with a minimal config that compiles in 2-3 minutes.

What's your unusual setup like?

top 50 comments
sorted by: hot top controversial new old
[–] ExtremeDullard@lemmy.sdf.org 51 points 6 months ago* (last edited 6 months ago) (1 children)

My work machine isn't too unusual, apart that it has 52 USB devices connected. And here's something you may not know: Linux can't enumerate more than 16 USB ports if the root is configured as USB3, so I had to force all the ports to run in USB2 mode - which is fine in this case, since most of them are serial ports.

[–] riskable@programming.dev 13 points 6 months ago (1 children)

This is caused by your root controller's limited bandwidth and it's inability to handle that many 3.0 devices at the same time. Some of the newer motherboards with USB C PD have controllers in them that can do a lot more.

It's basically a hack on part of the company that made the root controller IC. They know they only have enough internal bandwidth to support 16 USB 3.0 devices so they intentionally bork things when you plug in more than that since their Transaction Translator (TT) can't handle more and they were too lazy to bother implementing the ability to share 2.0 and 3.0 properly.

I'm guessing the decision went something like this...

"We have enough bandwidth for 16 3.0 devices... What do we do if someone plugs in more than that?" "Only a few people will ever have that many! We don't have the budget to handle every tiny little use case! Just ship it."

So it's not Linux fault in this case. Or at least, if it is (a problem with the driver) it's because of some proprietary bullshit that the driver requires to function properly 🤷

[–] ExtremeDullard@lemmy.sdf.org 4 points 6 months ago (3 children)

Yeah I figured it might be something like that. But I wasn't sure it wasn't a kernel limit - or even a limit in the USB3 specification - because I actually only have one USB3-capable device connected (my cellphone). All the other devices are low-bandwidth USB2 FTDI USB serial converters. I thought it couldn't be a bandwidth issue when all but one device can only use a fraction of what's available.

load more comments (3 replies)
[–] 2xsaiko@discuss.tchncs.de 18 points 6 months ago (7 children)

I have NixOS running on my main desktop with some unusual changes:

  • / is mounted as tmpfs, with /etc, /nix and /var being mounted from the actual system partition (this actually isn't too uncommon on NixOS)
  • For swap, zswap and dynamically allocated swapfiles using swapspace daemon (this is imo the best swap setup if you don't need hibernation)
  • Akonadi (KDE's PIM server) using PostgreSQL instead of MySQL
  • ISO8601 date format, for this I have glibc's en_DK locale which does this copied to en_SE because Qt has en_SE as the locale with ISO date
  • A couple changes to make the layout more like macOS because I can:
    • Partitions are either mounted or auto-symlinked (if they can't be mounted there, such as for the system partition) under /Volumes
    • I patched udisks to also mount devices under /Volumes
    • User home directories are under /Users and root's home is /var/root
    • Keyboard layout changed as far as I can to be mostly like Mac's so I don't have to rethink layouts as much when switching between this and my MacBook
  • Can't technically list this anymore since I've had to tear it down for unrelated reasons but NFS using Kerberos authentication for my NAS
  • This is apparently very unusual since a lot of games completely break with it but two monitors with the main monitor on the right
[–] starman@programming.dev 5 points 6 months ago (3 children)

This is apparently very unusual since a lot of games completely break with it but two monitors with the main monitor on the right

This is unusual? I use the same monitor configuration, and I didn't notice any problems with it. Or at least I didn't figure out they could have been caused by monitor setup. Could you give me an example of what problems have you encountered?

load more comments (3 replies)
[–] agressivelyPassive@feddit.de 2 points 6 months ago (1 children)

What's the deal with / as tmpfs about? I'm so trying to understand nixos.

[–] 2xsaiko@discuss.tchncs.de 4 points 6 months ago

NixOS can boot from a file system that only has /nix, since essentially the kernel command line has init=/nix/store/.../init. Everything else will be created during boot by that if it isn't already there. So technically you could only mount /nix and you would get a blank system every time you boot (but that wouldn't be very useful in most cases). Mounting these is done in the initrd.

A lot of people have a setup where only select files are mounted from a persistent partition, such as /var/lib/postgresql, basically anything they want to keep across reboots, so that the rest is discarded when they reboot. This prevents the system from accumulating junk over time, from services you once used to have but no longer have running, and so on. Personally I found it too much of a hassle to keep track of what files I want to keep, so I save the entire /etc and /var. I still keep the tmpfs though because it's pretty cool.

load more comments (5 replies)
[–] henfredemars@infosec.pub 15 points 6 months ago* (last edited 6 months ago) (1 children)

Not mine, but while I was an intern for a lab I enjoyed using a very normal-looking desktop with a casual 4TB of DDR4 and no SSD or HD, dual Xeon configuration. Rather, it did network boot and pivot root into an in-memory filesystem. It had a UPS and typically ran for months entirely from volatile storage and was used to run experimental photo and video processing. This was about ten years ago.

load more comments (1 replies)
[–] neidu2@feddit.nl 8 points 6 months ago* (last edited 6 months ago) (1 children)

Not THAT unusual, but... I have a Dell R520 server that was leftover/retired from work. I mostly use it for storage due to the amount of disk trays it has. I have all of these disks in a ZFS pool, leaving no actual drives for the OS. However, this was an old VM server, so it has an internal USB 2 port and a ridiculous amount of RAM, so the OS is booted from USB, and I don't use swap.

Boot performance is abysmal (on the rare occasion where I actually need to reboot), but once booted I notice no real downside to having the OS itself on really slow storage. Sure, it's somewhat slow to do os-related stuff such as apt-get, but it's not like I'm in a hurry when doing it. Plus other than updating stuff, the OS storage doesn't see a whole lot of changes/writes.

Now I just need to figure out how to economically attach these 40 additional SAS drives I have. It doesn't have to look good (i.e. fit in the same chassis. Or any chassis at all, for that matter), it just have to work. These additional drives are only 4TB each, but they were free.

load more comments (1 replies)
[–] domi@lemmy.secnd.me 8 points 6 months ago (5 children)

On my desktop I use 2 virtual audio devices that are linked to my real audio card with qpwgraph in order to split audio between VoIP applications and desktop/game audio.

[–] Jimmycrackcrack@lemmy.ml 2 points 6 months ago (2 children)

I tried to set this up on a mac using soundflower so I could share my screen with an edit project with the director during lockdown and still chat to them at the same time. Didn't work for some frustrating reason relating to Skype.

load more comments (2 replies)
load more comments (4 replies)
[–] d3Xt3r@lemmy.nz 8 points 6 months ago* (last edited 6 months ago) (3 children)

I use Wayfire (which not many people use for unknown reasons), and one of the things I like to do with it is have a fiery drop-down Kitty terminal. :)

I haven't seen anyone else do a drop-down Kitty in Wayfire before, so I'd like to boldly claim I'm the first one to do so. :) Yes I know it's pointless, but it's also cool, and it's fast thanks to being fully GPU-accelerated, so why not?

And no, I don't use the fire effect for other windows - that'd get real old, real fast. Thanks to Wayfire, I can define window rules so the effect only applies to my drop-down kitty. Also, my regular kitty windows open normally, without any fancy effects - and it's possible to differentiate this thanks to kitty allowing you to specify an custom appid.


I also use doas instead of sudo. I just got tired always fighting with sudoers, doas is so much more easier to setup and work with.


Finally, I use grc to colorize all my log output. Makes my journactl looks nice. :)

load more comments (3 replies)
[–] mfat@lemdro.id 8 points 6 months ago (6 children)

Not sure how unusual it is but I run openwrt x86 on a fanless Asus mini PC as my main router at home.

load more comments (6 replies)
[–] delirious_owl@discuss.online 7 points 6 months ago* (last edited 6 months ago)

Probably the weirdest I've done was play doom on a sansa mp3 player with rockbox installed

[–] toastal@lemmy.ml 7 points 6 months ago* (last edited 6 months ago) (1 children)

Lenovo support seems to think I have an unusual setup since I run Linux on their Thinkpad & while the NVMe even after an RMA fails under heavy IO despite their partner WD, who sent me an email response saying they never test or certify drives for Linux or BSD. Many users have been experiencing similar failures with their controllers WD proudly boasts as in-house. Note that Lenovo also has a support PDF about running the device on Linux, but the support is ran by a bunch of clowns. Also not that when you purchase, the hardware brand is never mentioned so there is na room for due diligence.

Tl;dr: if you want a working Linux system, don’t purchase Western Digital or Sandisk drives.

[–] eagertolearn@discuss.tchncs.de 2 points 6 months ago (3 children)

I have been running my linux installs off of wd drives for years without any issues. Most of the devices I run are Asus laptops, maybe it is a Lenovo issue?

load more comments (3 replies)
[–] gkpy@feddit.de 6 points 6 months ago (1 children)

i have a gentoo system with a custom s6-rc service tree that fully replaces openrc and boots via s6-linux-init.

instead of a display manager i have tinydm (from postmarketos) and autologin setup. since i use full-disk encryption and suspend-to-disk i find that i don't need the extra login step into my user session.

i have a bunch of bemenu-based helpers for wifi, bluetooth, vpn, audio, passwords, mounting drives, etc.

i don't have polkit or sudo installed. i use doas.

load more comments (1 replies)
[–] tatterdemalion@programming.dev 6 points 6 months ago (1 children)

Not my main rig, but my most unusual is 32-bit Yocto Linux on an Intel Edison that I got for free from a college professor that worked for Intel.

Yocto is awful. I mean it has a niche I guess, but there is basically no package manager. Somehow I managed to install a Rust toolchain on it, but it couldn't build the web server I wanted to run on it.

I'd much rather have a Pi running a sane distro.

load more comments (1 replies)
[–] Octorine@midwest.social 6 points 6 months ago

Sometimes I'll start up ConnectBot, which is an android ssh client, on my meta quest. Then I connect to my laptop and attach to a running tmux session so I can use the laptop keyboard but see the text in a virtual window.

My actual laptop setup is pretty boring though

[–] TimeSquirrel@kbin.social 6 points 6 months ago* (last edited 6 months ago)

Now, not so unusual, I have pretty dull and standard "gaming" type PC running stock Debian, but about 20 years ago as a broke mofo I was running a phpBB forum off a wheezing Pentium MMX laptop with no screen (got ripped off a year prior) on Mandrake Linux. The whole thing was just loosely sitting under my bed. Managed to get a userbase of just under a hundred people before I lost interest. I was using Webmin to manage it from another PC.

I had to connect up an external monitor every time I needed to do something I couldn't do remotely. I learned so much from that laptop. "./configure, make, make install" became muscle memory.

Arch on 2019 MacBook Pro (16-inch) with MaXX Interactive Desktop.

[–] chameleon@kbin.social 5 points 6 months ago (1 children)

My casual-browsing-only netbook is currently running on a RAID0 setup between the internal eMMC and the microSD card because I think it's funnier that way. Nothing useful's stored on there and it's one nixos-rebuild away from being reinstalled so I don't mind the inevitable breakage.

load more comments (1 replies)
[–] dave@feddit.uk 5 points 6 months ago

Just started running Arch + KDE on a Kingston Traveller to experiment with setup. Installed from live usb iso and then ran archinstall to the same device.

Runs nicely on my dell xps laptop and my desktop with 3 monitors connected to an Nvidia 1070Ti.

[–] spencer@lemmy.ca 4 points 6 months ago

Not mine but my partner’s machine (which I build and largely maintain for her) is a custom Debian install on ZFS root using ZFS boot menu and running a custom minimal i3 desktop environment.

[–] RecallMadness@lemmy.nz 4 points 6 months ago (4 children)

I used to have Gentoo running a Libvirt hypervisor, which would then run multiple short lived isolated windows and Linux machines with GPU passthrough for all the different companies and projects I was working on.

Spent far too much time keeping the guest machine images up to date, and all the configs and stuff managed and synchronised.

Then my laptop died that I was using to manage everything so I gave up.

load more comments (4 replies)
[–] TDCN@feddit.dk 4 points 6 months ago (4 children)

I think my most unusual step os to select dvoark keyboard layout. Otherwise I'm pretty vanilla.

[–] init@lemmy.ml 3 points 6 months ago (4 children)

There's another one of us! Quick! Take a picture!

I've only met one other person that knew who/what Dvorak was/is, and also reportedly used that keyboard layout.

I struggled with getting lost on the keyboard (several family members have dyslexia and ADHD--I'm not sure if that is related or not), and as an experiment spent 4 months exclusively using that layout to force myself to learn.

They never told me how my brain was also only big enough for a single keyboard layout. Usually in windows, games map to the same keys automagically. On Linux, not so much. I'm constantly remapping controls because I can't be bothered to just have two keyboard layouts I swap between for games /facepalm

load more comments (4 replies)
load more comments (3 replies)
[–] PureTryOut@lemmy.kde.social 4 points 6 months ago

Alpine Linux on my desktop and laptop, Alpine on a Raspberry Pi 3 working as a network/Bluetooth speaker for 5.1 surround speakers, postmarketOS on 2 RockPro64's which I'm currently replacing for a single x86 NAS running Alpine.

[–] theshatterstone54@feddit.uk 4 points 6 months ago

Fedora Hyprland, with Floorp and Emacs. Not very unusual, especially when compared to what people are saying here. Umm... floating Waybar and EWW as a conky replacement? A customised Neofetch?

Oh, I got it! I'm using my own handcrafted colourscheme! It's not perfect but it looks very good and is quite nice and blue! And I use Bemenu for a logout menu in a homebrew script.

I'm getting into using Syncthing to synchronise my Notes directory between my devices, which I use on my phone to access my orgmode notes and todo items via an app called Orgzly.

I use a Launcher called Olauncher on my phone which runs LineageOS rooted with KernelSU (that's quite unusual I guess).

My backup solution is 2 USB sticks and Syncthing.

I run the teams-for-linux flatpak for education-related purposes.

Even with all that I still feel like the most Plain Jane user when I'm seeing people using servers and niche distros, even though I'm sure combining it all together will leave us with only 1 user in the world that does things in that exact way: me.

[–] Petter1@lemm.ee 4 points 6 months ago

I guess my macbookpro from 2009 with Legacy NVIDIA grafics running Arch with GNOME on Wayland is pretty uncommon, lol (Of course using nouveau derivers)

[–] haui_lemmy@lemmy.giftedmc.com 4 points 6 months ago (1 children)

I read through all the comments and its both glorious and frightening. My setup probably is the most vanilla in here…

  • Debian 12 + KDE on my daily for work, play and streaming
  • Pop_os on asus a15 with 3070m
  • Ubuntu Server on an old xeon 4 core which runs many services (plex, homeassistant, pihole, etc)
  • LibreELEC on pi4 8 GB connected to my dumbtv in the bedroom
  • Ununtu Server on a VPS running 4 fediverse services (lemmy, mastodon, peertube and matrix) a wiki, a forum and surrounding stuff

Probably only the amount of different things is a bit different, otherwise I‘m quite risk averse.

Thanks for reading. Have a good one!

[–] init@lemmy.ml 2 points 6 months ago (4 children)

I think I have you beat for most vanilla.

I play games on PopOS, and host FoundryVTT on my micro PC running Windows for DnD. I also stream games from the PopOS gaming rig to the Windows PC so I can play them from the couch on the weekend.

load more comments (4 replies)
[–] technologicalcaveman@kbin.social 3 points 6 months ago

Gentoo gaming and music production rig working through mostly tty with dwm as a graphical display. I typically stay on tty until I want to play a game, use modern web, or record a song. Otherwise tty with Links browser.

[–] Communist@lemmy.ml 3 points 6 months ago

I've developed an install alias that automatically configure a wide variety of things really easily for arch, I had a bunch of people use my setup and logged the usage of each different keybind, then sorted them by most used and put those on the strongest fingers

I've spent more than a few hundred hours configuring stuff, you can check it out here if you want:

https://gitlab.com/that1communist/dotfiles/

[–] sunred@discuss.tchncs.de 2 points 6 months ago

I could mention that my bare metal server runs a rather unusual setup in that I use Arch Linux on ZFS headless as a kvm hypervisor and lxc containerisation host. I maybe want to migrate it to something else like NixOS at some point since I use nix on Arch on my desktop already but since I know Arch the most of any Linux distro I just went with it and it's running rock solid for quite a few years already.

load more comments
view more: next ›