mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Nov. 18 2005,22:13 |
|
The xset command has to be done within an X session. It should work from an x terminal, but if you want it to be automatic, put the command in /home/dsl/.xinitrc, somewhere above the last line. Also make sure it is not inside another command, such as a "case/esac" or "if/fi" block.
The setterm command can be put in /opt/bootlocal.sh, although i forgot part of it: setterm -term linux -blank 0 > /dev/tty1 I don't know for sure if it works in DSL (can't remember ever testing it), but i have two other systems in which it works fine. If you have multiple ttys, you can do all of them like so (assuming 4 terminals here): for TTY in /dev/tty[1-4] ; do setterm -term linux -blank 0 > $TTY done
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|