Animated GIF and/or TEXT on Desktop (and more)
Posted: Sat 23 Nov 2019, 20:46
*** 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
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