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 Mon 18 Jun 2018, 12:10
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Set animated GIF as desktop wallpaper?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [26 Posts]   Goto page: 1, 2 Next
Author Message
Mike Walsh


Joined: 28 Jun 2014
Posts: 3791
Location: King's Lynn, UK.

PostPosted: Sat 26 May 2018, 21:35    Post subject:  Set animated GIF as desktop wallpaper?
Subject description: Any of our 'experts' had any luck with this one, perhaps?
 

Morning, all.

Just a brief query here before I head off up the 'wooden hill'. Has anybody ever had any success with setting an animated GIF image as background wallpaper in Puppy.......and, if so, would you care to share?

I was trying this earlier on tonight, but, as expected, only the first frame of the GIF sequence is displayed, so it's essentially a 'static' image. I'm sure I can't be the first to try this, but as we all know, Pup's 'desktop' ain't like other Linuxes (and has a character all of its own)!

It'll run as an animated image from /usr/share/backgrounds, if you open it in Viewnior. But trying to set it as wallpaper with JWM DeskManager appears to be a no-go. I'm suspecting this is to do with the way ROX & JWM work together.....and perhaps something to do with 'mime-types'?

Any pearls of wisdom y'all might care to dispense would, as always, be very much appreciated.

TIA.


Mike.

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
Geoffrey


Joined: 30 May 2010
Posts: 2347
Location: Queensland

PostPosted: Sun 27 May 2018, 03:22    Post subject:  

Look here Mike http://murga-linux.com/puppy/viewtopic.php?t=106892
_________________
Carolina: Recent Repository Additions

Back to top
View user's profile Send private message 
drunkjedi


Joined: 24 May 2015
Posts: 897

PostPosted: Sun 27 May 2018, 03:44    Post subject:  

Hello Mike sir,

I ain't any "expert" but I don't think Rox pinboard can display animated GIF.

But I have an idea, explode that GIF in frames.
Then use random wallpaper changer found on this forum which changes wallpaper with set time , or use conky to display those frames and change wallpaper every second to get animation.

This is just an idea.
Hope this helps.
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 3791
Location: King's Lynn, UK.

PostPosted: Sun 27 May 2018, 06:48    Post subject:  

Hi Geoff/DJ.

Thanks for the suggestions, guys.

@ Geoff:- I'm guessing all that works better with the XFCE desktop, yes? I've used it in Pups on this old girl before, but I always eventually end up with XFCE crashing and not being able to reset itself.....so I kinda gave up on 'em. For me, it's ROX/JWM all the way now.

It looks (and sounds) complicated, anyway.....and I'm not certain it's that high a priority for me to justify putting the effort in. I was hoping there was a relatively simple way to do it; much like my signature, where I've used the GIMP to 'embed' a GIF within a JPG/PNG image.

----------------------------

@ DJ:- Interesting idea. Conky, however, has never been a favourite of mine; TBH, if it involves using it, I'd sooner forget the whole idea. I just don't have the patience with it!

Thanks for the suggestion, though.


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
fredx181


Joined: 11 Dec 2013
Posts: 3092
Location: holland

PostPosted: Sun 27 May 2018, 07:28    Post subject:  

Hi Mike,

A while back I've made a little program for that, gifondesktop (yad GUI), .deb package is here:
https://fredx181.github.io/StretchDog/i386/Packages/Extra/gifondesktop_1.0.0_i386.deb
For transparency you need to have gtkdesklet installed, pet package is probably easy to find, anyway here's .deb:
https://fredx181.github.io/StretchDog/i386/Packages/Extra/gtkdesklet_1.0.1_i386.deb
Some (transparent) gifs can be found in /usr/share/gifondesktop (after install)

Have fun !

EDIT: Whoops, sorry, just see now you asked for animated gif as wallpaper.
Oh, well, maybe gifondesktop is still useful to play with.
EDIT: See also here:
http://murga-linux.com/puppy/viewtopic.php?p=954184#954184
A liitle further in that thread: dancing letters. It's fun also !

