On Fri, Feb 28, 2014 at 10:51 AM, Takashi Iwai email@example.com wrote:
Yet another example: you boot (lid closed) with the connection to a TV while TV is powered off. Then no external monitor is detected, so the machine goes to suspend, because logind thinks you turned on the machine accidentally.
There must be some reasons why such an action (checking the lid state at start up and going to suspend immediately) wasn't implemented in the desktop environment. It's different from closing the lid while running.
Problem is, you can't ever know if something like that was accidental or not. You have to assume.
If a user regularly does that sort of thing, they have to consciously decide to disable the suspend-on-lid-switch thing, knowing they'll risk accidental boots inside backpacks when they do - but hey, if they're careful it's their choice.
The software (any software) can't really know the difference between accidental and purposeful bootup with any degree of certainty, so user input is the only way to go.
Hence, the only proposal that is needed assuming that .conf works as one would assume (I tried systemd's documentation and found little of use - for the amount of documentation it has, it's horribly structured to say the least), if it works like that, then yast needs an easy-to-use config option for users to switch. That's all.