Saturday, 19 September 2009

Debian Lenny on a Compaq N400C

Distro Problems and Decisions

I've been using my Compaq N400C for a while with Ubuntu 8.0.4 and it ran OK, up until just recently. Ever since a recent update, it kept running ok for a while then freezing up, two LEDs would flash and that would be it. I'd have to hold the power button down to force shutdown. I even tried to reinstall with Ubuntu 8.0.4 and 9.0.4, but got a kernel panic during install. I checked RAM and replaced the hard drive (swapped the original 20GB for a 30GB), but still received the same problem. To install anything on this laptop really requires the docking station that has the CD drive (and two extra HDD bays too) that I don't have. I use the minimal install discs with a USB DVD writer, as I never had any luck with a full OS disc, i'd always get errors. So then I thought about a different distro. I didn't fancy having to get used to an RPM based distro again, like Mandriva or Fedora (which I have had bad experiences with) or even Suse which I'd never consider now they are sleeping with Microsoft, besides I'm not keen on YAST. Nope, it'd have to be Debian based or indeed be Debian - so, onto the install:


Installation and Configuration

I used the smallest of the minimal install discs, the business card ISO, and installed it from my Plextor USB/Firewire DVD writer using USB. I chose to just install the commandline only install at first so I could check it booted ok afterwards. All was fine so far, so I rebooted. removed the DVD drive, then installed the Gnome desktop with "aptitude install gnome" as root. I also installed ssh and deluge-torrent, then I rebooted again to be greated by the nice Debian GDM screen. I did notice all the sound mixer faders were all muted for some reason, and discovered the ESS Allegro/Maestro3 soundcard wasn't found. I Googled around and found this post on the the Debian User Forum. What solved it for me I think was installing the firmware (untar then compile it with "./configure", "make" then "make install") then running, as root in the terminal: "rmmod snd_maestro3" and then "modprobe snd_maestro3" and after a reboot it was fine upon unmuting the mixers. Now the volume buttons on the front of the laptop do actually work the master volume.


Making Debian More Palatable For The Desktop

The first thing I needed to do was get my Edimax EW-7108PCg PCMCIA wireless card working, as I used Ethernet during install. For the wireless I needed the Ralink firmware which you can download here or directly from here. Annoyingly, double-clicking a Deb package opens it with 'Archive Manager' and even when I open it with GDebi Package Manager it doesn't work, just crapping out after opening. So to install Deb packages I have to resort to "dpk -i nameofpackage.deb" in a terminal. Upon reboot, my wireless worked, and I connected to my WPA encrypted network.

Next up I just had to replace Iceweasel, which has to be the worse software name ever, with a proper version of Firefox. I did consider installing Firefox manually using the tar.gz package but it's not exactly conveniant, so I installed Swiftfox instead. Swiftfox is an optimised version of Firefox, with versions for Intel and AMD 32bit and 64bit. At the moment it is based on Firefox 3.5.2.1 which is almost the latest version. I then installed Pidgin messenger from the Debian repository and the Facebook plugin.

For playing all the required codecs I added the Debian Multimedia repository by adding "deb http://www.debian-multimedia.org stable main" to the software sources. I've installed w32codecs, flash-player-mozilla and libdvdcss for now. I also transfered my Swiftfox settings from my other laptop by copying the .mozilla folder (in /home/username/). Since I use Dropbox for syncing files I installed that too. This required adding the Dropbox Ubuntu Gutsy repository, as a Debian one isn't provided.

This was a slightly unorthodox install compared to a standard install due to the hardware involved, and is a little bit more fuss than an Ubuntu install, but I'm fairly happy with it, it's a solid stable distro, and feels a bit lighter than Ubuntu which is handy on an 850Mhz laptop with 256MB of RAM!

Update: Swiftfox has now been updated to the latest version, 3.5.3.
Update 2: Found a nice short tutorial on installing the latest Adobe Flash plugin in Debian.
Update 3 14/02/10: I have since gone back to Ubuntu 8.0.4, since various updates seem to have solved the problems I was having.
Update 4 (02/06/10): The hard drive out of this is now in my Toughbook CF-27 and this now has a 40GB drive with Lubuntu 10.0.4 LTS which is running fine, using Chrome for browsing and it also boots extremely quickly.

Tuesday, 15 September 2009

Sometimes you do get what you wish for...


I used to be a KDE man through and through, until i had some serious stability issues in Kubuntu, and then of course there is KDE 4.x but I'll leave that for now. One of the main reasons I stuck with KDE for a long time was Konqueror. It's such a versatile file manager (and web browser) with it's little Kioslaves and it's split pane file mode. When I switched to Gnome on Ubuntu (Hardy/8.0.4 at the time) I still occasionally used konqueror for that very feature, until now.

Anyway, I have just discovered you can now get dual-pane mode in nautilus! It's essentially a beta version of Nautilus which you install via a PPA (software repository), it is only available for Ubuntu 9.0.4 at the moment. There is an article on how to install it here. I havn't encountered any problems with it so far, and i like the way it removes the background of the pane you are not using, you press F3 to go dual-pane, it works really well.

Wednesday, 26 August 2009

