Published by daryl September 1st, 2009
in Ubuntu.
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!
Published by daryl September 1st, 2009
in Linux and Ubuntu.
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’
Published by daryl July 28th, 2009
in Linux.
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
Published by daryl April 14th, 2009
in Uncategorized.
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
Published by daryl April 14th, 2009
in Linux, Ubuntu and Libretto U100.
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.’
Published by daryl March 2nd, 2009
in Linux and 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’
Published by daryl March 2nd, 2009
in Linux and 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.
Published by daryl September 23rd, 2008
in Linux, Ubuntu and 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.
Published by daryl September 22nd, 2008
in Libretto U100.
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.
Published by daryl September 21st, 2008
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’
Published by daryl September 20th, 2008
in Linux, Ubuntu and irc.
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’
Published by daryl September 16th, 2008
in Linux and Ubuntu.
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’
Published by daryl September 11th, 2008
in Ubuntu and dolphin.
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’
Published by daryl August 21st, 2008
in Linux and Ubuntu.
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’
Published by daryl August 12th, 2008
in Linux, Ubuntu and Libretto U100.
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′
Published by daryl August 10th, 2008
in Linux and Ubuntu.
I 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’
Published by daryl May 25th, 2008
in Uncategorized.
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.
Published by daryl May 8th, 2008
in Linux and Ubuntu.
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
Published by daryl March 30th, 2008
in Linux and 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
Published by daryl March 15th, 2008
in Linux, Ruby, Rails, Ubuntu and hetzner.de.
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