I would love to make this work in 4.x... Anyone know why it doesn't work in 4.x?
I'd be happy to try and make it work, with a push in the right direction.._________________Akita Linux, VLC-GTK, Pup Search, Pup File Search

**back up plan if for some reason the"new wrapper" doesnt work
if you have problems you could rename yaf-splash.orig back to
yaf-splash

careful in that /usr/X11R7/bin folder it controls X
any mistakes leaves you in a black screen

I tested all the code I pasted
I wrote a handy test program for x to show the display number to see if you are in X or the console it has a yaf-splash line of code .You could
click on it to see if it works
attached xtest script

Joe

just noticed something not all the optional commands have equivalences

OPTIONS
yaf-splash accepts all of the standard toolkit options, and also accepts the following options:

-help
Print a brief summary of the allowed options on the standard output.
-text string
The text you want to display. Multi-line text is ok. The characters that will be displayed depend on the font you use.
-timeout seconds
How long to leave the text on the screen before exiting. The default is 0, which means forever (until the window is clicked on or killed by other means).
-clock
Enable the clock display instead of a text message.
-12
Use a twelve hour clock. This is the default.
-24
Use a twenty-four hour clock.
-seconds
Update every second (default).
-noseconds
Update once per minute; don't display seconds at all.
-countdown <date>
Countdown to the specified date instead of displaying a clock. The argument to -countdown should be a time_t integer (number of seconds past "Jan 1 00:00:00 GMT 1970") or, a string of the form "Mmm DD HH:MM:SS YYYY", for example, "Jan 1 00:00:00 2004". This
string is interpreted in the local time zone. The countdown option implies -clock.
-countdownquit
Quit after the countdown has reached zero, if in countdown mode (default).
-nocountdownquit
Keep on counting back up once the countdown has reached zero, if in countdown mode.
-geometry metry
Specifies the prefered size and position of the splash text.
-placement placement
Specifies the placement of the splash text using one of the following strings: top-left, top, top-right, left, center, right, bottom-left, bottom, bottom-right. Specifying this setting overrides the position information given in the -geometry option. Center is the default.
-font fontname
Specifies the X font to use.
-transparent
Causes the background of the window to be transparent, if possible.

I don't know why Barry made to use old yaf-splash for '-font' option, but i made:
# 4jan11 shinobar: interprete '-font' option as like '-fontsize', never use old yaf-splash._________________Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html

I have added functionality to the "-icon" option in gtkdialog-splash to allow any "pixmap" (png, xpm, gif, jpg) to be used. Obviously, since this is a splash program relatively small images should be used.
You just add the path to the image as an argument of the '-icon' option. (see the help).

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum