The Crane Has Landed


Get GCalDaemon running at startup
May 21, 2009, 8:56 pm
Filed under: Ubuntu

To get the GCALDaemon up and running at startup in Ubuntu, check out http://ubuntuforums.org/showpost.php?p=4473753&postcount=5



CIFS unmount error
May 19, 2009, 8:43 pm
Filed under: Ubuntu

Still trying to find the solution to the damn CIFS error whenever you reboot or shutdown Ubuntu, which is all to do with shutting down the network before trying to unmount the shares. Have been told that the following works:

sudo ln -s /etc/init.d/umountnfs.sh /etc/rc0.d/K15umountnfs.sh
&& sudo ln -s /etc/init.d/umountnfs.sh /etc/rc6.d/K15umountnfs.sh

Will have to wait and see.



VGA modes in boot settings
May 17, 2009, 8:33 pm
Filed under: Ubuntu

You can append the following after vga= on a distro line in /boot/grub/menu.lst to change the font size of the CLI console:

640×480 800×600 1024×768 1280×1024 1600×1200
256 (8 bit) 769 771 773 775 796
32,768 (15 bit) 784 787 790 793 797
65,536 (16 bit) 785 788 791 794 798
16.8M (24 bit) 786 789 792 795 799


How to disable PC speaker in Ubuntu
May 2, 2009, 5:31 pm
Filed under: Ubuntu

In my upgrading of my laptop to the new Ubuntu Jaunty, I’ve found the PC speaker very, very loud. 

Not to worry.  To shut it up, type modprobe -r pcspkr. And, to make that permanent, add the line /sbin/modprobe -r pcspkr to /etc/rc.local.



Creating a favico in Gimp
April 9, 2009, 3:18 pm
Filed under: Photography & Graphics


Check multiple browsers
April 9, 2009, 2:24 pm
Filed under: Development, Tools

As one who does web development from time to time, Xenocode’s website is an absolute gem of a find! The site allows you to virtualise and access all the major web browsers to check your code – for free! Brilliant! :)



Generating a self signed SSL certificate
April 9, 2009, 10:39 am
Filed under: Photography & Graphics, Ubuntu

Instructions here, but basically, install ssl-cert and then use the command:

sudo make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/ssl/certs/selfsigned.pem

There’s more information at this great site on how to create self-signed certificates and then set up Apache to support them.



Source control in Ubuntu
April 9, 2009, 10:27 am
Filed under: Development, Ubuntu

Enough stuffing around with manually managing versions.  I’m looking into SVN and have found this article talking about how to set up Subversion on Ubuntu.  Also going to play with integrating TortoiseSVN into Visual Studio as per this story on CodeProject.  Will let you know how I get on.



Single update server
March 8, 2009, 11:02 am
Filed under: Tips, Ubuntu

I’m still working through the kinks on this one, but this post on Ubuntu forums seems to give good instructions for setting up one of the servers in my house as the only one to download update packages for apt, while the others point to it (saving me bandwidth costs).

I’ll post more as I figure it out, but this line is key for the other machines:

echo 'Acquire::http::Proxy "http://hostname:3142";' | sudo tee /etc/apt/apt.conf.d/01proxy



Paste as EMF
February 28, 2009, 2:34 pm
Filed under: Photography & Graphics, Tips

Seems like a silly little thing, but I do a lot of copying and pasting from Visio and other graphical apps into Word and other Office apps.  So, I’ve started to write some macros to speed this up.  Here’s the one for PowerPoint:


Sub PasteEMF()
    ActivePresentation.Slides(ActiveWindow.Selection.SlideRange.SlideIndex).Shapes.PasteSpecial (ppPasteEnhancedMetafile)
End Sub