FIX: Webilder error “The panel encountered a problem while loading “OAFIID:GNOME_WebilderApplet”.

If you get this Webilder error after updating to Jaunty as I did then you can fix as follows:

1. Backup the webilder.conf file:
cp ~/webilder/webilder.conf ~/webilder/webilder.conf.bak

2. Edit the webilder.conf file as follows - change line 20 from:
webilder.installation_date = time.struct_time(tm_year=2009, tm_mon=9, tm_mday=1, tm_hour=10, tm_min=34, tm_sec=56, tm_wday=1, tm_yday=244, tm_isdst=1)
to:
webilder.installation_date = (2008, 10, 26, 12, 25, 1, 6, 300, 1)

3. Save the file and retry adding the panel applet. All should work fine!

FIX: aMSN unable to connect after Ubuntu update to Jaunty Jackalope

If you get an aMSN connection error message something like:

“No address associated with hostname”

after  upgrading to Jaunty then you can fix by getting the latest version of aMSN directly from SVN’ as follows:

Continue reading ‘FIX: aMSN unable to connect after Ubuntu update to Jaunty Jackalope’

HOWTO: Upgrade PHP GD Library on Ubuntu

If you are working with Drupal or anything else that complains about requiring a newer version of the GD library then you need to upgrade as follows:

1. Remove old version
sudo apt-get remove php5-gd
2. Add following lines to the file /etc/apt/sources.lst
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all

3. Update and reinstall
sudo apt-get update
sudo apt-get install php5-gd
/etc/init.d/apache2 restart

FIX: Thunderbird - Lightning ‘New Calendar’ menu item grayed out

The fix for this is to install libstdc++5 and then reinstall Lightning. Close thunderbird and then in a terminal:

sudo apt-get remove lightning
sudo apt-get install libstdc++5
sudo apt-get install lightning

FIX: Updating Ubuntu gives ‘Could not find postinst hook script [update-grub]’ error.

I installed Ubuntu 8.10 on my Toshiba U100 which does not work too well with grub.  Having installed 8.10 and replaced Grub with Lilo I ran update manager for all updates.

This failed when updating the kernel with the error ‘Could not find postinst hook script [update-grub]’.

To fix after running the update manager simply open a terminal and run the following commands.

Continue reading ‘FIX: Updating Ubuntu gives ‘Could not find postinst hook script [update-grub]’ error.’

HOWTO: Set up NFS remote file shariing and mounting in Ubuntu

Scenario: You have two Ubuntu PCs - you want to share a folder from one to the other.  A common answer you’ll see posted around to this is to use Samba.  While this does allow the shared folder to be accessed by Windoze machines there is a far simpler and more efficient method that can be used when both machines are Linux.

In the following guide ‘Server’ means the computer where the folder to be shared is (192.168.2.2 in my example) and ‘Client’ (192.168.2.3) is where you would like to access the folder from.
Continue reading ‘HOWTO: Set up NFS remote file shariing and mounting in Ubuntu’

FIX: dependency is not satisfiable: libicu36 when installing Chandler on Ubuntu

I tried installing installing Chandler the GTD app from the .deb file but got an error about ‘dependency is not satisfiable:  libicu36′.

This is as newer versions of Ubuntu use libicu38.

To fix the error try:
wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu36_3.6-3ubuntu0.1_i386.deb

sudo dpkg -i libicu36_3.6-3ubuntu0.1_i386.deb
Then try installing the Chandler .deb again.

HOWTO: Install a .TTF Font in Ubuntu Hardy Heron

If you have a .ttf file (lets call it your_font.ttf) that you have downloaded and want to install it as an available font you should follow these steps:

1. Create somewhere to keep your .ttf fonts:
sudo mkdir /usr/share/fonts/truetype/custom

2. Copy your font there:
sudo cp your_font.ttf /usr/share/fonts/truetype/custom

3. Run the following command to rebuild your font cache:
sudo fc-cache -f -v

That should be it! Your sexy new font should now be available.

Toshiba U100 Maintenance Manual

My U100 needs a replacement screen so I’ve been hunting around for some information on how to replace it.  I was lucky enough to come across the U100 maintenance manual which I’ve made available here.

HOW TO: Load and display images from a folder in PHP

If you have an unknown quantity of images in a folder and want to cycle through them and display (in a table or similar) then this snippet should get you started.

Continue reading ‘HOW TO: Load and display images from a folder in PHP’

HOW TO: Auto login to IRC using IRSSI

For Linux I reckon irssi is probably the coolest IRC client out there and has some nifty features for a terminal app. It can be installed with:

