View previous topic :: View next topic |
Author |
Message |
bruor Apprentice
Joined: 08 Jul 2003 Posts: 239
|
Posted: Tue Sep 02, 2003 5:04 pm Post subject: screen blanking in fluxbox and gnome.... |
|
|
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 |
|
|
zojas Veteran
Joined: 22 Apr 2002 Posts: 1138 Location: Phoenix, AZ
|
Posted: Tue Sep 02, 2003 9:48 pm Post subject: |
|
|
you will want to read the man page for "xset". to get you started, I bet what you want is:
_________________ http://www.desertsol.com/~kevin/ppc |
|
Back to top |
|
|
bruor Apprentice
Joined: 08 Jul 2003 Posts: 239
|
Posted: Tue Sep 02, 2003 11:37 pm Post subject: |
|
|
will i need to run that everytime i start the computer or just once to shange a config somewhere? |
|
Back to top |
|
|
cripwalk n00b
Joined: 13 Jul 2003 Posts: 59 Location: Socal
|
Posted: Wed Sep 03, 2003 4:52 am Post subject: |
|
|
you can just put it in your ~/.xinitrc
for example:
Code: |
#!/bin/sh
exec xset s off &
fluxbox
|
|
|
Back to top |
|
|
zojas Veteran
Joined: 22 Apr 2002 Posts: 1138 Location: Phoenix, AZ
|
Posted: Wed Sep 03, 2003 5:55 am Post subject: |
|
|
don't exec the xset though
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 |
|
|
cripwalk n00b
Joined: 13 Jul 2003 Posts: 59 Location: Socal
|
Posted: Wed Sep 03, 2003 5:35 pm Post subject: |
|
|
zojas wrote: | don't exec the xset though
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 |
|
|
zojas Veteran
Joined: 22 Apr 2002 Posts: 1138 Location: Phoenix, AZ
|
Posted: Wed Sep 03, 2003 5:39 pm Post subject: |
|
|
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 |
|
|
cripwalk n00b
Joined: 13 Jul 2003 Posts: 59 Location: Socal
|
Posted: Wed Sep 03, 2003 6:18 pm Post subject: |
|
|
thanks for the heads up. It seems like everytime I come on these forums I learn something. |
|
Back to top |
|
|
|