Kho tháng 3/2026

Mon Mar 16 03:42:41 PM CET 2026

Power button has to be controlled by elogind not acpid

Learned that semi-hard way. While ACPI hooks still run, e.g. to hibernate the system on pressing power button. Upon resuming, it continues to... shut down.

It turns out, according to some random comment on the internet, and logind.conf, many ACPI events are intercepted by elogind as well. So doing this works, without messing around with acpid

[Login]
HandlePowerKey=hibernate

Not exactly sure how acpid is bypassed in this case though, because the defaut script will still try to power the thing off. Oh well, not curious enough to find out.


Tác giả: pclouds | Liên kết tĩnh | Linux, Mánh và mẹo

Tue Mar 3 09:37:03 PM CET 2026

Hope

(from Going Postal)

Moist handed the paper to Miss Dearheart.

"He's going to walk away with it", he said. "He's just throwing words around. The Trunk's too big to fail. Too many investors. He'll get more money, keep the system going just on this side of disaster, then let it collapse. Buy it up then via another company, maybe, at a knockdown price."

"I'd suspect him of anything", said MIss Dearheart. "But you sound very certain".

"That's what I'd do", said Moist, "... er.. if I was that kind of person. It's the oldest trick in the book. You get the punt---you get others to deeply involved that they don't dare fold. It's the dream, you see? They think if they stay in it'll all work out. They daren't think it's all a dream. You use big words to tell them it's going to be jam tomorrow and they hope. But they'll never win. Part of them knows that, but the rest of them never listens to it. The house always wins."

"Why do people like Gilt get away with it?"

"I just told you. It's because people hope. They'll believe that someone will sell them a real diamond for a dollar. Sorry."


Tác giả: pclouds | Liên kết tĩnh | Sách, Trích dẫn