I would like to make some kiosks to introduce some students to messing about on the Linux terminal without the fear of them messing anything up.
So I thought that the Kiosk Edition (3.0) would be perfect by taking out Firefox and instead bringing up xterm.
I copied all the libs (relating to xterm, got the list from ldd xterm) in /lib and /usr/lib from the Desktop Edition to the same places in the Kiosk edition (in 001-core) and also placed the xterm executable in /usr/bin
and also copied the two files /etc/X11/app-defaults/XTerm and /etc/X11/app-defaults/XTerm-color over.
Then I modified the autostart file (003-settings) as follows:
Code: Select all
# comments left out
/opt/porteus-scripts/set-resolution-rate 1024x768 crate
hsetroot -fill /usr/share/wallpapers/default.jpg
setxkbmap -layout us
numlockx on
xset -dpms; xset s 0
xdialog --title "Info" --no-close --no-buttons --infobox "Just before launching xterm" 0 0 5000
sleep 5
/usr/bin/xterm -bg black -fg white
xdialog --title "Info" --no-close --no-buttons --infobox "Just after launching xterm" 0 0 5000
Any one have any pointers as to what I'm doing wrong?
Many thanks.
Dave.