Eye Candy in Ubuntu 8.04 – Hardy Heron

I’ve been using Ubuntu since version 5.04 the second ever release and love it. The version numbering is based on the year and the month so 8.04 is 2008/April (see table)

ubuntutable

I use it primarily to recycle older PCs usually Pentium III so eye candy and effects provided by Compiz Fusion are not really an option on these systems. But since moving all the computers on my home network to Ubuntu I have been playing around with a few things. I particularly like the Avant-Window-Navigator (AWN) which is a dock app-launcher similar to that in Mac OSX. First you’ll need to find out if your system can handle the effects, Compiz Fusion is already installed in Ubuntu 8.04. Go to System>Preferences>Appearance>Visual Effects. There are three settings try them, if you can’t get normal or extra to work then your system and video card can’t handle the effects so I’d stop here. If you can get normal at least to work great.

Visual Effects

To install AWN open Synaptic  (System>Administration>Synaptic Package Manager) and search for Avant then mark it for installation and install. You will also need to update your Sources List, you can do this by opening a terminal window and typing sudo gedit /etc/apt/sources.list this will bring up your sources list in a text editor. Then add these lines

deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
deb-src http://ppa.launchpad.net/awn-testing/ubuntu hardy main

or in Hardy just go System>Administration>Software Sources click Third Party Sources and add these two to the list, then reload the list. You will find AWN under Applications>Accessories but if you want AWN to run at start up you’ll need to add it to your session. Go to System>Preferences>Sessions click the Start up tab and then +Add, type Avant in the name field and avant-window-navigator in the command

sessions

field, AWN should now start automatically the next time you reboot. You can find out about AWN settings etc. in System>Preferences>Awn Manager. There are other dock app-launchers such as Cairo-dock and Kiba-dock, full details of how to install Cairo-dock in Ubuntu can be found here.

Now if the basic Compiz Fusion functions are not enough for you you can install the Simple Compizconfig settings manager (simple-ccsm) via Synaptic as before. This will give you and added choice of Custom on the Appearance-Visual Effects window where you can modify things the way you want. If this is still not enough then you can install the full blown Compiz configuration settings manager via Synaptic, this will give you access to all the possibilities available in Compiz Fusion in Settings>Preferences>Advanced Desktop Effects Settings.

The window manager or theme manager in Gnome is called Metacity and there are lots of themes available for it. If you are playing around with Compiz Fusion then you might also want to have a go with another theme manager or window decorator called Emerald. You can once again install this through Synaptic and have it run at startup by adding it to your session as before with the command emerald –replace, which will ensure the next time you log on Emerald will replace Metacity. The Emerald Theme Manager can be found in System>Preferences. Again there are a huge number of themes available here for Emerald.

I made a couple of screen casts using Compiz Fusion but quite frankly they were rubbish. There are loads of demonstrations on You Tube, here’s a particularly nice one.

[youtube]E4Fbk52Mk1w&NR=1[/youtube]

Another thing you might want to try is using other Window Managers. Ubuntu ships with Gnome as the window manager and there are other flavours of Ubuntu such as Kubuntu which uses KDE. There are a few others such as Enlightenment, Open Box, Icewm and Fluxbox, do a search in Synaptic for Window Managers. If you install any of these it’s fairly easy to switch between them, just log out of Ubuntu as normal then log in again. Before you type your username and password click on the Options button on the bottom left of the screen. Here you’ll see a number of options, one of which is Select a Session, click this and select the Window Manager you want to try and that’s it…have fun.

How to: Get Thunderbird to work with MS-Exchange server in Ububtu

Ever since Ubuntu 7.06 I’ve been using it on my companies corporate LAN and managed, after some digging around to get Evolution to connect to MS-Exchange server and manage all my mail, calendar and contacts. I am now using Ubuntu 8.04 and all was well until a couple of days ago, all of a sudden Evolution started crashing and even crashed X-server. Next thing I knew I could not get Evolution to connect to MS-Exchange at all it kept returning an error Could not authenticate to server (password incorrect?)“. At first I put this down to a recent update for Evolution and did some digging around the forums, I found that many others had the same problem but there were no apparent solutions. I then read a few posts which suggested that Evolution did not work with Exchange server 2007, a quick check via web access to my mail and it certainly appeared that my company had updated from Exchange 2003 to 2007.

I had tried to use Thunderbird in the past but it connects to MS-Exchange server using IMAP and this was not available, so I was left with Evolution which connects using Outlook Web Access (OWA) and this was working fine…till now.

I tried everything with Evolution but eventually gave up, I did however discover an open source alternative in development called OpenChange which has an Evolution plug-in due for release in Gnome 2.24 so I might go back to this.

I thought it was a long shot to try Thunderbird again but if the Exchange server had been upgraded then perhaps IMAP connections were now possible, so here’s what I did.

There is a good explanations of the basics at downloadsquad.com, blog.indigio.com and McGill university. some of which I’d followed the last time I tried to use Thunderbird.

In Thunderbird select File>New>Account (if it hasn’t already prompted you to do so) and select new Email account, fill in your name (I used my LAN user name here) and email address. Next select IMAP as the server typeserver type, you only have the choice of POP or IMAP anyway. That’s the basic account set up, now you have to configure the server settings etc. Click on the account name in the left pane then select view settings for this account in the right pane. This gives you a whole load of things you can configure for your mail account but first thing to do is select server settings. Here make sure your server name is correct, usually something like mail.company.com. Under security settings the settingsguides I’d read previously recommended setting this to ‘Never‘ but this just didn’t work for me so I tried ‘TLS, if available‘ and bingo, it worked. All the other settings are up to you. You’ll also need to input the correct address for the outgoing SMTP server. In my case I got this by going back into MS-Outlook and in the mail account properties you’ll see the server name. Also in my case this requires a user name in the security and authentication section and again I chose ‘TLS, if available‘. That is the basics of the account set up now I had to select which folders on my Exchange account I wanted to view. I did this by right clicking on the account name in the left pane of Thunderbird  and selecting ‘subscribe‘ all being well this should open up a window showing all the folders available, just check those you want and click OK. I now had access to my Exchange inbox, sent and deleted folders.

The next stage was to get the global address book connection. In Thunderbird click on Address book then select File>New>LDAP Directory. global address bookThen fill in the details, I called mine ‘global address list’ the host name is usually the server name where your global address book (gab) is located, again this can be found out by going back to Outlook in Windows and looking at the properties of the global address book. So for example if the address was gabserver.ad.company.com then put gabserver in the Hostname box. In the Base DN box the rest of the address is added in the following format dc=ad, dc=company, dc=com The Bind DN is your DOMAIN\username and the port number defaults to 389 but this did not work for me, on blog.indigio.com they suggest port 3268 which did work for me. You should now be able to search the global address book and you’ll be asked for your password. You should also set up the global address book in the auto complete section in Edit>Prefernces>Addressing check the Directory Server box and you should see the address book you created before in the list. This means that as soon as you start to type a name in an email address bar Thunderbird will search your global address book for possible matches to auto complete.

Because I’d been using Evolution for some time I’d backed up a lot of email locally (~8000) as we have mailbox limits here so now I needed to get those into Thunderbird. I thought I’d just have to import but it wasn’t quite that simple. Thunderbird needs a plugin called MboxImport to be able to import emails in the Mbox format. Once this is installed it’s fairly simple though, select Tools>Import/Export in Mbox/eml format then point to the local directory where Evolution stores your mail (usually Home/Name/.evolution/mail/local), that’s it.

But what about the calendar? I here you ask, good question and so far it has me stumped. Thunderbird has a good calendar available as an Add-on called Lightning lightningbut getting this to connect to the calendar on MS-Exchange is another matter and one I’m still struggling with. There is a solution posted at blog.indigio.com but this involves direct access to the mail server which I don’t have. I tried a few things like logging onto my mail through Firefox (OWA) right clicking on the link for the calendar looking at properties and using this address to set up a new calendar in Thunderbird. Click the Calendar icon in the bottom left then right click in the left pane and select New Calendar>On My Network>Next. There are three options ICS, CalDav and WCAP, none of which worked for me at all, but  you may have more luck. I’ll keep looking and maybe I’ll find a solution or maybe if the Evolution plug-in is finished soon I may go back to Evolution. I have to say that given a choice I’d go for Thunderbird over Evolution but the fact is whichever one I can get to work with MS-Exchange is the one I’ll go for and for the time being that is Thunderbird, albeit without a calendar connection.

Loading image

Click anywhere to cancel

Image unavailable

How to Transfer Thunderbird Profile from Windows to Ubuntu

One of the tasks I faced in moving completely from Windows to Ubuntu was to transfer all my saved emails and my profile from Thunderbird. In Windows locate your Thunderbird profile, this will usually be in Documents and Settings>YourName>Application Data>Thunderbird>Profiles. The profile folder will be named with a random 8 character name and a .default extension (e.g. htg34gtd.default). You should be able to access your Windows partition from Ubuntu so once you’ve located the profile folder just copy it across to your Ubuntu partition.

Now go to your home folder in Ubuntu and select View>Show Hidden Files look for a folder named .mozilla-thunderbird. This may already have a .default folder in it, if it has then delete it then move the folder you copied from Windows here. Last thing you have to do is create a profiles.ini file in the .mozilla-thunderbird folder, in my case Thunderbird had already created this file so all I had to do was replace the text with below with the correct .default name;

[General]
StartWithLastProfile=1
[Profile0]
Name=default
IsRelative=1
Path=oooooooo.default

Where oooooooo = the 8 character name of your folder.
Now run Thunderbird, all being well you should now see all your emails etc as they were in Windows. This was not the case for me however, Thunderbird decided to create a new profile .default folder but all I had to do was delete it and rename the one I copied across to the one Thunderbird created…voila!

How to record streaming audio with Audacity in Ubuntu 8.04 (Hardy Heron)

I’ve been transferring everything I do with computers both at home and at work from Windows to Ubuntu Linux. Volume ControlOne of the things I did regularly in Windows was to record either streaming audio or audio from a device plugged directly into my sound card. I have a long term project to get all my old cassette tapes digitized. In Ubuntu 8.04 I installed Audacity from Synaptic, then selected each input device in turn under Edit>Preferences>Recording but none of them worked or produced an error.
The solution was however quite simple and not with Audacity at all. I opened up the master volume control on the Ubuntu panel by right clicking on the icon and selecting Open Volume Control then selected Edit>Preferences.Volume Control Preferences Next make sure the boxes marked Mix and Mix Mono are checked then Close. SwitchesClose the Volume Control and then re-open it and select the Switches tab and check the box for Mix and close again. Finally in Audacity in Edit>Preferences set the Playback and Recording devices to ALSA:default. That’s it, now anything playing through the sound card be it streaming music or from an external device such as a tape player can be recorded.