Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 05 Dec 2019, 21:51
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Animated GIF and/or TEXT on Desktop (and more)
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
fredx181


Joined: 11 Dec 2013
Posts: 4199
Location: holland

PostPosted: Sat 23 Nov 2019, 16:46    Post subject:  Animated GIF and/or TEXT on Desktop (and more)
Subject description: Create & control desktop animations
 

*** 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/9iujeafroe18z7n/GIF4Desktop-AIO-noarch.pet/file

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

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/a7gn95onbhkcvqh/GIF4Desktop-2.0-0.pet?dl=1

Fred
yad-0.40-i686.pet
Description  yad 32-bit
pet

 Download 
Filename  yad-0.40-i686.pet 
Filesize  70.82 KB 
Downloaded  2 Time(s) 
yad-0.40-amd64.pet
Description  yad 64-bit
pet

 Download 
Filename  yad-0.40-amd64.pet 
Filesize  74.3 KB 
Downloaded  2 Time(s) 
xftwidth-1.0-0_i386.pet
Description  xftwidth 32-bit
pet

 Download 
Filename  xftwidth-1.0-0_i386.pet 
Filesize  3.84 KB 
Downloaded  2 Time(s) 
xftwidth-1.0-0_amd64.pet
Description  xftwidth 64-bit
pet

 Download 
Filename  xftwidth-1.0-0_amd64.pet 
Filesize  3.8 KB 
Downloaded  3 Time(s) 
gtk2desklet-3.1_i386.pet
Description  gtk2desklet 32-bit
pet

 Download 
Filename  gtk2desklet-3.1_i386.pet 
Filesize  32.15 KB 
Downloaded  2 Time(s) 
gtk2desklet-3.1_amd64.pet
Description  gtk2desklet 64-bit
pet

 Download 
Filename  gtk2desklet-3.1_amd64.pet 
Filesize  15.06 KB 
Downloaded  3 Time(s) 
yad-gui.png
 Description   GUI to make the settings
 Filesize   159.25 KB
 Viewed   89 Time(s)

yad-gui.png

wifi.gif
 Description   
 Filesize   176.38 KB
 Viewed   89 Time(s)

wifi.gif

text-only_675x416.jpg
 Description   text only
 Filesize   79.68 KB
 Viewed   88 Time(s)

text-only_675x416.jpg

rundog.gif
 Description   
 Filesize   211.05 KB
 Viewed   89 Time(s)

rundog.gif


_________________
Dog Linux website
Tinylinux blog by wiak

Last edited by fredx181 on Sat 23 Nov 2019, 18:15; edited 4 times in total
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4199
Location: holland

PostPosted: Sat 23 Nov 2019, 16:47    Post subject: Splash-Box
Subject description: Create splash screen script
 

*** 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:
splash-box


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

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

Fred
splash_box-1.0-0.pet
Description  splash-box .pet package
pet

 Download 
Filename  splash_box-1.0-0.pet 
Filesize  29.58 KB 
Downloaded  6 Time(s) 
splash-box.png
 Description   splash-box GUI
 Filesize   121.8 KB
 Viewed   84 Time(s)

splash-box.png

2019-11-16-175415_677x283_scrot.png
 Description   
 Filesize   75.75 KB
 Viewed   84 Time(s)

2019-11-16-175415_677x283_scrot.png

2019-11-14-220816_960x354_scrot_760x280.png
 Description   
 Filesize   114.82 KB
 Viewed   84 Time(s)

2019-11-14-220816_960x354_scrot_760x280.png


_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
tallboy


Joined: 21 Sep 2010
Posts: 1554
Location: Drøbak, Norway

PostPosted: Sun 24 Nov 2019, 01:02    Post subject:  

Thank you, fredx181! Very Happy
_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Desktop
Jump to:  

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


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0381s ][ Queries: 12 (0.0073s) ][ GZIP on ]