Eclipse PDT and Subversion

Version conflicts to be aware of

Ubuntu 8.10 (Intrepid Ibex) now ships with Subversion 1.5 

You can't use a svn 1.4 client and a svn 1.5 client on the same working copy.

While the subversion integration in Eclipse is great I still prefer to do some things on the command line and some with kdesvn.

Then you need to upgrade your subclipse plugin to subclipse 1.4

If you can - then upgrade to Eclipse 3.4 

Read more

IE6 on VirtualBox - installing the network driver

One of the trial of web development is ensuring that your site works across a range of browsers.

Standards compliance is an important part of this - but testing cannot be avoided.

I work on Ubuntu, and use VirtualBox together with a licensed copy of Windows XP to test in a Windows environment, which also allows me to at least test the Sindows version of Safari.

Unfortunately Microsoft's decision to tie Internet Explorer closely with the operating system means that it isn't possible to install IE6 alongside IE7.

Read more

Ubuntu 8.10

Having just upgraded to Ubuntu 8.10 my key observation is that it's important to read the release notes first.

http://www.ubuntu.com/getubuntu/releasenotes/810

There are a few bugs which have affected me

Read more

How to read compressed Apache docs

One of the great things about Debian/Ubuntu is the consistency with which system documentation is placed in /usr/share/doc/

Assuming you have a web server installed this documentation is then available at http://localhost/doc/

But to keep filesize down - many files are compressed and have to be decompressed before you can read them.

The browser can actually do that compression on the fly - if it receives the right headers - what it needs to be told is that the content is compressed plain text.

Read more

MySQL restore is very slow

It seems there is a bug in MySQL which is causing restores to run very slowly (hours instead of minutes)

http://bugs.mysql.com/bug.php?id=33057

The bug is fixed in release 5.0.67

But Ubuntu hasn't updated yet....

Fortunately this bug is specific to the command line client. 

Workaround: use the MySQL Administrator GUI instead.

Read more

Dual Head Display Dell Inspiron 1525 Ubuntu

One of the few things that Linux hasn't done well is allowing the user to add or change monitors.

dual head screenshot

It looks like this is changing with the new utility xrandr.

I haven't fine tuned this yet (or even tested it much) but I do have a dual head display - with the virtual screen spanning two displays.

I'll come back and document this properly - but for now here's what I did.

Read more

Configuring Audio for Skype Dell Inspiron 1525 Ubuntu 8

The audio controls for the Dell hardware are less than obvious; I didn't even notice that there is a built in microphone.

Below are screen grabs of the settings that work for me - giving audio at the right levels for skype calls.

On the settings tab; ensure "capture" is enabled, "digital" seems to control the mic level - I found midway to be about right - higher levels caused distortion.

Read more

Aptitude Search

The basic search is:

aptitude search apache

Returns all packages that match

To search only for the installed versions

aptitude search ~iapache

To search for the packages that aren't installed

aptitude search \!\(~i\)apache2

Search Term reference

http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s03s05.html

Read more