Not logged in
Log in now
Create an account
Subscribe to LWN
Dividing the Linux desktop
LWN.net Weekly Edition for June 13, 2013
A report from pgCon 2013
Little things that matter in language design
LWN.net Weekly Edition for June 6, 2013
When the machine is plugged in, I mostly close the lid to turn off the screen so that it does not disturb me from sleep, but can still be alive finishing a build.
When it's not plugged, I'm probably travelling and I close the lid so that I can carry the laptop in my bag.
This even sounds like a sane default to me and I'll miss the setting terribly if it goes away from my desktop.
The Grumpy Editor's Fedora 18 experience
Posted Jan 16, 2013 18:45 UTC (Wed) by mathstuf (subscriber, #69389)
Posted Jan 17, 2013 8:52 UTC (Thu) by michich (subscriber, #17902)
Posted Jan 18, 2013 22:37 UTC (Fri) by mathstuf (subscriber, #69389)
Posted Jan 18, 2013 9:06 UTC (Fri) by Kamilion (subscriber, #42576)
My Asus netbook currently has the exact settings you speak of, under windows 7. If the machine is on AC, display off. If the machine is on battery, suspend. I find myself instinctively pulling the cord out before closing the screen when I'm about to take it somewhere. Just consider it another plus one to the idea, since I think it's Asus's fancy 'superhybridengine' power profiles that seem to invoke this behavior.
Can't complain, since they threw a free windows license in my face, might as well stick steam on it.
On the upside, FC18 ships with systemd 19*, so it'd be pretty sane to send a patch to the ML and expect to be able to build and utilize the resulting fix. (haha, systemd-44 patches? YGTBSM.)
Posted Jan 29, 2013 8:15 UTC (Tue) by Duncan (guest, #6647)
Originally designed to deal with the kernel's laptop-mode, it now ships a plethora of scripts designed to control all sorts of things. The defaults are sane and reasonable in most cases, but those who feel the need can tweak settings to their heart's content (as naturally I have, being a gentooer =:^)
rpmfind doesn't appear to list any fedora packages, but it does list mandriva/opensuse/sourceforge/mageia/dagfabian-rhel noarch packages, upto 1.61, which is only a version behind the 1.62 that's showing up here on gentoo (and that adds systemd support according to the changelog, so anyone running that will probably want to grab 1.62 from the home page, there's Fedora-specific instructions), and it lists homepages/sites for it as well, so that would appear to be a reasonable place for rpm-based-distro folks at least to start looking for more, if they're interested.
But you really have to take a look in the tarball to see all the modules it comes with, and thus the configuration options. =:^)
While I don't see a direct lid-switch module in the 1.60 tarball that's what I have on my (slightly dated) netbook install, there's hooks for adding commandlines to execute at plug/unplug, and it'd be simple enough to add the commands above, there.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds