Archive for 2010

Jazzing up Ubuntu: conky, gaia, emerald, oh my!

I had a link to this page sent to me the other day: http://lifehacker.com/5651352/the-gaia-10-linux-desktop and one glimpse at that pretty desktop got me all tingly inside so I went to work trying to install.  Much to my dismay the installation process was far from straight forward, infact the gaia10.us website mentioned in this post is virtually all for Windows.  More than a little frustrating after you download everything and go through all of the files searching for something that my operating system could use.  But then again, it’s only in the true spirit of linux that jokers like the author of that original post would post something like that, tell you how great it is and then leave no explanation of how to do it.  I suppose, it’s part of the appeal of the OS of making everything a learning process but for the pretty shiny stuff I wouldn’t mind that being easy.  When it comes to tweaking my file system, or pulse audio or anything technical I love digging around for info, but when it comes to the pretty shiny stuff, give me a break and throw us a bone.

So to make up for the oversight of that post I’ll go through everything you need to know to get your Ubuntu desktop looking just like how it looks in that picture.

Sprout Theme

  • Install p7zip by either typing ‘sudo apt-get install p7zip‘ in shell or searching for it in synaptic
  • Go HERE and download the original theme package.
  • Now that you have p7zip and can actually extract the bloody theme put it somewhere handy.
  • Now you need to install Emerald and just to be safe why don’t you run the following command from shell to make sure that you have all of the compiz stuff needed to implement this theme: ‘sudo apt-get install compiz compiz-plugins compiz-gnome compiz-core emerald compiz-fusion-plugins-main compiz-fusion-plugins-extra fusion-icon compizconfig-settings-manager
  • Now that that is all installed, to into applications, system tools and click on ‘Compiz Fusion Icon’ , you should see the little blue box up top there.  Right click that –> select window decorator and choose Emerald.
  • Now right click on the blue compiz box icon once again and click on ‘Emerald Theme Manager’, click on ‘import’ and go to where you extracted the sprout archive and import the 2 emerald files
  • Pick the one you want and viola!  You now have the sprout theme installed, only 7 steps later.

Custom Pidgin / Empathy iconset

So the next thing we encounter is the pidgin icon set.  Now I use a combination of empathy and aMsn myself and I started writing a rather lengthy tutorial on customizing Empathy with the Gaia theme however it

Empathy

  • It would appear that most of the themes for empathy are actually adium themes.  So in order to allow empath to use adium themes the easiest solution seems to be a little script that can be found here: http://ubuntuforums.org/showthread.php?t=1297237 .
  • Now that you can install adium themes, or more specifically message-pane themes head over to  http://live.gnome.org/Empathy/Themes and choose some themes that do the trick for you and install them.

AWN ( The App Dock )

  • Go here: http://wiki.awn-project.org/index.php?title=Installation and make sure your system is up to snuff
  • Go here: http://wiki.awn-project.org/DistributionGuides , find the distro guide that suites you and go nuts.  For me it was as simple as typing: ‘sudo apt-get install avant-windows-navigator awn-applets-python-core awn-applets-python-extras‘ in shell
  • If you want any themes you can head over to http://gnome-look.org
  • Customize and play with that to your hearts content

Conky:

Conky was mentioned here with special individual configs(isn’t that special?), but from the screenshoot I really can’t tell what those configs were or if Conky is even running in that screen.  So I’m kind of flying blind here.. Either way, Conky is a system resource meter/tool to give you a nice HUD of usage meters, bandwidth, temps, music, etc etc. There are a ton of different configs you can pull into it so that’s kind of up to your discretion at the end of the day

  • First thing’s first, we gotta install the damn thing: ‘sudo apt-get install conky
  • Big surprise that the original post doesn’t shed any light on what conky configs he implemented so you’ll have to go searching around for a conky config that tickles your fancy
  • http://crunchbanglinux.org/forums/topic/59/my-conky-config/ this is a great place to go for ideas.

Conky definitely takes some fiddling with but at the end of the day it looks pretty damn cool and is worth going through some of those designs.  I don’t have it where I want it quite yet but that is one of the things I love about using linux and that is that it is always an evolving work in progress.  Evolving as you evolve, never remaining static and forcing you to constantly learn.

Reference Material:

http://lassekongo83.deviantart.com/art/GAIA-Sprout-179554275?q=gallery:lassekongo83/21163&qo=2

