1
pdaXrom Development / Openpandora
« on: September 08, 2008, 11:27:28 pm »Quote from: Cresho
there is a discussion about this in another thread.I ran a search, came up with nothing... link plz?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
there is a discussion about this in another thread.I ran a search, came up with nothing... link plz?
I guess the FAT format is so the USB drive emulation can work.
QuoteWhat I meant by * * * is u can put any value there... I don't think a xset dpms takes * as a valid argumentI was actually referring to a wildcard too (I'm not very articulate sometimes) - from what the man page says, 'xset +dpms' and 'xset -dpms' should be taken care of automatically depending on what values you use. I see from my own tests also that pdaXrom does not always do this, and it needs to. The environment the blanker was originally written for maybe supported this better so explicit commands were not required?
but yeah, seems to be working fine
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122796\"][{POST_SNAPBACK}][/a][/div]
Another caveat is that any power events (suspend, battery/AC change) will reset all these settings.
Perhaps a good project would be to integrate the blanker functionality into the lightnpower.py script as a third mode, indicated by a file flag or something? The battery applet/power management seems to honour these settings consistently...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122911\"][{POST_SNAPBACK}][/a][/div]
Quoteto disable suspendCool; I know that 'xset dpms * * *' implies 'xset +dpms' (turn on dpms). I would have thought using a value of 0 would have implied the opposite ('xset -dpms' to turn it off). Obviously not... (or a bug in xset?)
#xset dpms * 0 0
#xset -dpms
(the '*' is the time you want the screen to shut off at, in seconds. This still works after you exec the "xset -dpms" command which, doesn't make much sense to me but it works, so... whatever)
and to enable it again
#xset +dpms
#xset dpms * 0 *
which works!!! (so far)
Glad you got it sorted anyway
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122169\"][{POST_SNAPBACK}][/a][/div]
#!/bin/bash
xmodmap /etc/X11/kb/xmms.xmodmap
/usr/X11R6/bin/xset dpms 30 0 0
/usr/X11R6/bin/xset -dpms
xmms
/usr/X11R6/bin/xset +dpms
/usr/X11R6/bin/xset dpms 120 0 360
xmodmap /etc/X11/kb/xmmsBack.xmodmap
#!/bin/bash
for ((i = 0; i < 1; i = i ))
do
xset q | tail -5 | head -1
sleep 2
done