this post was submitted on 06 Jun 2025
212 points (97.7% liked)
linuxmemes
25504 readers
1158 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows.
- No porn, no politics, no trolling or ragebaiting.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. ๐ฌ๐ง Language/ัะทัะบ/Sprache
- This is primarily an English-speaking community. ๐ฌ๐ง๐ฆ๐บ๐บ๐ธ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
- Keep discussions polite and free of disparagement.
- We are never in possession of all of the facts. Defamatory comments will not be tolerated.
- Discussions that get too heated will be locked and offending comments removed.
ย
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
founded 2 years ago
MODERATORS
Systemd at its core starts stuff when your Linux system boots and during normal operation. It can also start stuff at specific times. That was traditionally done by cron.
But of course when you set up to run something at midnight it cannot run if the system is in standby. But with the WakeSystem=true option you can tell it to basically set an alarm for the computer to turn itself back on and do whatever you want it to do.
It does not turn your computer back to sleep, though. That's something you have to script yourself.
I hope they add the ability to turn the computer on even if it is completely shut off. That would make keeping my family's computers updated much easier.
That's probably not possible, but you could do it with a microcontroller and a relay bridging the power switch.
If you read the corresponding feature request it actually seems to be pretty easy. They were just arguing about implementation details.
Windows has supposedly also done this for a while now.
Of course it depends on hardware capabilities. But I guess it's common enough now.
Edit: This is actually trivial to implement with the
rtcwake
command. Usually available in linux-utils or similar packages.rtcwake --list-modes
shows you what modes your system supports.Edit 2: Like, this is beyond trivial. Just echo the desired waketime as a Unix timestamp to
/sys/class/rtc/*/wakealarm
and you're set. Doesn't matter if the system is just sleeping or turned off entirely.Edit 3: But waking from power down seems not to be supported on the Steam Deck. Only from suspend.