http://www.hackourlife.com/install-compiz-fusion-and-emerald-in-ubuntu-10-04-lucid-lynx/

http://ubuntuforums.org/showthread.php?t=1297237

http://www.webupd8.org/2009/06/25-great-looking-compiz-emerald-themes.html

Tags: , , ,

Mozilla Seabird: Best tech concept of the decade (Get a towel)

You can read all about the concept here but to be clear this is simply a concept, mozilla has stated they have absolutely no intentions of entering the OS nor the hardware market.

The Mozilla Seabird, part of the Mozilla Labs’ Concept Series, is an experiment in how users might interact with their mobile content as devices and technology advances. Drawing on insights culled from the Mozilla community through the project’s blog

By far this is the sexiest realistic concept of any tech I have seen in a long time.  Everything here, hardware wise, exists and could be assembled into this.. Obviously creating the software to run it properly and to its potential would be a challenge, however you open source the entire thing and you’ll find those challenges working themselves out in record time.  So until this comes to market and absolutely destroys every other piece of hardware, watch this vid in awe of how we could be interacting with our mobile devices very very soon:

YouTube Preview Image

Getting more and more excited for AMD’s Fusion APU’s in 2011

I’ve been putting off upgrading my laptop for 2 years now in anticipation of the new line of Fusion APU’s from AMD to be released in 2011.  While Intel may have won my heart in the desktop market, pioneering one of the most important advances in transitors since their invention decades ago AMD is positioned to win my heart in the mobile market by boldly combining the CPU and the GPU into one of the most beautiful love childs this industry has seen.  Keep in mind we aren’t talking about an integrated graphics solution such as Intels abysmal GMA series, we are talking about about the culmination of ATI’s merger with AMD to create a whole new kind of processing unit, a hybrid of the two (if you don’t have nerd chills yet you should probably see a doctor).  To put it in perspective, think of fitting Nvidia’s Ion 2 graphic core into Intel’s dual core Atom die, while using less silicon and shrinking the package size

What we are seeing out of testing is performance comparable to dual core intel chips, much much higher 3D performance with power consumption dropping by up to 40%..  What can you do with a 40% increase in your battery life? Pretty damn exciting isn’t it?

I must say that after the revelation of Intel’s abhorrent business practices in connection with dell showing how intel is basically using their size to ensure AMD never has a fair competitive advantage in the market I am hoping with all my heart that AMD just takes intel to the fucking cleaners on this and starts to mop the floor with them in the netbook and notebook market. I for one will be out there supporting this beautiful piece of innovation.  It almost makes me excited to know that these fusion APU’s will be powering the next generation of apple products, almost but not quite enough to get me over the feeling that putting these chips in macs soils them in the most disgusting and repulsive of ways.  But whatever, if it helps them get a foot hold so be it, and seeing as they’ve released open source drivers already for us Linux geeks I’m tickled pink!

Some great articles I’ve read recently that will fill you in on all the juicy(and technical) details of the beautiful birthing that is about to take place.

http://www.tomshardware.com/reviews/amd-fusion-brazos-zacate,2786.html

http://en.wikipedia.org/wiki/AMD_Fusion

http://gigaom.com/apple/amd-fusion-processors-coming-to-future-apple-computers/

http://www.phoronix.com/vr.php?view=15484

http://www.semiaccurate.com/2010/11/23/amds-llano-has-breakthrough/

Tags: , , , , , , , ,

Anyone seen my missing email folders? Thunderbird seems to have lost them

Well I woke up this morning to a wonderful surprise. It would seem that thunderbird misplaced all of my mail folders, or more specifically the GUI. The mail was there, thunderbird was receiving it just fine, it was even indexing it but the left hand side of my TB window was a big blank nothing. Couldn’t click on anything, changing the views didn’t make it re-appear, resizing it didn’t work, nothing.. The entire folder tree GUI was gone.

My first thought was to just migrate everything back over to Evolution, but I didn’t have the patience for moving the account settings over.  So I figure I would just work though this thunderbird thing.

So in the process of copying my shiznit over to evolution I was prompted with a lovely lovely i/o read/write error which instantly made my heart sink as that means I’m dealing with a corrupted sectors here which is just lovely.  So obviously some file responsible for displaying the folder tree gui was corrupted and it was just a matter of finding that file.

I renamed my profile directory, forcing TB to create a new one and was happy to see the GUI appear again(sans all my emails of course) so I knew the problem was in there somewhere..  It was just a matter of copying bunches of files back bit by bit until TB broke and then narrowing down which file it was.   Word of advice: Read all the file names first to save yourself the time of blindly copying and waiting for it to break.  Because as soon as I saw the file Foldertree_json it became pretty apparent which file is responsible for building the folder tree :) .  So I copied everyone back from my original profile, deleted this folderTree_json file and started up Thunderbird.  Being the good application that it was it saw the missing file and rebuilt it based on my emails and voila!  The fix took me 30 seconds but only after 2 hours of reading posts and trying a bunch of shit.  So hopefully this can save someone else that time :)

Tags: , , , , , , , , ,

Public Key not working with user@server but does work with root@server

Weirdest thing about my FreeBSD server that’s been bugging me for a long time.. I’m able to create rsa/dsa keys for passwordless logins but the catch was that it would only work if I was root on the client machine loggin in as root on the server.  After 6 hours of trouble shooting and mostly relying on the geniuses over at #freebsdhelp on efnet, running sshd in debug mode, running ssh in -vvv mode it came down to a stupid little error in the /etc/ssh/sshd_config file.

The line in question was:

AuthorizedKeysFile      ~/.ssh/authorized_keys2

and whoever set it up originally bunged it up because it needs to be

AuthorizedKeysFile      %h/.ssh/authorized_keys2

to work properly or else sshd will always refer to /root/.ssh/authorized_keys2 no matter who’s loggin in..

Hopefully this will help someone else save the nearly full work day of time to narrow this mother trucker down

Tags: , , , , , , , , , , ,

Solar Powered Toothbrush to do away with Toothpaste

http://www.physorg.com/news201497680.html

To quote the article above:

Dr. Kunio Komiyama, a dentistry professor emeritus at the University of Saskatchewan, designed the first model of the unconventional toothbrush 15 years ago. Today, Komiyama and his colleague Dr. Gerry Uswak are seeking recruits to test their newest model, the Soladey-J3X. The toothbrush, which is manufactured by the Shiken company of Japan, will soon be tested by 120 teenagers to see how it compares to a normal toothbrush.

The Soladey-J3X has a solar panel at its base that transmits electrons to the top of the toothbrush through a lead wire. The react with acid in the mouth, creating a chemical reaction that breaks down and kills . The toothbrush requires no toothpaste, and can operate with about the same amount of light as needed by a solar-powered calculator.

Nginx 502 errors, php problems, wordpress, oh my!

Well today is a glorious day as I finally managed to fix a problem that had been haunting my server for a month or so.  In the end it was a solution that I’ve been taught countless times as something I should be doing by default when upgrading php but alas my mind is not on of the more expensive models and so it rarely does what it should..

So it all started with a fairly minor issue I noticed in WordPress.   When I would try to load up the media gallery I would be greeted with a nice 502  Nginx error.  I’m sure if I wasn’t running nginx then it would have a blank white page or an apache error.  So naturally I started with the nginx error logs which didn’t lead to much.. Then I setup php to log all errors and again that didn’t lead me to much, finally however I monitored my httpd-error.log and this lovely message turned up:

[warn] (2)No such file or directory: Cannot reinit SSLMutex
/libexec/ld-elf.so.1: /usr/local/lib/php/20060613/gd.so: Undefined symbol “zend_parse_parameters_none”

After some asking around on irc I was told that it was definitely a php problem.  Nothing more specific than that, just a php problem.  There were a bunch of forum posts saying it might have something to do with fastCGI but all the suggestions had no effect.  However there was one forum I foudn that through a suggestion out there that lit up a light bulb in my brain.  That being that if php5-extensions isn’t recompiled and reinstalled when php is updated sometimes the fit hits the shan.  Sure enough I had upgrade php5 a while back, and then again since then but hadn’t bothered to recompile the extensions.  Hell I hadn’t even recompiled Zend or Eaccelerator which is pretty standard.

So long story slightly shorter, I went in deinstalled and cleaned up my php5-extensions, reinstalled it and viola, problem solved!!

Tags: , , , , , ,

Reason I love Linux #114 : You feel like a Wizard

