spiedra Posted October 19, 2002 Report Share Posted October 19, 2002 As I was trying to figure out how to manipulate my power saver settings in Fluxbox, I found there wasn't a sure answer. You can use xset from a console and control your settings that way, but they are only as good until you restart the x server, then you lose your settings. I've come across only one thread on this topic on the MUB and found no threads in the Fluxbox forum that gave an upfront answer. No mention how to do this doing a google search. Using the thread about this on the MUB with a slight variation, and by research i've come up with an easy way of doing this. I use the autostart.sh script for booting my Fluxbox located in .fluxbox of the /home. In autostart.sh; either from a console or a gui, edit it using your favorite editor, I like vi. Then, if you want to permantly disable power saver, add the lines: #Screen xset -dpms If you just want to keep the standby feature, but keep the suspend and off feature, add the lines: #Screen xset dpms 0 1200 3600 Note: The first value is standby, the second is suspend, and the third is off. The numerical value is in seconds with 0 disabling a feature. For further explanations of this, type from a console: man xset. My own particular autostart.sh config is as follows: wmsetbg --scale ~/.fluxbox/backgrounds/laetitia.jpg gkrellm -w & #Screen xset dpms 0 1200 3600 Note: To see what your current settings type in a console: xset -q I hope someone finds this helpful. If you guys have anything to add, feel free! Quote Link to comment Share on other sites More sharing options...
bvc Posted October 19, 2002 Report Share Posted October 19, 2002 I did the same in fluxbox, and currently in kde. For kde put the autostart.sh in ~/.kde/Autostart/. If you want everything turned off; xset s off s noblank dpms 0 0 0 s off=screensaver off noblank=don't blank/blacken the monitor(I hate that) dpms 0 0 0=dpms is enabled but never activated. The -dpms won't work for me for some reason, so this is the alternative that produces the same results. man xset explanation; dpms flags... The dpms option allows the DPMS (Energy Star) parameters to be set. The option can take up to three numerical values, or the `force' flag followed by a DPMS state. The `force' flags forces the server to immediately switch to the DPMS state spec- ified. The DPMS state can be one of `standby', `suspend', or `off'. When numerical values are given, they set the inactiv- ity period (in units of seconds) before the three modes are activated. The first value given is for the `standby' mode, the second is for the `suspend' mode, and the third is for the `off' mode. Setting these values implicitly enables the DPMS features. A value of zero disables a particular mode. man xset xset --help Quote Link to comment Share on other sites More sharing options...
Ronin Posted October 19, 2002 Report Share Posted October 19, 2002 Having a blond moment here. What if I don't have an autostart.sh execpt in .kde/Autostart and I tried that one and it doesn't cross over to Fluxbox. I tired creating my own .autostart.sh and also /Autostart/..autostart.sh in /.fluxbox with no luck. I also don't seem to have an .xinit or .xsession where I also read to try adding the commands to autostart apps and kill the powersave options? Like I said I'm having a blond moment so be nice. Quote Link to comment Share on other sites More sharing options...
bvc Posted October 19, 2002 Report Share Posted October 19, 2002 Read what arusabal wrote http://www.club-nihil.net/mub/viewtopic.ph...ghlight=fluxbox Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.