Firefox Spotted On Electronic Billboard


On a recent trip to Stamford, I spotted this electronic billboard in the entrance of Newark (Nottinghamshire) station. On closer inspection I noticed it was actually using Firefox (instead of IE, for once) unable to find the URL for it's advert. I reckon they used Firefox because of it's fullscreen mode is better than IE's, in that it actually auto-hides the main toolbars at the top, so all you see is the page itself, plus maybe because it's also more secure and standards compliant. You can tell by the 'Try Again' button that it is running on Windows, which always seems to be a bit of a waste of resources to me, using a full blown desktop OS for an application more suited to a slim Linux installation.

Wednesday, 29 July 2009

Facebook Chat for Pidgin


Update:

Facebook have added Jabber/XMPP support to their Facebook Chat protocol so now we don't need any plugins for Facebook in Pidgin/Adium/Empathy! Find out how to add a Fb account here. This renders the following tutorial obsolete!


I like Facebook quite a bit, it means I can keep in touch with my brother in Japan and see what all my friends have been upto, wherever they might be. The one thing that annoys me though is Facebook Chat. It hardly seems to work most of the time and you have to have the web browser open, meaning you need to keep flicking between tabs to hold a conversation and do whatever you are doing in other tabs. You can put Chat in it's own window, but that doesn't solve the other problems. I kept wondering why they didn't just make it available in other messaging programs.

Thankfully, when reading an article on messaging programs I discovered a Pidgin plugin for Facebook. And it's great! It allows you to add Facebook as just like another messaging protocol like MSN or Yahoo! It features options to show Facebook updates as email alerts, edit Friends from within Pidgin and set your Facebook status with your Pidgin status (I'm not sure you would want 'I'm not here right now' as your Facebook status, but there you go).

Of course Pidgin is cross-platform, running on Windows and Linux, and theres a portable Windows version for USB stick. If you have a Mac, you can use Adium, which is based on Pidgin and has the Facebook plugin already installed.

On Ubuntu 8.0.4 you need to install libjson-glib - download it here - before you install the Deb package. On Ubuntu 9.0.4 libjson-glib is in the it's repositories so no need to manually download/install it. If Pidgin is already open restart it, then got to Accounts --> Manage --> Add and it lists facebook alongside the other protocols. So I'm pleased I now no longer have to have Firefox open on the Facebook page to chat to friends on Facebook :)


Friday, 17 July 2009

Penumbra

I've followed the blog of Helios for some time, using RSS feed, and it's always well worth visiting! Today more so, as he's blogged about a new game available for Linux. It would be great if more publishers made games available for Linux. It is actually three games created by Thomas Grip and Jens Nilsson called Penumbra.

Sunday, 12 July 2009

Firefox 3.5 on Ubuntu 9.0.4 64 Bit


Having looked forward to Firefox 3.5 for awhile I looked forward to it popping up in the Ubuntu repositories, yet it still hasn't appeared in them. Fear not though a quick Google search reveals its easy when you know how, to install the latest version. Great, so I installed it, but then found Flash wasn't working any more. As I'm using the 64 bit version of Ubuntu, I'm used to slight incompatibilities occasionally. Again a quick search on my favourite search engine and I found a solution here. I was also worried my favourite extensions wouldn't work, yet i had no trouble after a few updates. The only plugin that I found to be incompatible was Novell Moonlight, which I hardly use, and will most likely be updated soon. I've found Firefox 3.5 to be impressively fast, even running at a reasonable speed on my old 400Mhz PowerMac G4. I've not explored everything yet, but I am impressed by the new restore feature that allows you to choose which tabs to restore in case one of them crashed the browser, which is a nifty feature and one that I've always wanted.


My Favourite Firefox Extensions:

Adblock Plus - absolutely essential!
Caught Up - allows you to play ITV Play in Firefox on Linux!
Delicious bookmarks - bookmark sharing plugin
Downloadhelper - for easy download of YouTube videos
Download Statusbar - shows downloads on Firefox's status bar
External IP - shows your IP address for your net connection
Fierr - replaces the default error page with a more stylish alternative.
Flashblock - Replaces flash objects with a button so you can selectively play them, ideal on Flash-heavy pages, like the hideous Myspace!
PDF Download - Allows you to choose whether you want to view or download PDF files.
ReloadEvery - reloads web pages every so many secons or minuites.
StumbleUpon - browse through random pages for when you're bored
TabScope - preview and navigate tab contents
VideoSurf - shows stills of videos of sites like youtube, and choose where you want to view the video from.
Xmarks - sync bookmarks between browsers on all your PCs and Macs - usually the second plugin i install after Adblockplus!

Update
It seems my Java plugin is broken :( ah well probably just use Opera for java stuff.

Update 2
I can attest to Firefox 3.5's stability, I've had 30 or more tabs in Firefox on Ubuntu with no problems and no noticable slowdown.

Update 3
I have now switched to Swiftfox 3.5.2 which has optimised builds for different CPUs and also has a PPA for Deb packages. It's setup to be faster than a normal build of Firefox.

Update 4!
Found an even better tutorial on getting 3.5.3 on Ubuntu here