http://rlv.zcache.com/ubuntu_rocks_mug-p1687251842722515612ob3n_210.jpgWhile this isn’t a reason for productivity or efficiency it certainly improves your mental state throughout your work day.  When you get experienced with linux you literally feel like a wizard.  Because, more often than not, it is more efficient to do things sans GUI you really get into the guts of the system, and because of the customizability of absolutely everything those guts begin to evolve over time, guided by your hand and personal style.   Not just in the aesthetics of the operating system but also the very command structure in terminal.  You build shell scripts for absolutely everything and so as your O/S ages it becomes more and more unique to you meaning that even another experienced linux user wouldn’t be able to sit down and accomplish what I can accomplish with my OS.  This causes a very deep and personal connection with you OS, as it works the way it works only for you and no one else.  So when you are going nuts in it, uses all of the little nuances that only you know you completely feel like a wizard because for anyone else looking over your shoulder, even another linux user it will look like magic at times.  Now for a non-linux user you can literally get away with renaming yourself Gandalf the Grey without anyone questioning it because none of what you are doing will make any sense at all but the results from your magic will be so far beyond what they even thought was possible in terms of efficiency, productivity, organisation and overall coolness with an operating system.

I mean shit, when I’m up late writing articles in the dark I literally light my screen on fire and work by the burning glow of the virtual flames

The Soundblaster Arena Gaming Headset (and linux)

As any of you who are following me on twitter know I ordered the beautiful, sleek and very white Soundblaster Arena headset last week from newegg and today I moseyed my way down to Puralator to pick em up!  Happy happy joy joy.

Seeing as there are little no reviews of these kind of things specific to linux I thought I would share my thoughts on the first day with my new lover and how they react to my other lover: Ubuntu.  I’m not going to go over packaging and all the other nitty gritty details that most reviews dive into, I’ll just let you know the one thing you care about: How do they sound?

Well up until now I’ve been using  a pair of Panasonic earbuds (Best pair of ear buds I have ever owned for bass which is saying a lot as these cost me 30,000 pesos – 15$ – in Colombia and they out perform my $200.00 Bose buds sitting in my room) and the sound has been fairly impressive up until this point so it would take something pretty special to really make me say ‘wow’.  Obviously an over ear headset is going to outperform buds but the quality of those buds was so high with the music I listen to that I wasn’t sure at how much to expect.

If you want to skip the review and just get to the goods I’ll lay it out right here: If properly setup these headphones will absolutely blow your mind.  The key to remember is that the proprietary drivers that make them sound so god damn good in windows dont’ exist in linux so you have to make sure you use a program with a good equalizer and open up alsa-mixer in terminal to make sure that your levels for this USB device are cranked.  By default they will stay at 80% everytime you plug em in, leading to some disappointing results.

First Impressions

My first impressions were pure disappointment and this disappointment lasted for months and months until I went into Alsa-mixer.  For some reason I figured that it wouldn’t make a difference and avoided alsa-mixer completely, living in sadness for the lack of volume and bass I was experiencing in linux.  All that changed when I saw that by default, upon being plugged in every time, alsa-mixer set the volume levels to 80%.  You have no idea the difference that makes to deep low level bass.  I would say that the quality and depth of the bass tripled when those levels from from 80% to 100%.   So my first impressions sucked, but only because of my ignorance.  My impressions now are that these are the best god damn headphones that have ever graced my head

Volume

After levels were tweaked in Alsa mixer these things rock the house.  Combine Alsa mixer with pushing the levels over 100% in pulse manager and I think I can get more out of these in linux without proper drivers than I could in windows.  The key is to open alsa-mixer in terminal as Ubuntu wants to set these to 80% or so when they are plugged in.

The Microphone:

Truth be told one of the main reasons I’m buying this is the mic.  I haven’t done an IndustryBroadcast in months and months and month because my old usb mic kicked the bucket.  So a critical criteria was mic quality and most of the reviews had nothing but good things to say about the mic.

First thing that rocks about it is that it is detachable.  So if I’m out or whatever and don’t need it, I don’t need to have it sticking off my head.  Definitely like that.  The quality of the sound is decent.  It’s nothing amazing by any stretch, and this has nothing to do with the software as it sounds the same in windows.  My voice comes across as really damn deep, almost unnaturally so for those who are used to hearing me through my built in lappy mic, and while they claim this is a noise canceling mic, when I was in windows with the proper drivers loaded and software running I really didn’t pick up a crystal clean sound even though all windows were closed and appliances off in my surrounding area.  It was dead quiet in my apartment and i was still getting a bit of noise that I had to clean up with Audacity.  So overall the mic works decently but I wouldn’t buy these just for that.. If you’re doing podcasting you’re better off getting a proper mic and a proper pair of headphones.  If you’re gaming then these will definitely do the trick and make you sound like a manly man while you’re at it.

