Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
With other words: KDE can do whatever it wants, it can tell logind to stay away from the lid switch, or it can leave logind in control, and can even dynamically do that at any time.
GNOME for example tells logind to stay away from the lid switch if an external monitor is plugged in, but otherwise let's logind handle everything.
Posted Jan 17, 2013 18:16 UTC (Thu) by man_ls (guest, #15091)
Posted Jan 18, 2013 10:41 UTC (Fri) by dgm (subscriber, #49227)
I hereby propose that systemd gets merged with Emacs. Think of the possibilities! It would become sentient in less than 24 hours...
Posted Jan 18, 2013 16:12 UTC (Fri) by man_ls (guest, #15091)
Posted Jan 22, 2013 23:59 UTC (Tue) by DonDiego (subscriber, #24141)
Posted Jan 18, 2013 22:49 UTC (Fri) by mathstuf (subscriber, #69389)
Posted Jan 19, 2013 15:52 UTC (Sat) by nix (subscriber, #2304)
My normal arguments about init being critical software and thus being software that should not change too fast (because if it dies the system is useless and instantly panics) is moot here, because if your Emacs dies your system is useless in any case. I mean, what else is an OS for?
Posted Jan 19, 2013 16:44 UTC (Sat) by apoelstra (subscriber, #75205)
This isn't true, is it? Do people do that?
I'm scared to try because I don't know Emacs well enough to undo it.
Posted Jan 19, 2013 20:10 UTC (Sat) by tom.prince (subscriber, #70680)
If you just pass init=/usr/bin/emacs on the kernel command line, you shouldn't need to do anything to undo it.
Posted Jan 20, 2013 8:04 UTC (Sun) by apoelstra (subscriber, #75205)
That didn't work. Maybe this is a bug in Fedora's initram, because it worked the last time I tried it (several years ago, and with an actual init program).
For those curious, I did manage to do it though, by popping open my initramfs and adding an explicit INIT=/bin/emacs after the code which sets the INIT variable. The result was emacs saying "cannot open /dev/tty" and bailing, and then the kernel panicked.
If only udev had been merged into emacs..
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds