No, both work for both but tee will yap back at you.
opfar.v30
- 0 Posts
- 14 Comments
opfar.v30@lemmy.mlto
Linux@lemmy.ml•Running a command only when resuming from the hibernation part of suspend-then-hibernate?
6·2 months agoLook into
man 8 systemd-suspend.serviceImmediately before entering system suspend and/or hibernation systemd-suspend.service (and the other mentioned units, respectively) will run all executables in /usr/lib/systemd/system-sleep/ and pass two arguments to them. The first argument will be “pre”, the second either “suspend”, “hibernate”, “hybrid-sleep”, or “suspend-then-hibernate” depending on the chosen action.
t. fellow
suspend-then-hibernateuser.
opfar.v30@lemmy.mlto
Linux@lemmy.ml•Which Linux tool or command is surprisingly simple, powerful, and yet underrated?"
7·11 months agoalias cal="cal -m"
opfar.v30@lemmy.mlto
Privacy@lemmy.ml•‘AI is reliant on mass surveillance’ and we should be cautious, warns head of messaging app
2·1 year agoYou know how to tell that it wasn’t?
It’s using careful hedging language — “could be used to attempt”, “have the potential to”, “more effective”.
AI would just plow through that shit, hallucinating facts like there is no tomorrow.
opfar.v30@lemmy.mlto
Privacy@lemmy.ml•‘AI is reliant on mass surveillance’ and we should be cautious, warns head of messaging app
2·1 year agoThis is nonsense. Passwords might have an interesting distribution, key space is flat. There is nothing to learn.
And I hope you didn’t mean letting an LLM loose on, say, the AES circuit, and expecting it will figure something out.
opfar.v30@lemmy.mlto
Privacy@lemmy.ml•‘AI is reliant on mass surveillance’ and we should be cautious, warns head of messaging app
3·1 year agoYou can train AI to crack encryption
Oh do provide details.
opfar.v30@lemmy.mlto
Technology@lemmy.ml•EU attempt to sneak through new encryption-eroding law slammed by Signal, politicians
6·1 year agoYou silly goose. Sweden, a major arms exporter and one of the world’s top 3 arms exporters per capita is, in fact, the western military-industrial complex.
It’s bluca, yo.
As a random example, here is bluca breaking
suspend-then-hibernate, then being a complete asshole about it, while other systemd devs are trying to put the fire out. Do read his code reviews on the latter. yuwata and keszybz have nerves of steel.The current behaviour is fully expected and documented
bluca is cancer.
Yo, setup hibernation and use hybrid sleep as your default sleep.
ln -s /etc/systemd/system/suspend.target ../../../usr/lib/systemd/system/suspend-then-hibernate.targetNow any sleep is hybrid. The machine suspends, then wakes up after a timeout, and enters hibernation. The timeout is configurable in
systemd-sleep.conf(5).With this combo I find that I prefer S0 to S3. S0 drains the battery about twice as fast, sure, but it resumes instantaneously, while S3 takes about 30 seconds (!) to resume on this machine. And the thing hibernates and powers off if I leave it for an hour anyway.
opfar.v30@lemmy.mlto
Technology@lemmy.ml•Framework Laptop 13 gets Intel Core Ultra with a 120 Hz display, and cheaper AMD models
22·2 years agoI have a fist-gen Framework 13 (Intel 11). If I want to upgrade to fully match the new gear, what needs upgrading…?
Off the top of my head:
- display,
- mobo,
- my 64GB of DDR4 must be swapped for DDR5 IIUC,
- camera,
- the new 61Wh battery, and
- there were these new speakers, I think.
I should probably get a new keyboard as well, as I’m one of the people with the DEL key randomly going dead.
I already replaced:
- hinges, and
- the top cover.
I can hold on to the £10 wireless card, the PCIe3 SSD that I bought after WD just died one day, and the compressed alufoil that is the main body.
Well fuck me.
opfar.v30@lemmy.mlto
Open Source@lemmy.ml•systemd Rolling Out "run0" As sudo Alternative
161·2 years agoYall understand that what actually changed is a symlink? That
systemd-runis now linked fromrun0, and that’s enough to make a SUID-less sudo?
If outputting separate programs to separate outputs: install Pavucontrol (yes, for Pipewire); change outputs per-program in the first tab.
If trying to output the same stream(s) to both: install Helvum; drag lines around to connect to additional outputs.