Size, Shape, Comfort

My ears are totally covered, I picked these up at 2pm today, and outside of a workout and dinner I’ve had them on ever since.  Totally comfortable, no pinching or anything anywhere.  Cushioning is soft and fluffy and I have lots of room inside for my ears

The Design:

See picture above, these things are badass!  I bought these because they received the best overall review of any gaming headset around and they were under $100.00 at New Egg.  I also haven’t bought a SoundBlaster product in 15 years so it felt awesome to support a company that’s done so much to change the audio landscape of the digital world.  But I am not going to lie and say I wasn’t super super stoked to have this gorgeously designed throw-back to 1980′s sci-fi on my head.  I mean if storm troopers are grooving to good tunes they are doing it with the SoundBlaster Arena on their head, and dammit so am I!  This goes for the color and general shape, but these bad boys are sleek and not bulky by any stretch.. I was actually surprised at the small size of the box when I picked them up.  I was expecting, from the pictures, that these things would be much more obtuse and large but they are the perfect size.  That and the black on a white body is brilliant.  Best looking headset on the market in my mind.

So there you have it!  If you want something that just cranks the sound out and you are using linux only I would go for a Senheisser or something else that goes into your audio jacks.

  • The sound quality is good in these,  overall decent but nothign to write home about and my ears certainly aren’t going to be bleeding(in the best way possible) anytime soon.  I’m almost considering running VMware all the time just for music because these things absolutely rock in Windows.  So if you’re a windows user put your money into these bad boys, they will rock your world like nothing else.
  • Mic is decent, good for gaming, decent enough for podcasting but nothing to write home about at all.  If you’re serious about casting go and buy a professional mic for $70.00 and use a cheaper $30.00 headset.  If you are gaming this is the way to go.  The mic detaches which is a huge plus
  • Design rocks the cock, these are wicked looking phones that set your head apart from the rest
  • Comfortable as anything else.  But phat padding around the ears with plenty of room will keep the tunes coming for hours and hours without discomfort.

Bottom Line:

Until I figured out that it was alsa-mixer limiting the levels on these things I was so against them, but now that I enjoy 100% volume levels these things deliver the best bass I have ever heard out of a headset.  I’ve traded my friend a pair of 200$ phones and they didn’t even remotely come close to touching these babies.. House music has never sounded so good

http://www2.panasonic.com/consumer-electronics/shop/Audio/Headphones/Earbuds/model.RP-HJE120-A_11002_7000000000000005702

Tags: , , , , , , , , , , , ,

Creating a custom slideshow for your wallpaper in ubuntu

So it seems that I’ve had a similar experience to a lot of people changing their wallpapers in ubuntu.  You’re scrolling through a bunch and in the list you notice this one called cosmos that doesn’t quite looks like the rest.  “Hmmm, what’s this?’ you think.  This looks like a bunch of images stacked on top of each other.  Could it be?  And yes, it is, it’s a multi-image slideshow that can have as your background that rotates on a schedule that you choose.  I immediately sat down and started figuring out how this thing works and in the end it was pretty simple, time consuming to setup as you have to input a ton of values into an xml file but simple.  I’m not going to go into huge detail about how it works if you want to read more head over to http://www.linuxjournal.com/content/create-custom-transitioning-background-your-gnome-228-desktop

So today I stumbled upon a motherload of amazing 3D space art at http://joejesus.deviantart.com and I go completely gaga over space art.. My wallpapers are all sci-fi scenes, I just can’t get over how breath taking some of these are.  So I raided the guys stash and ended up with around 30-40 new pieces for my wallpaper slideshow and like hell was I going to enter all of these in by hand so off I went searching for a nice little script that would do it for me.  I mean come on, one of the reasons I’m a linux user because I gave up the notion that time consuming repetitive tasks were something that you had to do by hand and sure enough I found a wonderful gentlemen over at the ubuntu forums who coded up a beauty of a script that worked like a charm.  So make sure to head over to : http://ubuntuforums.org/showthread.php?p=9578962 and give the guy a big thank you hug for saving you hours of work, and read the instructions on how to use it.

Here’s the script, just copy and paste this into a file, chmod it to 755 and you’re off to the races:

