[[HomePage]] > [[SoftwareIndex|Software Index]] > [[SoftwareDevelopment|Development]] > [[gtkdialog|gtkdialog]] > [[gtkdialogDocTips|Tips and Tricks]] ====9.15 Use a splash screen==== A splash screen could be useful if the startup time is increasing. The delay may occur for 2 reasons. There are several startup processes, or the gtkdialog code is heavy. The latter case makes it necessary to close the splash-window first when the main window is drawn on screen. We use the #### signal ##show## to determine when the splash should be closed. %%(language-ref) #Splash echo 0 > /tmp/splash export SPLASH=' '" /usr/share/midi-icons/configuration48.png "' while [ "$M" != "100" ]; do M=`cat /tmp/splash`; echo $M; usleep 500000; done Ready ' gtkdialog -p SPLASH --center & sleep 2 #well, this is to simulate some startup processes.... export GUI=' echo 100 > /tmp/splash ' gtkdialog -p GUI %% Mave has made an attempt to replace yaf-splash using gtkdialog. Yaf-splash doesn't support UTF-8, and has given some issues when translation to some languages. Read more at [[http://www.murga-linux.com/puppy/viewtopic.php?p=422343#422343]] ===@@**#%[[gtkdialogDocTips9.14|❰❰❰ Previous]]#% #%[[gtkdialogDocTips|Index]]#% #%[[gtkdialogDocTips9.16|Next ❱❱❱]]#%**@@=== ---- ==Categories== CategoryGtkdialog