Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: .xinitrc not working correctly- don't know why< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 09 2007,13:36 QUOTE

Code Sample
xset s off
noblank
xset s off

"noblank" should be used as part of "xset s".
Having "xset s off" twice is unnecessary, and I'm not sure the two s options used here are compatible. "off" turns off screen blanking entirely, while "noblank" displays a pattern, if your hardware supports it. If "off" is used, I assume no blanking at all will occur.
Quote
      s       The s option lets you set the screen saver parameters.  This  option
              accepts  up  to two numerical parameters, a 'blank/noblank' flag, an
              'expose/noexpose' flag, an 'on/off' flag, an 'activate/reset'  flag,
              or  the  'default'  flag.  If no parameters or the 'default' flag is
              used, the system will be set to its default screen saver  character­
              istics.   The  'on/off' flags simply turn the screen saver functions
              on or off.  The 'activate' flag forces activation  of  screen  saver
              even  if  the  screen  saver  had been turned off.  The 'reset' flag
              forces deactivation of screen saver if it is  active.   The  'blank'
              flag  sets the preference to blank the video (if the hardware can do
              so) rather than display a background pattern, while  'noblank'  sets
              the  preference  to  display  a pattern rather than blank the video.
              The 'expose' flag sets the preference to allow window exposures (the
              server  can  freely  discard window contents), while 'noexpose' sets
              the preference to disable screen saver unless the server can  regen­
              erate  the  screens without causing exposure events.  The length and
              period parameters for the screen saver function determines how  long
              the  server  must be inactive for screen saving to activate, and the
              period to change the background pattern to avoid burn in.  The argu­
              ments  are specified in seconds.  If only one numerical parameter is
              given, it will be used for the length.


There doesn't seem to be anything wrong with your torsmo command. Could you post the error?


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Oct. 09 2007,15:59 QUOTE

Quote (bpsg119 @ Oct. 09 2007,09:34)
Upgrading should be trivial, right?

If I understand how the frugal install is working, everything important is being backed up for me with exception to the menu.lst file. I should be able to format/install 3.4.4 without a problem.

Out of curiosity is v4.x going to be upgradeable as seamlessly?

Just be sure to read the release notes for upgrading on the forum threads.

I'm assuming v4.x will have something similar when released, but there will probably be more drastic changes required on the user's end...
Back to top
Profile PM 
danielp Offline





Group: Members
Posts: 57
Joined: May 2007
Posted: Oct. 13 2007,16:37 QUOTE

bpsg, I had exactly the same problems as you while trying to set up DSL for a digital picture frame.

thehatsrule gave the answer to my problem, which was:
Quote
1) missing a space between the first "." and "/"


That fixed a lot of problems. I'm such a newbie, I have no idea what that command actually does. Could anyone explain what happens when you start a script with a dot and space?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 13 2007,17:51 QUOTE

The dot by itself (dot-space-filename) is shorthand for the "source" command. So .<space>/etc/init.d/dsl-functions is the same as source /etc/init.d/dsl-functions. This reads the given filename in as if it were part of the current script or shell.

If you omit the space, the dot followed by a slash indicates the current directory. So if you were in /home/dsl and ran the command ./etc/init.d/dsl-functions it will try to execute /home/dsl/etc/init.d/dsl-functions, and probably fail because that file doesn't exist.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
8 replies since Oct. 09 2007,03:24 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: .xinitrc not working correctly- don't know why

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code