Fred
2018-05-27-131700_532x366_scrot.png
 Description   gifondesktop (requires gtkdialog, yad, xwininfo (and gtkdesklet for transparency))
 Filesize   67.88 KB
 Viewed   204 Time(s)

2018-05-27-131700_532x366_scrot.png


_________________
Dog Linux website
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 3791
Location: King's Lynn, UK.

PostPosted: Sun 27 May 2018, 08:56    Post subject:  

Hi, Fred.

Nah, don't dismiss the idea that quickly. I'm essentially thinking of placing an animated GIF slightly off-centre (to the left) onto a dark or black background. I don't want the whole thing animated, but just a section. Similar to what greengeek acheived here (except off-set to the left, rather than central to the screen). I want it to fit into my 'standard' desktop design, where I have my 'system and info' panel, containing gkrellm and pWidgets amongst others, on the right-hand side of the screen.

Do these here doo-hickeys of yours work with ROX & JWM.....or only a 'proper' DE? Rolling Eyes Laughing


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
fredx181


Joined: 11 Dec 2013
Posts: 3092
Location: holland

PostPosted: Sun 27 May 2018, 09:20    Post subject:  

Mie Walsh wrote:
Do these here doo-hickeys of yours work with ROX & JWM.....or only a 'proper' DE? Rolling Eyes Laughing


Yes, it does, tested on a few puppies with JWM, only small issue can be that it doesn't appear in the Menu (just tried with slacko, and it doesn't, don't know why, should appear in "Graphics"), then run gifondesktop from terminal.

What's a doo-hickey ?, hopefully you're not being unkind to me Laughing

EDIT:
Quote:
Similar to what greengeek acheived here

Yes, gifondesktop can do exactly that, with setting for where to place it.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 3791
Location: King's Lynn, UK.

PostPosted: Sun 27 May 2018, 09:31    Post subject:  

Ah! Excellent; sounds just like what I need, then.

fredx181 wrote:
What's a doo-hickey ?, hopefully you're not being unkind to me Laughing


Just a Brit 'slang' term for any gizmo/gadget/techie-type item. No insult..! Very Happy

I'll do some experimenting then, as and when I get time. I'll knock up another MenuEntry if necessary; I've had to do that on more than one occasion when an entry should work (but doesn't). It's possible it might be related to your packaging everything as .debs, y'know.....

I'll post the result as & when. Cheers.


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
Mike Walsh


Joined: 28 Jun 2014
Posts: 3791
Location: King's Lynn, UK.

PostPosted: Sun 27 May 2018, 10:12    Post subject:  

Hi, Fred.

Your original .desktop entry was missing a coupla things.

The 'Encoding=UTF-8' line (I find this does help things show up.)

Also:-

Icon not showing (you forgot the .png at the end).
And 'Categories'; you just had 'Graphics;'. Rox prefers 'X-Graphic;' ('X-' at the beginning, and no 's' on the end).

Shows up now, and starts from the Menu in Slacko 570.....which is where I want it. I'll keep ya posted; gotta spend a while making my background up now!


Mike Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
fredx181


Joined: 11 Dec 2013
Posts: 3092
Location: holland

PostPosted: Sun 27 May 2018, 10:18    Post subject:  

