this post was submitted on 03 May 2026
47 points (98.0% liked)

Linux

65045 readers
186 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 7 years ago
MODERATORS
 

Linux is cool, I can do a lot of things with it. If i set a config file in Linux, I am damn sure that it is ran every single time. The code does what you tell it to do.

There is 1 thing that always seems to be "black magic": 1) lid close and suspend 2) lid close and suspend and lock.

If we ignore locking for a moment and focus on suspend. I cant seem to figure out why sometimes lid close would suspend immediately, when other time it takes 5 seconds after lid closes. On some days, lid closes would not even suspend !!

Did anyone manage to get suspend work 100 %? I cant believe we have tons of great linux tools and years into kernel dev, and still suspend is a hit or miss.

you are viewing a single comment's thread
view the rest of the comments
[–] cerebralhawks@lemmy.dbzer0.com 2 points 1 day ago (1 children)

Not sure how lid detection works on Linux because there are so few laptops that ship with Linux. So I'm not sure if there's a set rule on that. But, Linux can run on like most, if not all, x86-64 Wintel laptops out there, so there's gotta be a standard.

That said, I use Macs at home and Windows at work. It's hard wired in my brain that when you get up, you ⌘+CTRL+Q on a Mac or Win+L on a Windows box to lock the machine when you get up. Every single time. I don't care if it's a laptop or a desktop. The exception is my MacBook because I know exactly what it'll do, and it'll do what I want it to. But sometimes I do the three finger salute.

So I imagine if I used Linux, I'd just use its 2/3 finger salute to lock workstation before walking away, because that's my SOP for walking away from any computer. My main phone is an iPhone, but sometimes I use an old Android phone. My SOP for using it is much the same as the iPhone. So if I were using Linux, I wouldn't treat it any differently. All that being said, I'd expect the lid action to be in the power options like it is in macOS and Windows. But I guess I'd see if it actually does what it says?

[–] Attacker94@lemmy.world 1 points 1 day ago

I am very much the same with locking the system manually, and on KDE it is the same as the windows shortcut ie Super + L