Thursday, July 15, 2010

Breat Cancer North Face Jacket

background image that changes in Ubuntu

Create a folder (eg mybkg /) where to put the wallpaper images that you want to appear in sequence Ubuntu on the desktop.
Inside the folder you are going to build an XML file containing:
  • starttime A section to indicate the start time;
  • different section static each image to indicate different sections and
  • transition to specify the transition from one image to another
mybkg /:
background.xml

1.jpg 2.jpg 3.jpg


The XML file could contain:
\u0026lt; Background>

\u0026lt;starttime>
\u0026lt;year> 2009 \u0026lt;/ year> \u0026lt;month> 08 \u0026lt;/ month> \u0026lt;day> 04 \u0026lt;/ day>
\u0026lt;hour> 00 \u0026lt;/ hour> \u0026lt;minute> 00 \u0026lt;/ minute> \u0026lt;second> 00 \u0026lt;/ second>
\u0026lt;/ starttime>

\u0026lt;static> \u0026lt;duration> 1795.0 \u0026lt;/ duration> \u0026lt;file> / home/user/backrogund/1.jpg \u0026lt;/ file> \u0026lt;/ static>
\u0026lt; transition>
\u0026lt;duration> 5.0 \u0026lt;/ duration> \u0026lt;from> / home/user/1.jpg \u0026lt;/ from> \u0026lt;to> / home/user/2.jpg \u0026lt;/ Message>
\u0026lt;/ transition> ;

\u0026lt;static> \u0026lt;duration> 1795.0 \u0026lt;/ duration> \u0026lt;file> / home/user/backrogund/2.jpg \u0026lt;/ file> \u0026lt;/ static>
\u0026lt;transition>
\u0026lt;duration> 5.0 \u0026lt;/ duration> \u0026lt;from> / home/user/2 . jpg \u0026lt;/ from> \u0026lt;to> / home/user/3.jpg \u0026lt;/ Message>
\u0026lt;/ transition>

\u0026lt;static> \u0026lt;duration> 1795.0 \u0026lt;/ duration> \u0026lt;file> / home/user/backrogund/3.jpg \u0026lt;/ file> \u0026lt;/ static>
\u0026lt;transition>
\u0026lt;duration> 5.0 \u0026lt;/ duration> \u0026lt;from> / home/user/3.jpg \u0026lt;/ from> \u0026lt;to> / home/user/1.jpg \u0026lt;/ to>
\u0026lt; ; / transition>

\u0026lt;/ backrgound>

Each section indicate the static image to display and show the amount of time (Section duration), each section transition will show a crossfade between the image departure and destination.

0 comments:

Post a Comment