Mike Walsh wrote:
I'll knock up another MenuEntry if necessary; I've had to do that on more than one occasion when an entry should work (but doesn't). It's possible it might be related to your packaging everything as .debs, y'know


Probably not because of packaging as .debs, but because of different "Categories" that Debian handles different from Puppy, maybe changing to Categories=Graphic (instead of "Graphics") in the .desktop file will do. (also full path to the icon is required in Puppy, I think, not sure)

EDIT: Posted almost at the same time, I see, yes different way of handling .desktop launchers in Puppy.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 12313
Location: Gatineau (Qc), Canada

PostPosted: Sun 27 May 2018, 10:43    Post subject:  

The real question is : WHY? Laughing

There are at least a thousand sites on the Internet each offering a zillion
backdrop pictures in jpg.

Why the man is still unhappy with that kind of variety is anybody's guess.

Sorry for ruffled feathers and that sort of thing.

BFN.

_________________
musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 3791
Location: King's Lynn, UK.

PostPosted: Sun 27 May 2018, 10:54    Post subject:  

Hi, musher0.

Quite simply, old son, because I've always preferred to make every single one of my desktop backgrounds up from scratch. It's a long-standing habit, that goes back decades. Literally! And I'm not 'unhappy' with the variety available; it's just that the way I like to do things, I can truly call it my very own creation. Simple as that.

To me, my desktop is a very personal place..... Smile

No, no ruffled feathers here. When it comes to graphics, and new ways of making up a new desktop background or something similar, I'll pursue it to the ends of the Earth (if I'm sufficiently interested, of course.) That's just me.

You happen to enjoy messing around with & re-scripting file-managers and similar applications. All credit to you. I use your 'Recently-used files' thing in a few of my Pups. It's very good.

I, on the other hand, enjoy messing around with multimedia applications....

Horses for courses, mate; each to their own. I've said it before, and I'll say it again; as a community, we help each other out. 'Nuff said.


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
Mike Walsh


Joined: 28 Jun 2014
Posts: 3791
Location: King's Lynn, UK.

PostPosted: Sun 27 May 2018, 11:37    Post subject:  

Hi again, Fred.

Couple more questions, if I may?

It all works fine, you'll be pleased to hear. Now then; how do you stop the animation, once started.....and where does the script run from, once created? /Tmp, by any chance? (I've already noticed that re-starting 'X' kills it...)

I just want to figure out a way of auto-starting it at boot. (Scratch that; I've just found it in /root. I can put it in ~/Startup. Still can't figure out how to kill it manually, though...)


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
fredx181


Joined: 11 Dec 2013
Posts: 3092
Location: holland

PostPosted: Sun 27 May 2018, 12:03    Post subject:  

Mike Walsh wrote:
Hi again, Fred.
Now then; how do you stop the animation, once started....


Mmm... yes that's maybe something I will add to the program, not sure how yet, maybe let it create a stop-script also.
Simplest is maybe to stop the script with killall ,for example, the script I have is /root/dogsrunning.gif_+630+685.sh and this stops it:
Code:
killall dogsrunning.gif*

Or find the pid with ps and kill it
Code:
# ps aux|grep dogsrunning
root     12249  0.0  0.1   5248  3144 tty1     S    17:59   0:00 /bin/bash /root/dogsrunning.gif_+630+685.sh
kill 12249


Quote:
and where does the script run from, once created? /Tmp, by any chance?

That I don't understand, if the script is in /root and once executed it runs like any other script.

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 3791
Location: King's Lynn, UK.

PostPosted: Sun 27 May 2018, 12:36    Post subject:  

Hiya, Fred.

Sorry for the confusion. I wrote the bit about /tmp before I found the script in /root. I wasn't paying that much attention to the app when I was closing it down; I now know it tells you where the script has been created... Embarassed

Be that as it may, here's the current state of 570's desktop. What d'you think of it so far?





RecordMyDesktop->LosslessCut (greengeek likes the 'micro-stepper' on this, and I have to agree with him; it's perfect for getting the ends of a GIF 'loop' sequence to marry up seamlessly)->EZGif.com (to turn the cut section of .ogv into a short GIF, followed by a wee bit of adjustment). Very useful site, that.

https://ezgif.com/

It's only a rough version at present, just to test it out. I have a couple more ideas floating around in the back of my noggin that just might see the light of day.....if I can coax 'em out!

One final question? Can you have more than one of these scripts running at a time? I'm quite impressed by how little demand it makes on the CPU; it's barely noticeable.


Mike. Wink

_________________
MY PUPPY PACKAGES | 'Thanks' are always appreciated!
--------------------------------------

Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [26 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.1303s ][ Queries: 15 (0.0208s) ][ GZIP on ]