Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've just purchased an Aspire One (Acer) because I needed an inexpensive Linux-based laptop.
OS: Linpus Lite - based on Fedora
(Intel Atom 1.6GHz, 8GB SSD)
The laptop goes into sleep mode when I close the lid. I talked to Acer tech support and they said that this is software controlled, that there is no easy LL GUI resolution - in other words, no selection box to change the default as is available with XP.
I only have basic Linux/Unix command-line experience. Please let me know what adjustments need to be made in order for there to be NO action when the lid is closed. (I'd prefer it if an "action" was brought up via an "event", possibly in the power.conf file.) The following, I believe, provides the appropriate information ("action" and "event" folders are in "/etc/acpi/"):
[root@localhost actions]# ls -a
. .. sleep.lid.sh sleep.sh
[root@localhost actions]# cat sleep.lid.sh
#lid_status=`lshal |grep "button.state.value" | grep true`
lid_action="X`cat /home/user/.kde/share/config/kpowersaverc |grep ActionOnLidClose |cut -d"=" -f2`"
case $lid_action in
/sbin/shutdown -h now
#echo standby>> /home/user/a
#echo $lid_status>> /home/user/a
# if [ "X$lid_status" != "X" ]; then
/bin/dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:0
There should be a power control icon near to your clock - probably looks like a plug if you're on mains power or a battery if on battery power. On KDE (and Gnome, I think) you should be able to right click it and configure the settings. On KPowerSave, at least, you can change it to take no action on lid close.
"The laptop goes into sleep mode when I close the lid. I talked to Acer tech support and they said that this is software controlled, that there is no easy LL GUI resolution - in other words, no selection box to change the default as is available with XP."
KDE/Gnome aren't, and can't easily be installed. I've been told to look under "/etc/acpi/events/power.conf" to find the control, but the lidclose command is not there. The command is found under "/etc/acpi/actions/sleep.lid.sh" (as above), and I don't know how to change it appropriately.