Page 1 of 1

Animated GIF and/or TEXT on Desktop (and more)

Posted: Sat 23 Nov 2019, 20:46
by fredx181
*** Animated GIF and/or TEXT on Desktop ***

Following up on this thread: http://www.murga-linux.com/puppy/viewtopic.php?t=113495
Mike Walsh made a .pet "GIF4Desktop" out of it, I'm not sure on which thread he shared it, anyway it's here: http://www.mediafire.com/file/9iujeafro ... h.pet/file

Now... Couldn't resist to make a more advanced script using yad GUI (hmmm... maybe overdone ? :))

Changes:
- Image can be anything besides .gif, e.g. .png or .jpg
- Support text below image (or just text, no image) multiple lines supported.
- Create Launcher, clicking on the image will launch a program, script or command as desired.
- Adjust the width of text where it begins wrapping.
- Set font type and font color

See screenshots below.


Requirements:

- yad, version 0.38 or higher (attached v0.40 below)
- gtk2desklet, for transparency (attached .pet below)
- xftwidth, optional, but recommended for better accuracy
(text fitting better as it can convert text width into pixels, according to font type and size) (attached .pet below)
https://github.com/vixus0/xftwidth

Note: yad is required for the GUI to make the settings, but NOT required to run the generated script (just gtkdialog)

Download GIF4Desktop-2.0-0.pet:
https://dl.dropboxusercontent.com/s/a7g ... 0.pet?dl=1

Fred

Splash-Box

Posted: Sat 23 Nov 2019, 20:47
by fredx181
*** Create Splash Screen script ***

A bit similar to "Animated GIF and/or text on Desktop" (above), but more focused on splash screen messages.
It's a modification (some more options added) of "box_splash" with the improvements started here:
http://murga-linux.com/puppy/viewtopic.php?t=114446
Using yad GUI to make the settings (and preview option) to finally create splash screen script.
Run from terminal, to show the YAD GUI:

Code: Select all

splash-box
Or type in terminal for usage help (command line options):

Code: Select all

splash-box -help
gtk2desklet (for transparency) and xftwidth are included, requires yad higher than v0.38 (see yad .pet packages above)

Fred

Posted: Sun 24 Nov 2019, 05:02
by tallboy
Thank you, fredx181! :D