Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
05-21-2004, 05:50 AM
|
#1
|
Member
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223
Rep:
|
sleep
Hi,
when running X, after not having touched my computer for a while the computer enters somekind of sleep mode, and later it cuts the power to the screen.
Which program controls this ?
What is the command for entering sleep mode ?
Im using XF86, Debian, 2.6.5, Blackbox
Thanks
|
|
|
05-21-2004, 06:23 AM
|
#2
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
Could be Xscreensaver,david
|
|
|
05-21-2004, 06:33 AM
|
#3
|
Member
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223
Original Poster
Rep:
|
When running a 'ps -e' I get the following which, I think, rules Xscreensaver out.
PID TTY TIME CMD
1 ? 00:00:03 init
2 ? 00:00:24 ksoftirqd/0
3 ? 00:00:00 events/0
4 ? 00:00:40 kblockd/0
5 ? 00:00:00 khubd
7 ? 00:00:06 pdflush
9 ? 00:00:00 aio/0
8 ? 00:00:00 kswapd0
10 ? 00:00:00 saa7134[0]
11 ? 00:00:00 kseriod
12 ? 00:00:00 i2oevtd
13 ? 00:00:17 kjournald
332 ? 00:00:00 dhclient3
336 ? 00:00:00 portmap
427 ? 00:00:04 syslogd
430 ? 00:00:02 klogd
443 ? 00:00:00 cupsd
486 ? 00:00:00 exim4
491 ? 00:00:00 famd
496 ? 00:00:00 inetd
507 ? 00:00:00 mysqld_safe
542 ? 00:00:00 mysqld
578 ? 00:00:01 nmbd
580 ? 00:00:00 smbd
588 ? 00:00:00 sshd
600 ? 00:00:00 xfs
668 ? 00:00:00 ksh
669 ? 00:00:00 ksh
670 ? 00:00:00 Xprt
673 ? 00:00:00 ksh
703 ? 00:00:00 rpc.statd
730 ? 00:00:00 ntpd
734 ? 00:00:00 atd
737 ? 00:00:00 miniserv.pl
738 ? 00:00:00 cron
744 ? 00:00:00 apache
752 tty1 00:00:00 tcsh
753 tty2 00:00:00 getty
754 tty3 00:00:00 getty
755 tty4 00:00:00 getty
756 tty5 00:00:00 getty 757 tty6 00:00:00 getty
758 ? 00:00:04 apache
759 ? 00:00:01 apache
760 ? 00:00:05 apache
761 ? 00:00:01 apache
762 ? 00:00:01 apache
765 ? 00:00:00 fetchmail
773 tty1 00:00:00 startx
784 tty1 00:00:00 xinit
785 ? 00:02:29 XFree86
790 tty1 00:00:01 blackbox
791 tty1 00:00:05 bbpager
792 tty1 00:00:01 xbuffy
793 tty1 00:00:31 gaim
794 tty1 00:00:00 bbkeys
795 tty1 00:00:02 wmtime
796 tty1 00:00:01 wmmemload
797 tty1 00:00:03 wmweather
798 tty1 00:00:02 wmix
799 tty1 00:00:06 ipac
862 ? 00:00:00 ssh-agent
863 tty1 00:00:00 lineakd
1617 ? 00:00:01 apache
1731 ? 00:00:06 pdflush
1984 ? 00:03:04 amule
2024 tty1 00:00:00 aterm
2029 pts/12 00:00:00 tcsh
2490 ? 00:00:00 sh <defunct>
2543 pts/12 00:00:00 move
2883 ? 00:00:01 apache
3236 ? 00:00:00 apache
3237 ? 00:00:00 apache
3238 ? 00:00:00 apache
3350 tty1 00:00:00 gconfd-2
3478 ? 00:00:00 identd
3490 tty1 00:00:00 led
3510 tty1 00:00:00 xterm
3511 pts/22 00:00:00 mutt
3518 pts/22 00:00:00 urlview
3519 pts/22 00:00:04 mozilla-bin
3546 tty1 00:00:00 aterm
3547 pts/23 00:00:00 tcsh
3552 pts/12 00:00:00 sleep
|
|
|
05-21-2004, 06:34 AM
|
#4
|
Member
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223
Original Poster
Rep:
|
(the 'sleep' is a simple script currently using that command)
|
|
|
05-21-2004, 07:59 AM
|
#5
|
Member
Registered: May 2004
Distribution: Fedora Core 4
Posts: 92
Rep:
|
|
|
|
05-21-2004, 09:32 AM
|
#6
|
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040
Rep:
|
Check the KDE control center under Power management. There is an option for Monitor power saving.
|
|
|
05-21-2004, 03:38 PM
|
#7
|
Member
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223
Original Poster
Rep:
|
I don't have KDE installed :-S
|
|
|
05-21-2004, 04:45 PM
|
#8
|
Member
Registered: May 2004
Distribution: Fedora Core 4
Posts: 92
Rep:
|
Its immaterial if you are running KDE or not.
Its a setting in XF86Config
check the website I mentioned earlier.
or search for 'dpms' on google if you feel its not clear.
|
|
|
05-21-2004, 04:47 PM
|
#9
|
Member
Registered: May 2004
Distribution: Fedora Core 4
Posts: 92
Rep:
|
As a user you can turn on dpms by
xset +dpms
command.
or disable it by
xset -dpms
check xset manpages for more info.
|
|
|
05-21-2004, 06:08 PM
|
#10
|
Member
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223
Original Poster
Rep:
|
Perfect, gonna try it in the morning!
|
|
|
05-22-2004, 02:17 AM
|
#11
|
Senior Member
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040
Rep:
|
Or you can try
xset dpms force off
This should blank your monitor until you press a key or move the mouse.
Just a simple test to see if you have dpms
|
|
|
All times are GMT -5. The time now is 04:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|