DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Have just installed Etch and don't get suspend with the keys Fn+suspend like I used to.
Like u used to with.. debian?
On debian (as on other distro) I have to define my special keys (fn+multimedia) myself, but some are lucky it's done automatically.
Quote:
Unlike before it's got acpi, but nothing happens if put lid down. How get suspend? Thanks any help.
You need to define the action to suspend when lid is down (I am happy it's not by default btw). Either with your WindowManager or from the CLI.
Like u used to with.. debian?
On debian (as on other distro) I have to define my special keys (fn+multimedia) myself, but some are lucky it's done automatically.
You need to define the action to suspend when lid is down (I am happy it's not by default btw). Either with your WindowManager or from the CLI.
Previously used Debian Sarg and it was automatic. So I have to fiddle about with ACPI, do I? Bit of a bugger I seem to recall. Perhaps if got rid of it, it wasn't on Sarge, then suspend would work? Thanks.
Which window manager do you use?
You have to know if the acpi event is received, if it is treated as "suspend". KDE does this with klaptop, it works quite well.
A lot of things changed between sarge and etch.
Ok, I don't know if there is such applet or whatever in this WM. Probably better with a daemon running (which is actually much better for the cases where your WM is not running)
You could play with this one then look around in /etc/acpi
There are some examples here: http://www.chaotika.org/~bluesceada/...t&sub=thinkpad
Quote:
Havn't got room for KDE. Don't know how to suspend manually '$ suspend' ??
I use "sudo s2disk" and "sudo s2ram" from uswsusp package.
edit:
It looks like the acpid provides /etc/acpi/sleep.sh and /etc/acpi/hibernate.sh which is quite more complicated than my little line.. maybe worth looking.
Thanks nx5000. $ hibernate works, thought have to be root - chmod u+s /blah/hibernate didn't work. Perhaps sudo hibernate?
acpi seems only to have the power button covered - even that's a bit complex: the shell script involves other things beside 'shutdown'. I'll try your suggestions and see what happens. It's tempting to remove acpi and replace it with apm, which was very good under sarge, giving back light turn off when bios times out, which doesn't happen now. Thanks again.
Thanks nx5000. $ hibernate works, thought have to be root - chmod u+s /blah/hibernate didn't work. Perhaps sudo hibernate?
+s bit has only effect on ELF binaries! Not on perl script nor shell script.
I do "sudo s2disk", probably "sudo hibernate" is even better, I didn't know this stuff.
I don't know a lot acpi but even less apm..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.