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

Window managers, icon programs, widgets, etc.
Post Reply
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

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

#1 Post 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
Attachments
yad-0.40-i686.pet
yad 32-bit
(70.82 KiB) Downloaded 199 times
yad-0.40-amd64.pet
yad 64-bit
(74.3 KiB) Downloaded 196 times
xftwidth-1.0-0_i386.pet
xftwidth 32-bit
(3.84 KiB) Downloaded 192 times
xftwidth-1.0-0_amd64.pet
xftwidth 64-bit
(3.8 KiB) Downloaded 191 times
gtk2desklet-3.1_i386.pet
gtk2desklet 32-bit
(32.15 KiB) Downloaded 203 times
gtk2desklet-3.1_amd64.pet
gtk2desklet 64-bit
(15.06 KiB) Downloaded 202 times
yad-gui.png
GUI to make the settings
(159.25 KiB) Downloaded 210 times
wifi.gif
(176.38 KiB) Downloaded 210 times
text-only_675x416.jpg
text only
(79.68 KiB) Downloaded 208 times
rundog.gif
(211.05 KiB) Downloaded 212 times
Last edited by fredx181 on Sat 23 Nov 2019, 22:15, edited 4 times in total.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

Splash-Box

#2 Post 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
Attachments
splash_box-1.0-0.pet
splash-box .pet package
(29.58 KiB) Downloaded 205 times
splash-box.png
splash-box GUI
(121.8 KiB) Downloaded 204 times
2019-11-16-175415_677x283_scrot.png
(75.75 KiB) Downloaded 214 times
2019-11-14-220816_960x354_scrot_760x280.png
(114.82 KiB) Downloaded 204 times

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#3 Post by tallboy »

Thank you, fredx181! :D
True freedom is a live Puppy on a multisession CD/DVD.

Post Reply