Jump to content

Tips&Tricks How to keep your power saver settings


aru
 Share

Recommended Posts

 

spiedra

Senior user

Joined: 30 May 2002

Posts: 686

Location: Orlando, FL

 

Post Posted: Thu Oct 17, 2002 6:44 am Post subject: Howto permenatly keep your power saver settings in Fluxbox

_________________________________________________________________

 

 

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 disable the suspend and off feature, add the lines:

 

#Screen

xset dpms 1200 0 0

 

Note: The first value is standby, the second is suspend, and the third is off. The value 0 disables 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 1200 0 0

 

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! Very Happy

Last edited by spiedra on Thu Oct 17, 2002 9:03 pm, edited 2 times in total

 

 

Ronin

Frequent user

Joined: 06 May 2002

Posts: 126

Location: New Brunswick, Canada

Post Posted: Thu Oct 17, 2002 9:28 am Post subject:

_________________________________________________________________

 

 

I find that really helpful actually spiedra now maybe I can disable that #$%$# power management. Nothing like getting a really cool screensaver and not being able to see it as the monitor powers down after X minutes all the time. Efficent yes but annoying also. Smile

 

 

spiedra

Senior user

Joined: 30 May 2002

Posts: 686

Location: Orlando, FL

Post Posted: Thu Oct 17, 2002 5:01 pm Post subject:

_________________________________________________________________

 

 

I'm glad you found it helpful. I thought this was appropritate to add for Fluxbox users so they would't go through the trouble of figuring it out. Very Happy

 

 

theYinYeti

Senior user

Joined: 13 May 2002

Posts: 452

Location: Cannes (France)

Post Posted: Fri Oct 18, 2002 8:43 am Post subject:

_________________________________________________________________

 

 

In case you want something more independant from the window manager you use, here's what I did on Mdk 8.1 (with the gdm login manager):

http://www.club-nihil.net/mub/viewtopic.ph...p?p=26730#26730

 

Yves.

 

 

 

Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...