Hi! I'm Linux!

imlinux.jpg

Apple advertisments become cliches within a short space of time which is a testament to how good they are, or perhaps how often the fanboys go on about them in online forums…

Unfortunately Linux is still regarded as being a geeky system only and spoofs of the current Apple advert feature a guy dressed in a Tron costume look ridiculous and certainly won’t help. This advert from Novell may help change that. If it doesn’t, well it might pique the interest of some guys who will try Linux and like it. Even though the advert is sponsored by Novell, I recommend you try Ubuntu Linux. You can download and try it without installing and it’s super easy to use!

Read all about it on Reverend Ted’s site and download the first advert.

All in all, it’s a balance that we hope to have struck right: representing Linux as sexy and confident, while avoiding sexual cliches that are degrading to women. While there may be some flaws in our execution (particularly how the third video throws out the people as computers metaphor altogether), overall I really hope that we managed to create a playful spoof that effectively subverts the “Mac vs Windows” framework that Apple has established with the “Get a Mac” campaign.

Ted updated his post with the second and third videos. I’ve included them here for your blogging pleasure.
Continue reading “Hi! I'm Linux!”

That mouse presses all the right buttons

Having just installed Ubuntu Edgy on a squeaky clean partition I’m still migrating some of my settings and programmes from my last Ubuntu install. Why did I reinstall when an upgrade from Dapper already went well? Unfortunately in the course of configuring my Wacom graphics tablet I broke my sound and for the life of me I could not remember how to fix it. That and I was running out of space and there was a nice 28GB NTFS partition doing nothing but taking up space..

Your mouse is probably luckier than some but if some of the buttons on it don’t work then look for the following line in /etc/X11/xorg.conf:
Option "Protocol" "ExplorerPS/2"
and change it to this:
Option "Protocol" "ImPS/2"

I hate middle mouse button clicking on a scroll wheel and this Microsoft mouse is worse than others. The side button works much better for me! Finally, I can press the right button again! 🙂

Oh and good luck if you have a widescreen monitor. My Dell 2405 LCD barfed every time I tried the graphical install. I had to look for the “alternate” cd and do a text install, and then install the proprietary Nvidia drivers and add a suitable modeline to /etc/X11/xorg.conf. I haven’t done that since I don’t know how long ago. Definitely in the last century.

Death and Divorce Unix style

When you break up with your significant other you go through the motions of living your life, but in a daze. At some stage you need to let go and move on, no matter how hard it is. (from xkcd)

userdel

PS. Congrats Elly on the move to WordPress! A pity this cartoon wasn’t published before your talk at BarCamp!

PPS. But seriously, a friend just broke up with his girlfriend of over 4 years. She was cheating on him, I hope he listens to how to dump a cheating girlfriend!

Cannot load mysql extension. Please check your PHP configuration.

A friend recently had a problem configuring a new server. He installed PHP, Apache, MySQL and phpMyAdmin but when he launched it he got the following error:

phpMyAdmin – Error
Cannot load mysql extension. Please check your PHP configuration.

If you’ve installed all of the above more than once you’ll know what is more than likely wrong. The MySQL PHP module isn’t loaded. First of all, you must find your php.ini. It could be anywhere but if you create a small php file with the phpinfo(); command it will tell you where it is. Common places include /etc/apache/, /etc/php4/apache2/php.ini, /etc/php5/apache2/php.ini or even /usr/local/lib/php.ini

Edit your server’s php.ini and look for the following line. Remove the ‘;’ from the start of the line and restart Apache. Things should work fine now!

;extension=mysql.so

should become

extension=mysql.so

Linux Ubuntu Dapper to Edgy – no problem

I upgraded my Ubuntu 6.06 install to the new Edgy soon after it’s release using the simple command gksu "update-manager -c". Several hours later, and after clicking on a few dialog boxes to update files in /etc/, I’m not running Ubuntu Edgy on my desktop box.

