going just with the link you posted
make sure your path isnt different than mine
#
/usr/X11R7/bin/yaf-splash
#-------------------------------------------------------------------
#rename it as a safety you have a backup now if something goes wrong
Code: Select all
mv /usr/X11R7/bin/yaf-splash /usr/X11R7/bin/yaf-splash.orig
to get there fast to check if it was renamed correctly
Code: Select all
rox -s /usr/X11R7/bin/yaf-splash.orig
#what happens is
#here you need to rename gtkdialog-splash to yaf-splash
#make it executable
#and cp it to /usr/X11R7/bin/
#
if you unzipped gtkdialog-splash in root here is the command
Code: Select all
cp /root/gtkdialog-splash /usr/X11R7/bin/
mv /usr/X11R7/bin/gtkdialog-splash /usr/X11R7/bin/yaf-splash
chmod a+x /usr/X11R7/bin/yaf-splash
**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.