#!/bin/sh # If the clock is hopelessly unset, prompt the user to set the time if [ `date "+%Y"` = "1970" ]; then gpe-conf time & time_set_already=yes else time_set_already=no fi # No action if .mbdock exists if [ ! -f $HOME/.matchbox/mbdock.session ]; then mkdir -p $HOME/.matchbox cp /etc/gpe/gpe.mbdock $HOME/.matchbox/mbdock.session if [ "$time_set_already" = "no" ]; then gpe-conf time user_only & fi gpe-question --icon !gtk-dialog-info --question "Welcome to GPE! I have added some standard programs to the panel at the bottom of the screen. To remove these, or add more, tap and hold on an empty area of the panel." --buttons !gtk-ok & fi