Slack 10.0 + bootsplash + tty2-6
Hi All,
Enyone know how to enable splash screen on consoles other than 1 (i.e. tty2 to 6)? In Slack 9.1 all what I had to do was to add the following lines at the end of rc.local: for i in 1 2 3 4 5; do splash -s -u$i -n /etc/bootsplash/themes/chosen_theme/config/bootsplash-WxH.cfg done But, it doesn't work in Slack 10. Any ideas? Lucas |
No idea???
|
Code:
cat >> /etc/rc.d/rc.local << "EOF" Code:
cat > /etc/rc.d/rc.splash << "EOF" If by some chance that doesn't work, delete "/etc/rc.d/rc.splash" and edit "/etc/rc.d/rc.local" and remove those two lines.. And I might as well mention... Make sure you don't already have a "/etc/rc.d/rc.splash" file before you use that second code..... That creates/overwrites any existing file that might have the same name in that same directory. Let me know if that worked... |
I already have these two codes in my rc.local and rc.splash, respectively. It doesn't work correctly. It only set the splash screen on this console on which I use rc.local (or rs.splash) script. Beacause Linux starts from console 0 (tty1) the splash screen is already set on console 0, but not on the rest. If I use one of these scripts on e.g. console 3 (tty4), the splash will set on console 3 (and already on console 0), but not on the others. Strange...
|
How do you know if it will work or not if you don't try it... ;) You said you have:
for i in 1 2 3 4 5; do splash -s -u$i -n /etc/bootsplash/themes/chosen_theme/config/bootsplash-WxH.cfg done in your rc.local... I don't get that anyway. To me, that looks like a very compressed version of rc.splash. I don't know. Guess I'm confused... Looks like your bypassing running a seperate rc.splash by using that code in your rc.local. Your calling directly upon splash in your rc.local, ya know? Should work..... I would try renaming your existing rc.splash (if you have one) and commenting out the stuff in your rc.local and then trying what I said above before you say it won't work... Just a thought. Good luck tho.... Also splash needs to point to the "current" directory... Maybe thats where you are going wrong. You need a symlink in /etc/bootsplash/themes, named 'current', that points to your theme folder name in the same directory... Make that symlink and change it to: for i in 1 2 3 4 5; do splash -s -u$i -n /etc/bootsplash/themes/current/config/bootsplash-WxH.cfg done I bet you it will work then..... You also don't have a splash jpg varibale set. Don't know if it needs to be set independently. It should be able to refrence your themes .cfg file for the picture.... Eh.... Your just compressing an awful lot of stuff there.... Makes me nervous..... I don't like short cuts... :) Jon |
All times are GMT -5. The time now is 12:39 PM. |