sudo apt-get install irssi

One of the first thing you will probably need to do is set it up to auto login.  This can be done in a couple of simple steps:

Continue reading ‘HOW TO: Auto login to IRC using IRSSI’

HOW TO: Harden and Secure SSH on Ubuntu Linux

If you want to harden and secure your SSH installation on Ubuntu Linux then there are a few simple steps you can follow:

Continue reading ‘HOW TO: Harden and Secure SSH on Ubuntu Linux’

HOWTO: Install Dolphin Open Source Social Network Script on Ubuntu

Dolphin Smart Community Builder is a very cool open source social networking script that oddly does not seem to have much in the way of installation instructions.  After some digging around I managed to get in installed by following these steps:

Continue reading ‘HOWTO: Install Dolphin Open Source Social Network Script on Ubuntu’

HOWTO: Set up wireless networking between VirtualBox VMs on Ubuntu Hardy Heron

I’m working on a project at the moment that requires a whole bunch of Win XP VMs.  I’m using VirtualBox on my M1330 which out of the box is set up with NAT addressing.  This is fine for accessing the interweb but I need the VMs to talk to each other.  Not as straightforward as it seems but I managed to get it working as follows:

Continue reading ‘HOWTO: Set up wireless networking between VirtualBox VMs on Ubuntu Hardy Heron’

FIX: GRUB Hard Disk Error with Ubuntu Hardy Heron on Libretto U100 or U105

I decided to install Ubuntu on my tiny Toshiba Libretto U100 but ran into a problem when rebooting after the install.

I accepted pretty much all the defaults during the install and it was a complete wipe of the hard drive (Linux only, no Windows partitions).  However after rebooting I got the less then friendly message:

GRUB Hard Disk Error

This seems to be down to GRUB and the U100 BIOS being unable to agree on the geometry of the disk.  Luckily LILO does work.  To fix follow these steps:

Continue reading ‘FIX: GRUB Hard Disk Error with Ubuntu Hardy Heron on Libretto U100 or U105′

HOWTO: Mount an ISO file in Ubuntu Linux

How to mount a CD ISO Image and read files in UbuntuI recently downloaded some language CD ISO files and wanted to transfer to my ipod.   Usually ISO files are designed to be burnt to CDs but if you just want to mount the image and read the files CD free there are a couple of options in Ubuntu.

Continue reading ‘HOWTO: Mount an ISO file in Ubuntu Linux’

FIX: Issue with MSN Windows Messenger and Netgear DG834G Router

I had problems with MSN Messenger disconnecting or failing to connect when using a Netgear DG834G Router.  Updating to the latest firmware on the router didn’t help but it turns out that updating to an earlier version did.

If anyone else has the same problem then try ‘upgrading’ the router firmware to version Version V3.01.25. This fixed it for me.

FIX: Synergy slow and laggy in Ubuntu 8.04 “Hardy Heron”

I just upgraded my M1330 to 8.04 and noticed that Synergy was unusable because of lag.

This happened when running quicksynergy as a normal user. However you can workaround by running the synergy client as root.

sudo synergyc xxx.xxx.xxx.xxx

HOWTO: Remove desktop mounted volume icons in Ubuntu

I got tired with having the cool desktop images that Webidler digs up for me being hidden behind a sea of icons on my desktop and had a clearup. However I couldn’t remove the icons for mounted volumes without unmounting them so dug up this command:

gconftool-2 --type boolean --set /apps/nautilus/desktop/volumes_visible false

HOWTO: Install Ruby on Rails on Ubuntu 7.10 Gutsy Gibbon

1. Enable the universe repository
sudo vi /etc/apt/sources.list
Find and uncomment the following lines
deb http://us.archive.ubuntu.com/ubuntu dapper universe main restricted universe
deb http://security.ubuntu.com/ubuntu dapper-security universe

2. Install ruby
sudo apt-get install ruby ri rdoc

3. Install rubygems
sudo apt-get install rubygems

4. Install Rails
sudo gem install rails
NOTE: If you get, as I did, an error at this point:

uninitialized constant Gem::GemRunner

then the fix is:
sudo vi /usr/bin/gem
After the line require ‘rubygems’ add the line:
require 'rubygems/gem_runner'

5. Test installation
cd
rails testapp
cd testapp
./server start

Open a browser to http://localhost:3000 and you should see the rails welcome page.

You can remove the testapp with:
cd
rm -fr testapp




Add to Technorati Favorites
Zen Handbook

Latest Posts

RSS