Tuesday, 6 October 2009

Powered by Ubuntu

My "Powered by Ubuntu" stickers arrived today!

A few weeks back, I sent off for them from the System76 website. You can download them from the Free Software Stickers book and print them yourself, but of course you need the right self-adhesive paper and reasonable printer, so it's easier to get these guys to do it for you for free! They are ideal for replacing those Designed for Windows stickers most PCs/laptops come with. I have put the first sticker on my home-built desktop machine.

Photos:













Friday, 2 October 2009

How Dropbox Works (video)

I find Dropbox very useful for syncing config files, wallpapers and sharing files with friends. You get 2GB of free storage and can get more through referals. I've found I don't use my memory sticks as much for smaller files. I like that it's cross-platform (Linux/Mac/Windows). There are other similar programs like Syncplicity (Windows only) and Foldershare (Windows/Mac, now owned by Microsoft) that aren't completely cross-platform. For Linux, there's also Ubuntu One which I have yet to try, but it is limited to Ubuntu 9.0.4 and above at the moment only. Anyway this video explains how Dropbox works in a nice simple way, ideal for encouraging friends to join up. :D




Update: Having tried Ubuntu One, it's similar to Dropbox, though it would be nice if it had similar icons to show what files are updating etc, and a distinctive Ubuntu One folder icon. Although you can of course add your own emblems (Edit --> Backgrounds and Emblems in Nautilus) I'll let you know how I get on with it, when I've tested it thoroughly. Also of course it would be great if it was not restricted to Ubuntu, though you can upload/download files through the web interface, but it is not as intuitive as Dropbox's.

Update 2: I've been tryomg out Ubuntu One a bit more, it's ok when it works but at the moment all i get is an icon with an ominous 'X' on it, sometimes it works sometimes it doesn't, maybe it will improve for upcoming Karmic koala, which is not long now.

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 :)