#!/bin/sh
#This script creates xml files that can act as dynamic wallpapers for Gnome by referring to multiple wallpapers
#Coded by David J Krajnik
if [ "$*" = "" ]; then
  echo "This script creates xml files that can act as dynamic backgrounds for Gnome by referring to multiple wallpapers";
  echo "Usage: mkwlppr.sh target-file.xml [duration] pic1 pic2 [pic3 .. picN]";
else
  files=$*;
  #Grab the name of the target xml file
  xmlfile=`echo $files | cut -d " " -f 1`;
  #remove the first item from $files
  files=`echo $files | sed 's/^\<[^ ]*\>//'`;
  if [ "`echo $xmlfile | grep '\.xml$'`" = "" ]; then
    echo "Your target file must be an XML file";
  else
    inputIsValid="true";
    firstItem=`echo $files | cut -d " " -f 1`;
    duration="1795.0";#set the default duration
    if [ "`echo $firstItem | grep '^[0-9]\+\.[0-9]\+$'`" != "" ]; then
      echo "The duration must be an integer";
      files=`echo $files | sed 's/^\<[^ ]*\>//'`;
      inputIsValid="";
    elif [ "`echo $firstItem | grep '^[0-9]\+$'`" != "" ]; then
      #If the item is a number, then use it as the duration for each wallpaper image
      duration="`expr $firstItem - 5`.0";
      #remove the duration from the list of files
      files=`echo $files | sed 's/^\<[^ ]*\>//'`;
    fi
    if [ "$files" = "" ]; then
      echo "You must enter image files to associate with the XML file";
    else
      for file in $files
      do
        if [ ! -f $file ]; then
	  echo "\"$file\" does not exist";
	  inputIsValid="";
        elif [ "`echo $file | sed 's/^.*\.\(jpg\|jpeg\|bmp\|png\|gif\|tif\|tiff\|jif\|jfif\|jp2\|jpx\|j2k\|j2c\)$//'`" != "" ]; then
	  echo "\"$file\" is not an image file";
	  inputIsValid="";
	fi
      done
      if [ $inputIsValid ]; then
        currDir=`pwd`;
        echo "<background>" >> $xmlfile
        echo "  <starttime>\n    <year>2009</year>\n    <month>08</month>\n    <day>04</day>" >> $xmlfile;
        echo "    <hour>00</hour>\n    <minute>00</minute>\n    <second>00</second>\n  </starttime>" >> $xmlfile;
        echo "  <!-- This animation will start at midnight. -->" >> $xmlfile;
        firstFile=`echo $files | cut -d " " -f 1`;#grab the first item
        if [ "`echo $firstFile | sed 's/\(.\).*/\1/'`" != "/" ]; then
          #If the first character in the filename is not '/', then it is a relative path and must have the current directory's path appended
          firstFile="$currDir/$firstFile";
        fi
        firstFile=`echo $firstFile | sed 's/[^/]\+\/\.\.\/\?//g'`;#Remove occurrences of ".." from the filepath
        files=`echo $files | sed 's/^\<[^ ]*\>//'`;#remove the first item
        prevFile=$firstFile;
        currFile="";
        #TODO add absolute path to the filenames
        #if $currFile =~ "^/.*" then the file needs to path appended
        echo "  <static>\n    <duration>$duration</duration>\n    <file>$firstFile</file>\n  </static>" >> $xmlfile;
        for currFile in $files
        do
          if [ "`echo $currFile | sed 's/\(.\).*/\1/'`" != "/" ]; then
            #If the first character in the filename is not '/', then it is a relative path and must have the current directory's path appended
            currFile="$currDir/$currFile";
          fi
          currFile=`echo $currFile | sed 's/[^/]\+\/\.\.\/\?//g'`;#Remove occurrences of ".." from the filepath
          echo "  <transition>\n    <duration>5.0</duration>\n    <from>$prevFile</from>\n    <to>$currFile</to>\n  </transition>" >> $xmlfile;
          echo "  <static>\n    <duration>$duration</duration>\n    <file>$currFile</file>\n  </static>" >> $xmlfile;
          prevFile=$currFile;
        done
        echo "  <transition>\n    <duration>5.0</duration>\n    <from>$currFile</from>\n    <to>$firstFile</to>\n  </transition>" >> $xmlfile;
        echo "</background>" >> $xmlfile;
      fi
    fi
  fi
fi

Tags: , , , , , , , , , ,

Page optimized by WP Minify WordPress Plugin