Initially I wondered where Firefox 2.0 was hiding, but on my upgraded system it’s /usb/bin/firefox.ubuntu so it’ll live alongside version 1.5. I also noticed that when saving files in the GIMP the filename would disappear when I clicked on a new folder in the “bookmark” folder of the Gnome file dialog. Once I noticed, ctrl-c to record the filename and ctrl-v to paste it in again worked fine. I rename my files when saving so it’s not much of a hardship.

My machine seems slightly faster but I haven’t delved too deeply into what has been upgraded but Firefox, xchat, terminal, GIMP and Gthumb all work fine! Did your upgrade go as well?

GNUCash 2.0 on Ubuntu Dapper

It’s that time of the month again when I have to do a VAT return, so my attention is drawn towards accounting software for Linux. Having just got the latest and greatest version of GNUCash installed on Ubuntu I’d like to share how I did it:

  1. Open http://www.yourfilelink.com/get.php?fid=151771 and http://www.yourfilelink.com/get.php?fid=151772 and download gnucash-common_2.0.1-1_all.deb and gnucash_2.0.1-1_i386.deb from there. (via)
  2. Install the .deb files using the following command: sudo dpkg -i gnucash-common_2.0.1-1_all.deb gnucash_2.0.1-1_i386.deb
  3. You may get an error like this:

    dpkg: dependency problems prevent configuration of gnucash:
    gnucash depends on g-wrap; however:
    Package g-wrap is not installed.
    dpkg: error processing gnucash (–install):
    dependency problems – leaving unconfigured
    Errors were encountered while processing:
    gnucash

    If you do, run the command sudo apt-get -f install which will download g-wrap guile-1.6-dev guile-library libffi4-dev libgwrap-runtime0-dev libncurses5-dev libreadline5-dev and any other dependencies.

  4. Finally, you’ll be greeted with the following message:

    Setting up libgwrap-runtime0-dev (1.9.6-3) …
    Setting up g-wrap (1.9.6-3) …
    Setting up gnucash (2.0.1-1) …

Happy budgeting and accounting!

While on the subject of VAT, since Google is a US company, Europeans don’t have to pay VAT on our Adsense earnings, yet. This article by Jennifer Slegg suggests that some EU countries may decide to charge VAT on online earnings. That’s a little crazy because Google doesn’t add VAT to the invoices of European publishers. If something like that happened in Ireland I’d be out of pocket by an extra 21% plus the normal 42% tax I pay on earnings at the top level. Ouch. (via)

More Linux eye candy: CGWD Themes

If you’ve seen my desktop machine at home you’ll realise I’m a big fan of the Xgl and compiz stuff and now thanks to a Linux Journal article I’ve discovered the CGWD Themer.

Installing it in Ubuntu is as easy as adding a new site to your apt-get repository list and firing up apt-get in the usual way and grabbing the binaries from their repository. Then either launch it from the command line using the command “gcompizthemer” or go to System->Preferences where a new menu item called “CGWD Themer” can be found. The themer does nice things to the borders of and bars of your windows. I love the glow of the min/max/close buttons that spills over the side of the window!
Oh, and just because I bought a Mac laptop doesn’t mean I’m abandoning Linux. I fell in love with my Gnome+Xgl desktop once again when I came home from San Francisco!

Later – two articles features on digg and delicious which might be of interest:

  1. An Overview of modern fancy Unix desktops – good summary of the competing technologies that make the 3d and special visual effects possible
  2. The Linux Desktop Myth – a long essay on one man’s experience with switching to Linux and GPLed software.
  3. Suse Compiz page – has lots more info and lists all the options and configurable bits! (via)

Reboot me when I panic!

The VPS this site is hosted on has a tendancy to kernel panic since I upgraded the kernel to 2.6. I'm not sure why, and the ticket I opened requesting help was replied by someone saying I should check the console. Fat lot of good that did me when this site was down for a few hours.

Help is at hand however in the shape of Mark Ferlatte who mentioned that adding the following to /etc/sysctl.conf and running sysctl -p will make Linux reboot after 5 seconds! Adjust to taste:

kernel.panic = 5

Hopefully we'll have less downtime here.