Edit ~/.xinitrc
Near the top, just after . /etc/rc.d/PUPSTATE add
Code: Select all
export DISPLAY=':0.0'
# To set a background color
#xsetroot -solid gray &
# To show a background logo (qiv should be installed).
qiv /usr/share/images/bootlogo.png &
pid=$!
#exec $CURRENTWM
#v2.11 GuestToo suggested this improvement...
which $CURRENTWM && exec $CURRENTWM
[ -x $CURRENTWM ] && exec $CURRENTWM
exec jwm
add
Code: Select all
# Kill the splash started earlier
echo #!/bin/bash >/tmp/killsplash
echo sleep 4 >>/tmp/killsplash
echo kill $pid >>/tmp/killsplash
echo rm /tmp/killsplash >>/tmp/killsplash
chmod a+x /tmp/killsplash
/tmp/killsplash &
Now, when you boot or restartX, once .xinitrc starts it will display the image and 4 seconds later as jwm/desktop is loading that image will be removed.
I created my image to by the same size as my preferred screen resolution as I use a TV as a monitor and that might help it settle into being correctly screen aligned.