Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
screen blanking in fluxbox and gnome....
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bruor
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 239

PostPosted: Tue Sep 02, 2003 5:04 pm    Post subject: screen blanking in fluxbox and gnome.... Reply with quote

hi all,

i am trying to run mythtv in fluxbox so i free a little ram but when i use anything but kde after about 10 mins or so the screen goes blank and i have to hit a key or move the mouse to get it to come back on... i know its probably a screensaver setting but how do i access this function in flux or gnome, thanks in advance
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Tue Sep 02, 2003 9:48 pm    Post subject: Reply with quote

you will want to read the man page for "xset". to get you started, I bet what you want is:

Code:

xset s 0

_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
bruor
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 239

PostPosted: Tue Sep 02, 2003 11:37 pm    Post subject: Reply with quote

will i need to run that everytime i start the computer or just once to shange a config somewhere?
Back to top
View user's profile Send private message
cripwalk
n00b
n00b


Joined: 13 Jul 2003
Posts: 59
Location: Socal

PostPosted: Wed Sep 03, 2003 4:52 am    Post subject: Reply with quote

you can just put it in your ~/.xinitrc

for example:
Code:

#!/bin/sh
exec xset s off &
fluxbox
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Wed Sep 03, 2003 5:55 am    Post subject: Reply with quote

don't exec the xset though :wink:

Code:

#!/bin/sh
xset s 0
exec fluxbox


xset just runs then terminates right away, so it's a special case. normally anything you run before your window manager you should put in the background. but the window manager shouldn't be in the background. when the last process quits, X will quit.

here's a longer example:

Code:

#!/bin/sh
xset s 0
xterm &
exec fluxbox

_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
cripwalk
n00b
n00b


Joined: 13 Jul 2003
Posts: 59
Location: Socal

PostPosted: Wed Sep 03, 2003 5:35 pm    Post subject: Reply with quote

zojas wrote:
don't exec the xset though :wink:

Code:

#!/bin/sh
xset s 0
exec fluxbox


xset just runs then terminates right away, so it's a special case. normally anything you run before your window manager you should put in the background. but the window manager shouldn't be in the background. when the last process quits, X will quit.

here's a longer example:

Code:

#!/bin/sh
xset s 0
xterm &
exec fluxbox


Cool.. I didnt realize that. Does it really matter though? Ive had it set like that on my machine for a while now and Ive never noticed any problems, and my screen never blanks.
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Wed Sep 03, 2003 5:39 pm    Post subject: Reply with quote

The thing that saved you was that you had the '&' on the xset line too. try this, and you'll see a difference:

Code:

#!/bin/sh
exec xterm
fluxbox


I bet you'll just get an xterm, and no fluxbox.
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
cripwalk
n00b
n00b


Joined: 13 Jul 2003
Posts: 59
Location: Socal

PostPosted: Wed Sep 03, 2003 6:18 pm    Post subject: Reply with quote

thanks for the heads up. It seems like everytime I come on these forums I learn something.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum