Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: HOWTO: Animated .gif as a background

  1. #11
    Join Date
    May 2009
    Beans
    29

    Re: HOWTO: Animated .gif as a background

    Fascinating tutorial, I will be sure to pass this one on
    Coty Miller

  2. #12
    Join Date
    Jun 2007
    Beans
    1

    I realize this is an old thread BUT...

    Hey,

    I just want to say thank you for the HOWTO. I got the xwinwrapper working with my gif images. When I start it the gifs initially show up in the background, but when I click on the image it covers up all of my other programs including the panels. I was wondering if anyone might know a way to keep the gif image on the desktop even when it is clicked.

    Thanks for any help in advance

  3. #13
    Join Date
    May 2009
    Location
    Wao Kele 'O Puna, Ola'a,
    Beans
    143

    Re: HOWTO: Animated .gif as a background

    Awesome!

    I especially like post #5) http://ubuntuforums.org/showpost.php...79&postcount=5

    What a wonderful concept using xml to change the image!

    For myself, I prefer to create my own animations using gimp, or a free online service like http://imator.com/

    Thanks for sharing!
    "640 K should be plenty of RAM for anybody..."

  4. #14
    Join Date
    Dec 2009
    Beans
    Hidden!

    Re: HOWTO: Animated background

    Code:
    mplayer -gif89a yourvideo.avi
    You can use mplayer like so to create gif animations from video.

  5. #15
    Join Date
    Nov 2009
    Beans
    26
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Animated .gif as a background

    I couldn't get the .c file to "make" so make install just gave me the old familiar "no rule to make install -stop" message.
    So I left out of that and went looking for a .deb file and found it on mediafire xwinwrap_1386.deb dl'ed it and dpkg'ed it.
    I'm assuming it's going to work.

    From my limited reading on the possible uses, it seems that I can use the gif as a background in any xwindow, yes/no?

    Hopefully. But I've got this really cool word-by-word or chunk-by-chunk text reader called "dictator", got Orca and this really simple hipno-spiral that will stretch across the desktop or any window.

    Bam, instant hypnosis session where I can insert any text I want.

    Hopefully it will work, one other thing though, no worries or hurries, but does either the gif tool or xwinwrap make it a transparent layer?
    Da Gimp has a tool that supposedly works for that but I've not advanced that far.
    "Damn, that was the stupidest deal I ever made"
    Odin, immediately after he traded his eye for wisdom.

  6. #16
    Join Date
    Sep 2006
    Beans
    187

    Re: HOWTO: Animated background

    This gif would make a great wallpaper



    I would love to see some native solution
    My gtk themes | Help little bunny take over the world by pasting it on your signature:
    (\ /)
    (O.o)
    (> <)

  7. #17
    Join Date
    Oct 2011
    Beans
    20

    Re: HOWTO: Animated background

    Awesome. Respect man

  8. #18
    Join Date
    Oct 2009
    Location
    Ottawa, Canada
    Beans
    16
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Animated .gif as a background

    Quote Originally Posted by [.root/fail] View Post
    This is after getting the stuff from the post before me and running the rest of the first post I could:



    fail@dotroot:~/xwinwrap$ cd xwinwrap
    bash: cd: xwinwrap: No such file or directory
    fail@dotroot:~/xwinwrap$ make
    gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -lX11 -lXext -lXrender xwinwrap.c -o xwinwrap
    mkdir x86_64
    mv ./xwinwrap ./x86_64
    gcc -m32 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -lX11 -lXext -lXrender xwinwrap.c -o xwinwrap
    In file included from /usr/include/features.h:354,
    from /usr/include/sys/types.h:27,
    from /usr/include/X11/Xlib.h:52,
    from xwinwrap.c:45:
    /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
    make: *** [all32] Error 1
    fail@dotroot:~/xwinwrap$ sudo make install
    [sudo] password for kyo:
    make: *** No rule to make target `install'. Stop.
    fail@dotroot:~/xwinwrap$
    It seems like this is because you must choose which install you are going to run with from the "Makefile" if you wrote "sudo make install32" it would work for you, 64-bit would use "sudo make install64"

    I followed all of the op's instructions but i'm facing an issue of my own, I got my exploding heads gif on my background (had to add sleep 5 to the script) but as soon as there are no windows open, xwinwrap jumps to the front again and I've got exploding zombie heads right in the middle of everything. any ideas how to prevent this?

    here's the gif (it's small, but it's still great!)

    edit: So upon further investigation, the gif will stay in the background unless I happen to click on it at which point it sits in the middle of the screen on top of everything. i haven't changed the gifbg.sh options.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	exploding-heads.gif 
Views:	110 
Size:	695.7 KB 
ID:	218152  
    Last edited by DrDunkMcNally; May 17th, 2012 at 09:31 PM. Reason: new info

  9. #19
    Join Date
    Apr 2013
    Beans
    1

    Re: HOWTO: Animated .gif as a background

    This does not work for me. I have ubuntu 12.4 and when i entered the code:


    Code:
    bzr branch lp:xwinwrap
    i get this error:

    You have not informed bzr of your Launchpad ID, and you must do this to
    write to Launchpad or access private data. See "bzr help launchpad-login".
    bzr: ERROR: Already a branch: "xwinwrap".


    How do i fix this and continue with the install so i can enjoy my Ubnutu with animated .gif?

    Also Would this be something Ubuntu will add native with a new version of Ubuntu?

    It would be nice to be able to use .gif as wallpaper as easy as it is to
    change the wallpaper (.jpg) from a fresh install of Ubuntu.

  10. #20
    Join Date
    Sep 2012
    Beans
    3

    Re: HOWTO: Animated .gif as a background

    Im really interested in this howto but im getting some strange errors that I dont know how to fix. This is right after running brz branch lpwinwrap. Im guessing im missing a package somewhere?

    Code:
    ~/xwinwrap$ make
    gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -lX11 -lXext -lXrender xwinwrap.c -o xwinwrap
    /tmp/ccG67lai.o: In function `setWindowOpacity':
    xwinwrap.c:(.text+0xdf): undefined reference to `XInternAtom'
    xwinwrap.c:(.text+0x113): undefined reference to `XChangeProperty'
    /tmp/ccG67lai.o: In function `findArgbVisual':
    xwinwrap.c:(.text+0x151): undefined reference to `XGetVisualInfo'
    xwinwrap.c:(.text+0x19c): undefined reference to `XRenderFindVisualFormat'
    xwinwrap.c:(.text+0x1ed): undefined reference to `XFree'
    /tmp/ccG67lai.o: In function `find_desktop_window':
    xwinwrap.c:(.text+0x337): undefined reference to `XQueryTree'
    xwinwrap.c:(.text+0x379): undefined reference to `XFetchName'
    xwinwrap.c:(.text+0x3b2): undefined reference to `XGetWindowAttributes'
    xwinwrap.c:(.text+0x444): undefined reference to `XFree'
    xwinwrap.c:(.text+0x453): undefined reference to `XFree'
    xwinwrap.c:(.text+0x488): undefined reference to `XFree'
    /tmp/ccG67lai.o: In function `main':
    xwinwrap.c:(.text+0x5a7): undefined reference to `XOpenDisplay'
    xwinwrap.c:(.text+0x6cc): undefined reference to `XParseGeometry'
    xwinwrap.c:(.text+0x7f6): undefined reference to `XInternAtom'
    xwinwrap.c:(.text+0x864): undefined reference to `XInternAtom'
    xwinwrap.c:(.text+0x8c8): undefined reference to `XInternAtom'
    xwinwrap.c:(.text+0x92c): undefined reference to `XInternAtom'
    xwinwrap.c:(.text+0x990): undefined reference to `XInternAtom'
    /tmp/ccG67lai.o:xwinwrap.c:(.text+0x9f4): more undefined references to `XInternAtom' follow
    /tmp/ccG67lai.o: In function `main':
    xwinwrap.c:(.text+0xe84): undefined reference to `XCreateColormap'
    xwinwrap.c:(.text+0xef9): undefined reference to `XCreateWindow'
    xwinwrap.c:(.text+0xfaf): undefined reference to `XCreateWindow'
    xwinwrap.c:(.text+0x1021): undefined reference to `XCreateWindow'
    xwinwrap.c:(.text+0x107b): undefined reference to `XSetWMProperties'
    xwinwrap.c:(.text+0x10b1): undefined reference to `XCreateRegion'
    xwinwrap.c:(.text+0x10f9): undefined reference to `XShapeCombineRegion'
    xwinwrap.c:(.text+0x1108): undefined reference to `XDestroyRegion'
    xwinwrap.c:(.text+0x112a): undefined reference to `XInternAtom'
    xwinwrap.c:(.text+0x1169): undefined reference to `XChangeProperty'
    xwinwrap.c:(.text+0x119e): undefined reference to `XCreatePixmap'
    xwinwrap.c:(.text+0x11ca): undefined reference to `XCreateGC'
    xwinwrap.c:(.text+0x1208): undefined reference to `XSetForeground'
    xwinwrap.c:(.text+0x1242): undefined reference to `XFillRectangle'
    xwinwrap.c:(.text+0x1260): undefined reference to `XSetForeground'
    xwinwrap.c:(.text+0x12aa): undefined reference to `XFillArc'
    xwinwrap.c:(.text+0x1315): undefined reference to `XSetForeground'
    xwinwrap.c:(.text+0x134f): undefined reference to `XFillRectangle'
    xwinwrap.c:(.text+0x136d): undefined reference to `XSetForeground'
    xwinwrap.c:(.text+0x13a4): undefined reference to `XFillPolygon'
    xwinwrap.c:(.text+0x13de): undefined reference to `XShapeCombineMask'
    xwinwrap.c:(.text+0x13f7): undefined reference to `XMapWindow'
    xwinwrap.c:(.text+0x141c): undefined reference to `XLowerWindow'
    xwinwrap.c:(.text+0x1436): undefined reference to `XSync'
    xwinwrap.c:(.text+0x1575): undefined reference to `XDestroyWindow'
    xwinwrap.c:(.text+0x1584): undefined reference to `XCloseDisplay'
    collect2: error: ld returned 1 exit status
    make: *** [all64] Error 1
    Last edited by zach832; July 5th, 2013 at 06:36 PM.

Page 2 of 3 FirstFirst 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •