Thursday, 20 November 2008

Theme Considerations

Here are my preferences:
I like my desktop to be bright and stimulating. I love a certain kind of blueish gray (or grayish blue as you like). The RGBs are #6B73A9.

I also like the aluminium decoration of the mac. It's clear, its clean and it does not distract from the task at hand. So probably brushed metal look will be nice.

I am not one to have a wild wallpaper desktop image. I prefer calm and quite abstract patterns. I get a kick out of mathematically motivated images.

Lets translate this into requirements:
  • Windows are white or very light gray
  • Borders are medium gray
  • Menus and tool bars are same medium gray
  • No separation lines between window title, menu bar and tool bars
  • Windows in the background are darker than windows in the front
  • Selections are my favorite gray-blue
  • Information windows, tool tips and hints are a faint yellow
  • Text is dark gray, not black (black is to hard on the eye)
  • Window corners are rounded
  • Tabs and panels should look like they are extruded a bit
  • Firefox and Thunderbird have corresponding themes
  • Icons are more photo realistic (however, harddrives do not have to look like the naked bare metal)
  • Prefer XML definition to images (slower loading)
I know that not everyone shares my taste. I think that there should be two themes, one bright and one dark.

I also consider positioning the window buttons (max, min, close) on the top left side. This minimizes the way, you have to move the mouse.

Creating a theme for Ubuntu


Let's face it: Linux themes are pretty ugly. Ubuntu's default theme beats most of them. The brown and orange might remind Mark Shuttleworth of his origins. I will spare you the details of what it reminds ME of.

Tangerine, ClearLooks and all the other prepacked themes are no better.

Ubuntu 8.10 comes with a new theme: DarkRoom. It makes one increasingly sucidal.

I've tried some stock themes from art.gnome.org and gnome-looks.org. The results are sobering (On the right is the most appealing window decoration I found so far. It's called Almond and was last updated in 2006).

I envy Mac users for their simple, visually appealing and intuitive interface. It seems that neither Microsoft nor the whole Linux community can come up with something that can compare to Apples GUI.

Is it really so hard? To find out will create my own theme.

... the Austrian Ubuntu Theme (AUT) ...

Here is my plan:
  1. Read into the subject: I have to understand how Gnome uses Metacity and rendering engines to draw the GUI.
  2. Define how the theme should look like
  3. Modify an existing theme to learn how things interact
  4. Create raw minimal theme: I have to figure out what is minimally required
  5. Resolve extras (Panels, awn)
  6. Learn how icons work
  7. Create a customized set of icons
  8. Make a .deb installer to install the theme on any machine
  9. Test on several machines runing Ubuntu (8.04.1 LTS and 8.10) and possibly Debian
  10. Write a HOW-TO that covers more than the bare Gnome tutorial
  11. Start a SourceForge project
I will post here regularly. Your recommendations are welcome.

Wednesday, 29 October 2008

Updating to Ubuntu 8.10 (64bit)

I recently described that upgrading to 8.10 beta was no pain at all. Today I upgraded my production notebook (as tomorrow will be the big day and I presume there will be no bandwidth available).
sudo update-manager -d
Here are some miscellaneous updates on my previous report:
  • VMware Workstation 6.5 offers a new dialog informing you that kernel drivers require updating. You can confirm and it does it automatically. (Hey, this is a feature I long waited for)
  • There is something with the new font in Mozilla. It is slightly slimmer (like Helvetica vs. Arial) and it gives a much nicer look on pages.
  • OpenOffice installation as described in my previous article works on 64bit equally well.
My thanks to Canonical (the Debian group, the Gnome fellows, the OpenOffice folks and all the others that participated). This edition of Ubuntu deserves to be called a desktop alternative.

Tuesday, 28 October 2008

Open Source tool to migrate Outlook calendar

When I moved from Windows to Ubuntu, I faced one mayor hinderance: Outlook.

In particular, migrating calendar entries from Outlook was near impossible.
  • OL2003 lets one export one single calendar item to iCal format (and you have to use a trick to even get there).
  • OL2007 lets you export more than one entry at once, if the entries are less than 1000 and do not span more than a 10 year periode (earliest to latest entry).
The last limit is particularly nasty, as birthdays will not migrate and if you have more than 1000 entries (which I had), you have to partition the export (which means you have to switch to list view, which also shows canceled and updated calendar entries).

FreeMiCal

Cut a long story short, I wrote a little program, available on SourceForge that exports all calendar items at once, regardlessly.

FreeMiCal comes as a source zip-package or just the executables (for easy use). It is written in C# and requires nothing more than a Windows machine with Outlook 2003/2007 and .NET 2.0 installed.

FreeMiCal was downloaded over 11.000 times in the last year. It seems to do the job and helps obliviate Outlooks calendar lock-in.

OpenOffice 3.0 on Ubuntu 8.10

OpenOffice 3.0 is not released with Ubuntu 8.10. I downloaded OOo300 (.deb) from the OpenOffice web site, unpacked them and tried to install it.

Using the update shell script did not work

Installing all .debs packages manually is possible but tedious. One also risks that aptitude or apt-get does not see the installation. Certainly, old packages are not removed. This page describes the procedure. Not recommended.

Using dpkg-scanpackages to create a Packages.gz is a possibility. However, this requires to install from a local drive which produces errors. Not nice, but works.

The Fast lane

The following procedings seems the fastes and most secure way to install OpenOffice 3.0 and maintaining the upgradability on the fly:
  1. Launch Synaptic Package Manager
  2. Select Settings/Repositories (this will start the Software Sources control panel)
  3. Add the following line to the Third party software repositories:
    deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
  4. Close the dialog and confirm that the list of repositories will be reloaded
  5. Choose Mark All Upgrades
  6. Apply changes.
This will upgrade your OpenOffice 2.4.1 to 3.0. It will also migrate your settings (some things are reset though, like the year offsetting digit replacement).

Warning!
I have tested this on Ubuntu 8.10 32bit and it works. On 8.04.1 64bit it seems that not all programs are available as packages (e.g. Draw and Impress are missing). I turns out, this is due to missing libraries.

VMware Workstation 6.5 on Ubuntu 8.10

VMware Workstation 6.5 comes in 32bit and 64bit flavours. If you download, you can either get RPMs or installable files, that end in the extension .bundle. These are combined shell scripts with embedded binaries.

Installation works fine. First I had to chmod the file to be executable, then sudo ran it. Ths installation starts a graphical installer that does the rest. If you have Eclipse installed, you can accept the path to the debugger. Other than that, no excitement.

The installer copies both VMware Workstation 6.5 as well as VMware Player 2.5 onto the machine. It recognises and takes over the old settings (both network and VM favorites). Also the software recognises fingerprint readers as well as bluetooth devices.

The installation still requires vmware-config.pl if you change kernel modules.

Unity

A new feature in VMware Workstation 6.5 is Unity. It allows guest applications to run in parallel with native host applications.

In practice this means, I can run Visual Studio side by side to my native OpenOffice or Geany IDE.

If nothing else, this feature is the reason to upgrade.

Other than that, there are background snapshots, background operation, enhanced settings on VMs, etc.

Saturday, 11 October 2008

Making films in GCompris


I wanted to make a film in GCompris recently. GCompris is an educational suite for children.

There is an animation program in the suite and I wanted to integrate my own characters (the set included is limited). There is a directory with a Readme file which says: All custom images in here.

Well: I can put custom images into this directory. The software stores animation sequences into this directory as well. So far so good.

Unfortunately, I cannot add my own characters to the application or my film for that.

I'm still looking for a way to add my own characters to the film. Keep you posted (appreciate hints all the same).

PS: Tyler has an important hint on how to do this. I think it's worth for everyone to read his comment. Tyler, thanks.