Joined: 03 Jun 2012 Posts: 128 Location: Philippines
Posted: Mon 23 Jul 2012, 23:09 Post subject:
[SOLVED]Can't turn off screen blanking: bug in /.xinitrc Subject description: Dpup Exprimo 5.X.18.104.22.168
I've been struggling with screen blanking: every 10 minutes screen blanking kicks in when there is no keyboard- of mouse activity during that time. However, I need the screen to be on all the time. I found that xset sets a.o. screen blanking or not. I tried setting xset in a script in /Startup but that didn't work. It only worked from the commandline which is not handy.
Learning along the way I found that when starting a X-session /.xinitrc is called. There I found a bug (I'm pretty new to Puppy and Linux so I guess it's a bug). See 'NOTE':
if [ -f /root/.xset.sh ];then
#this is created by /usr/bin/pupx...
NOTE: /root/.xset.sh is NOT created by /usr/bin/pupx
but /tmp/pupx_screen is. Wrong call.
##Xorg has it's own fontpath settings in /etc/X11/xorg.conf...
#if [ "`readlink /usr/bin/X`" != "Xorg" ];then
# #xset fp+ /usr/lib/X11/fonts/Type1/
# #xset fp+ /usr/lib/X11/fonts/TTF/
# xset fp+ /usr/share/fonts/default/Type1/
# xset fp+ /usr/share/fonts/default/TTF/
xset s 600 600 s blank
NOTE: since /root/.xset.sh does not exist, screen blanking
is always activated.
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 You cannot attach files in this forum You can download files in this forum