this post was submitted on 03 Oct 2024
49 points (90.2% liked)

Linux

8095 readers
21 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago
MODERATORS
 

This is my most needed feature in linux. I want zero 'connect/disconnect' sounds and if the laptop is asleep I don't want it to wake up in the middle of the night for no reason.

I have an infinite supply of Windows laptops from work but I hate them with a burning passion and I can't afford to replace my Macbook.

If someone can tell me what linux distro is the most silent and least annoying I will erase my entire Windows partition this weekend.

top 33 comments
sorted by: hot top controversial new old
[–] [email protected] 37 points 1 month ago* (last edited 1 month ago) (1 children)

They don’t have that feature out of the box but I bet you could configure them to do so. I’m sure there’s a “randomly beep and turn on in the middle of the night” lib somewhere.

Erase it. Join us.

[–] [email protected] 12 points 1 month ago (2 children)

Actually back in the old days with daily cron jobs they'd usually trigger at 3 or 4AM and make your IDE hard drive chatter for a while. I think the systemd jobs work like acron and just fire once the machine is woken up if it's past time for them to run.

[–] [email protected] 12 points 1 month ago* (last edited 1 month ago)

TIL acron is anacron an asynchronous cron like tool and not a typo.

Edit: FWIW systemd timers can do both behaviors. https://wiki.archlinux.org/title/Systemd/Timers section 4.2

[–] [email protected] 2 points 1 month ago

Oh perfect! OP can probably just recreate that sound, even just slap a 3600rpm spinning disk drive in there for good measure. It’ll be familiar and cosy for them.

[–] [email protected] 15 points 1 month ago (1 children)

Maybe I am missing something, but why not just shut down the machine for the night?

[–] [email protected] 11 points 1 month ago

I've changed some of my habits but it would be ideal if I wasn't always trying to outfox the computer. It's a laptop, so for me that means it is on on most of the time and plugged into a dock. I'm a night owl too so I end the day with lots of stuff open and plans to keep going in the morning, I'd rather not shut down. I also struggle with my mood and often little things that seem easy can feel like a lot. I like my IT to be low maintenance.

[–] [email protected] 11 points 1 month ago (2 children)

I don't want it to wake up in the middle of the night for no reason.

What Windows have been doing the last couple years is they moved from regular sleep to some poorly implemented standby mode that works more like a phone does where it still runs just very power efficiently and still does stuff in the background. Macs have been doing that for a long time except they actually did it right so it doesn't suck.

Linux doesn't support it yet so you'll get classic stop the world sleep anyway, but either way it'll always be customizable even when connected sleep gets implemented.

[–] [email protected] 14 points 1 month ago (2 children)

I know I'm showing my age with this comment, but when I don't use my computer, I turn it off.

[–] [email protected] 6 points 1 month ago (1 children)

Difference with laptops and desktops.

Work laptops I almost never turn off. Hibernation is better because being able to save 10 minutes getting everything set back up is valuable.

Desktop gets turned off when I plan to not use it for a while.

Server is always on except for updates.

[–] [email protected] 1 points 1 month ago

being able to save 10 minutes getting everything set back up

Woof. I do not miss this part of windows, not even a little. When I boot fedora I have to type in the pass to unlock the drive, the pass to unlock my user acct, and the pass to unlock my external drive, and it still takes like 1/3rd of that time, even if I then immediately open 4 programs and start downloading, browsing, terminaling, whatever, still faster than 10min to get up and running.

[–] [email protected] 5 points 1 month ago (1 children)

Under Windows, I never wanted to shut it down because it took forever to both shut down and boot back up, so I used the sleep function. But I'm definitely old enough to have grown up with the habit of turning off the computer when I'm done.

That same laptop running Linux gets shut down when I'm done using it for the night because it's just so much faster, and it applies the automatic updates my distro uses - painlessly. Why are Windows updates so terrible?

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago) (1 children)

The applying updates on shutdown is another interesting thing... Where did that come from btw? In the old days, my Linux machine used to apply updates in the background. Or ask me. And now a few distros have switched to doing it on shutdown (or worse: restart and start some systemd task and shut down again), which is mildly annoying if you want to shut down your laptop, throw it into the backpack and catch the next train.

[–] [email protected] 2 points 1 month ago (2 children)

Which distros are auto-updating at shutdown? I want to avoid that windows-ass bullshit like the plague. Never seen that on Linux so far.

[–] [email protected] 1 points 1 month ago

Idk, I'm not distro-hopping that much these days. The Laptop that annoyed me had Debian Testing. I think with the unattended-upgrades (badly) configured. Fortunately you can change that in less than a minute...

[–] [email protected] 1 points 1 month ago (1 children)

It's doing the updates automatically in the background, but it applies them on the next reboot. It's easy to change that and manually update but I like how unintrusive it's been - I've had to go and check to make sure my machine is actually updating. And if for whatever reason the update breaks something I can roll it back and still have a working computer and deal with tinkering later, but it hasn't broken yet. I'm on Bazzite. It's opinionated and I definitely wouldn't recommend it to everyone, but I really like it.

[–] [email protected] 2 points 1 month ago (1 children)

Interesting. I really like the discrete nature of applying updates at will on pop os. I always despised windows doing it automatically

[–] [email protected] 1 points 1 month ago

