Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
I have a bit of a weird problem I think. I run Ubuntu linux right now and I have a problem with my screen shutting off. When I watch movies or video clips on my computer it does not realize that I am using the computer and every minute the screen turns off which is quite an annoyance to have to move the mouse or hit a key every minute. I also have my screen saver shut off. I originally thought this might be a setting in my bios ( It is a toshiba satellite A45 by the way) but I cannot find anything in there that fixes the problem. I also have all Power Management disabled for the computer. I used to rune SuSE linux a while back and I never had this problem. I have tried asking in the ubuntu forusm but they cannot figure out what is going on so I thought I would try another linux forum. Also I was wondering if anyone out there could program for linux, would it be very hard to write a program that gives the same effect as if the mouse was always being moved or a key on the keyboard was always being pressed. Something so that nix knows that the computer is being used and the screen does not shurt off?. Thanks for any help.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Some thoughts.
If running acpi then turn off the daemon and see if that works. ' service acpid stop '. If that works then look into /etc/acpi and see what scripts in there say.
Also make sure xscreensaver is not running. ' ps -ax | grep xsreen '. Something may ahve started the app without you knowing.
I know you mentioned power management, I assume you mean in the bios?
If I think of more ideas I will post back. Good luck.
steve@blackbetty:~$ service acpid stop
bash: service: command not found
So that one doesnt work
Code:
steve@blackbetty:~$ sudo ps -ax | grep xscreen
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
7345 ? S 0:01 xscreensaver -nosplash
14417 pts/0 S+ 0:00 grep xscreen
I did that one and unplugged the power still shut off after about a minute.
By power management I mean I open up the xscreensaver options and there is some power management options in there. I have searched through my bios for anything about powermanagement and I cannot find anything.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
From your above post you show this.
Code:
steve@blackbetty:~$ sudo ps -ax | grep xscreen
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
7345 ? S 0:01 xscreensaver -nosplash
14417 pts/0 S+ 0:00 grep xscreen
xscreensaver is running. Kill it by running the command ' kill 7345 '
Other ways are ' pkill xscreensaver ' if you pkill installed. Of course rerun the command above to make sure what the process id number is.
You may disabled it in the gui but it could still be looking at another config to continue running. xscreensaver is strange with the gui's
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Okay if you have the pkill command then it is easy to do. Just right a script like this called xscreensaver_off. Open your favoraite text editor and enter this.
Code:
#!/bin/bash
pkill xscreensaver
Once saved it will need to be executable. This can be done two ways. In a terminal screen issue he command ' chmod + xscreensaver_off '. Or in the gui if using kde then right click the script and check the box in permissions to make it executable.
But guessing root has control of pkill to kill xscreensaver you will either need to make pkill usable to you by changing ownership of the command pkill. Or it can be added to your sudoers file. Little harder to do that way.
Well was going to watch a movie and the screen shut off again. It looks like I just didnt wait long enough last night to see if it would. I tried removing option "DPMS" in my /etc/X11/xorg.conf to make sure it wouldnt shut off. Guess it is still just blanking out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.