this post was submitted on 20 Apr 2024
828 points (97.4% liked)

Technology

60041 readers
2109 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] jet@hackertalks.com 36 points 8 months ago (3 children)

I want my power button to cut off the power instantly. I want my log off button to be instant. Add any delay and I start pulling cables!!!!!!!!!

I got to go, lock this computer, so I can do a thing! Oh shit, its not locking... fuck... Security says I can't leave a unlocked console.... POWER!

Adding needless friction is terrible! Don't do it.

[–] rbos@lemmy.ca 20 points 8 months ago (1 children)

At work, when I did desktop support, the number of people who would just hit their power bar when they left every day...

[–] MycelialMass@lemmy.world 12 points 8 months ago

Alpha move right there

[–] Corkyskog@sh.itjust.works 11 points 8 months ago (1 children)

Is that bad for the computer? Because I didn't even think about this in a corporate environment until your comment. All our employees would be pulling cords or batteries, they all march out at exactly 430.

[–] jet@hackertalks.com 16 points 8 months ago (1 children)

any unwritten data would be lost, perhaps some file system updates get out of sync, but it shouldn't be a big problem.

[–] jlh@lemmy.jlh.name 11 points 8 months ago (1 children)

It is very easy to corrupt files doing this.

[–] catloaf@lemm.ee 9 points 8 months ago (1 children)

A proper journaling filesystem should handle this, but I hardly trust NTFS as it is.

[–] jlh@lemmy.jlh.name 3 points 8 months ago* (last edited 8 months ago) (1 children)

Journaling should make sure that the file system itself doesn't corrupt, but journaling doesn't magically make all writes atomic. If a program is halfway through writing a file and the power is cut, that file will be corrupt.

[–] jet@hackertalks.com 2 points 8 months ago (1 children)

As a user. When I want the computer to shut down. I've got my programs already closed. I really don't care if there's a half open log file or some telemetry isn't properly recorded. It needs to shut down now.

[–] jlh@lemmy.jlh.name 3 points 8 months ago* (last edited 8 months ago) (1 children)

By default, Linux can take up to 15 seconds to write a file to disk, this is for power saving reasons. You could corrupt the last document/photo you saved, your browser profile, or your nextcloud sync.

Linux usually shuts down immediately if you don't have any unsaved files and nothing glitches out during shut down. But yeah, windows sucks, corrupt files is probably the least of your problems using Windows.

I guess on Linux, if you run sync to write all cached files to disk, and then pull the cord, you're probably fine.

[–] jet@hackertalks.com 2 points 8 months ago

I like to think of it like this. When I tell the computer to power down its a fair warning. Just like when a UPS sends the alarm signal. Power is going off, you better get in a good state now.

[–] psud@lemmy.world 6 points 8 months ago (1 children)

Win+L to immediately lock a windows machine. You can get the logout dialogue with alt+F4

[–] ManniSturgis@lemmy.zip 1 points 8 months ago

KDE Plasma uses largely all the same shortcuts as windows. The most important ones in my opinion being super+arrow keys to move and tile windows.