I despised Windows doing it automatically too, but that mostly had to do with how long it took, when it did it, and what those updates were. I think if Windows did updates like Bazzite, in the background while the computer isn't under heavy load, rather than taking five + minutes at shutdown when you just want to go to bed, and you never boot back up to find out that the update was nearly unremovable AI garbage or ads, it's better.

For the casual users who just want their computer to work, I think it's a good way of doing it if you can't do live patching for whatever reason, but for the OS as a hobby folks (I get it, no shade, lol) that you sometimes see in Linux spaces online, manual updates can be part of the fun.

[–] [email protected] 0 points 1 month ago (1 children)

Windows 95 had sleep mode and hibernation. Sleep mode, then as today, writes the system state to RAM, then shuts down power to everything but the RAM. Hibernation works in a similar way, except the system state is written to disk, then the computer is powered completely off. There's no "do stuff in the background" mode.

[–] [email protected] 9 points 1 month ago

Yes there is, "Modern Standby"/S0ix/S2idle.

The CPU is still in a sleep state but less deep than regular S3 suspend, and it can wake up much frequently and silently to do stuff like check emails or whatever.

See "Suspend to idle" : https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate

[–] [email protected] 10 points 1 month ago

If it's truly in a sleep mode, and you don't have Wake-on-LAN enabled, no distro that I'm aware of will wake itself and make noise.

But the belts-and-suspenders solution is to make a cron job that mutes the audio devices in the evening, and unmutes it in the morning. Depending on your cron subsystem and configuration, this will work even if the laptop is asleep at the trigger times; some cron systems guarantee execution of events - systemd is one of them, and is the most likely one you'll encounter.

But, seriously: if you put Linux to sleep, it stays asleep; you have to work to get it to wake itself up to do things, and it usually requires some external trigger.

[–] [email protected] 9 points 1 month ago (1 children)

I think others have already covered linux being silent if you want it to be.

I just want to acknowledge your headline, which made wonder if someone had named their newborn baby "Linux". Thanks for the laugh. :)

[–] [email protected] 3 points 1 month ago

You just know someone probably has named their kid "Linux" 😅

[–] [email protected] 8 points 1 month ago

It's linux, so basically anything it does that you don't like you can learn to fix yourself. I'd shy away from Gnome (because they like you to have less control, or, less easily anyway), maybe try FrdoraKDE or Mint, popular distros with lots of help online.

If you have "an infinite supply of windows laptops" I'd pick a thinkpad that isn't your main and try it out on that, what do you have to lose? You'll still have your main untouched (until you see the glory of linux and install different distros on all of those laptops, but that'll come later..)

[–] [email protected] 7 points 1 month ago

Give it a try, used to be that people struggled to get Linux to make sound at all 😅

I don't think most minimal distributions or big ones default to having sound but it has been a while since I tried many distros

[–] [email protected] 7 points 1 month ago

Any distro can do this. However the "user friendly" ones would tend to be the worst about it. Wanting to beep boop to get your attention for updates etc. I won't say which distro I use "by the way". But with Linux you are the admin. You own the system. You can disable noisy update notifiers or things that would wake the system. I had an HP elite book with garuda on it. I accidentally left it on and "charging" for several days. Thought it was unplugged and off. Didn't show any signs of life till I dropped something on the KB.

[–] [email protected] 6 points 1 month ago* (last edited 1 month ago)

A new Linux OS may emit unfamiliar sounds if some network app is still running and set to use them for notifications. Quitting the (sound-making) app(s) and/or the network connection will can avoid that problem. Of course you can just turn the sound volume all the way down.

Suspended OSs may sometimes 'wake up for no reason' if some vibration causes the mouse, for example, to jiggle around enough.

Logging out of your user account before suspending/sleeping the machine will stop that stuff without having to dig thru settings. Faster to log back in than to reboot.

[–] [email protected] 5 points 1 month ago

I think you should be able to disable notification sounds on pretty much any distro and desktop environment out there. For example I use Fedora with KDE and you can just open up System Sounds and uncheck "Enable Notification Sounds" and it'll just be quiet.

As for waking up from sleep randomly, I never noticed it wake from sleep randomly. I vaguely remember it doing that when I had Windows installed on it a few times.

[–] [email protected] 5 points 1 month ago

They should go to sleep and stay asleep

[–] [email protected] 4 points 1 month ago (1 children)

are you perhaps asking to disable the connect/disconnect jingle? As that can easily be done under the audio system settings > notification in KDE

not sure if this is what you're asking for

[–] [email protected] 1 points 1 month ago

the problem is intermittent but yes that's basically what I'd do.

I am liking the sound of being admin of the PC. I like that. I only have surface laptops though and am less encouraged by the setup of that. Also.. I forgot that I use Sketchup regularly so will need to keep my windows partition.

[–] [email protected] 4 points 1 month ago

I'm sure most distros don't have sounds on by default and whatever sounds there are can easily be disabled.

Try Linux Mint. It's a very solid starting point for beginners.

[–] [email protected] 1 points 1 month ago

It can easily be configured to emit no sounds, and wake-up is usually a function of your BIOS settings, disable wake-up on LAN, etc and you won't have an issue.

[–] [email protected] 1 points 1 month ago

Most laptops have a “mute” button.

Does that stop the sounds?