Friday, 18 March 2011

Installing Ubuntu On a Dell Latitude D505 Laptop (Updated)

Updates at the foot of the page

I've just aquired a Dell Latitude D505 laptop for a very good price. It's got a 1.6Ghz Pentium M CPU, 512MB of RAM, a DVD/CD combo drive, and a 30GB hard drive which had Windows XP Home installed. Naturally I wanted to put Linux on it straight away! I chose Ubuntu 10.0.4 as I mainly use the LTS releases. I plan on upgrading directly to the next LTS when released. I'm not keen on Unity or Gnome 3 so I may switch to XFCE when the time comes. It's also missing the battery at the moment and I intend to get one very soon.























Installing Ubuntu

First I tried the Ubuntu live CD and it seemed to boot but never got to the desktop, only a black screen, so I did a bit of Googling and found various solutions including this on the Ubuntu Wiki. To fix the graphics problem, just follow these instructions in "Workaround A."

In some cases, this bug causes i8xx users to boot into a blank screen on both the LiveCD/USB and a clean install or upgrade. To enable the above workaround in these situations, add "i915.modeset=1" to your kernel boot parameters.

From the LiveCD:

1) At the purple screen with a keyboard and stickfigure, press Enter to get to the menu.

2) Hit Enter to select your language, and then press F6 and then Esc.

3) Add "i915.modeset=1" after "quiet splash".

4) Press Enter to boot the LiveCD.


Now the live CD boots like normal into the desktop. The install only takes around 20 minutes but after rebooting you need to follow the second set of instructions:

1) Hold down Shift while booting to enter the GRUB menu.

2) Press 'e' to edit.

3) Add "i915.modeset=1" after "quiet splash".

4) Ctrl+x to boot.


Now we just need to permanently add these to the GRUB menu so we get working graphics every time! ina terminal enter:

sudo gedit /etc/default/grub

and edit line 10 so it reads:

GRUB_CMDLINE_LINUX="i915.modeset=1"
then save and quit gedit, then do:

sudo update-grub

..and now we have working graphics on every boot!

Ubuntu boots in a only around 30 seconds and is quite snappy though I think I need to upgrade the RAM to 1GB as it swaps quite a bit after a long Firefox session. Ubuntu also suspends properly unlike my HP nc6120 which used to until I upgraded it to 10.0.4. When i get a new battery I'll update this post to include battery life.

Update 26/03/11
Got my new battery, a little disappointed I'm only getting around an hour and a half out of it when mainly browsing the web. Apparently laptop batteries need to be fully charged and discharged a few times before they reach their full capacity.

Update 29/03/11
The only other thing that doesn't seem to work is lm-sensors does not detect any temperature sensors, though this is only a minor inconvenience since it doesn't seem to get that hot most of the time. it's certainly running cooler than my HP nc6120. The latitude is currently my favourite of my laptops. I'm also thinking of getting a secondary battery which replaces the DVD drive and gives it an extra 4 hours of battery time!

Update 30/03/11
Unfortunately I've discovered video problems when trying to play videos with Totem, VLC etc but YouTube videos work fine, I'm working through these workarounds found on the Ubuntu Wiki

Update 30/03/11 (2) Graphics Fixed!
Well I fixed the graphics problem by upgrading the kernel to one from the Mavericks Backports repository. Add the repo with:

sudo add-apt-repository ppa:kernel-ppa/ppa

then install the Maverick kernel with:

sudo aptitude install linux-image-2.6.35-25-generic

I've also upgraded the RAM to 1GB so it feels a bit snappier now and swaps memory less. Video playing is still a bit glitchy in Totem but fine now if I use Gnome Mplayer and VLC.

Update 02/05/11
Having had some weird random reboots recently I decided to see if it's hardware or software related i decided to try Fedora 14 on it. I have just installed using the Fedora LiveCD install on a spare HDD and it went very smoothly. I didn't have to mess about with GRUB to get the graphics working, however the first thing I did was disable SELinux, as it's fine for corporate desktops but too much hassle for the average user. Whether I will keep Fedora on there is another thing, i'll see how it goes, as I tend to miss little things of Ubuntu like UbuntuOne and Tomboy Notes

Update 05/06/11
I have wiped Fedora 15 out having tried that for awhile and thought I'd try out the iQunix re-mix of Ubuntu 11.0.4 and surprisingly it actually works without any modifications to GRUB.

Sunday, 13 February 2011

Hotot Love!

























I have blogged about Hotot before but I thought I'd say a bit more since it is now one of the first apps I install on Linux and my favourite Twitter app. Having become tired of Gwibber's slowness and bugs, and consuming all my available RAM, it took me awhile to find another decent Twitter app. I used Pino for awhile but needed something better. It also seems there are too many Adobe AIR Twitter apps which are too slow for slower PCs. I also tried Tweetdeck in Chrome/Chromium but I find it far too messy and confusing. Luckily Hotot came along. I now use it on Ubuntu, Fedora and Debian, and it's available as a deb or an rpm from their Google Code page. It is also available on for Windows. Bizarrely their main site just says "coming soon" for PPAs and doesn't actually have any download links! Installation instructions are also here on their Google Code page. I'm also surprised that Hotot don't seem to have a presence actually on Twitter!

Hotot uses tabs for main feeds, replys, DMs, retweeted, and search. I really like the way conversations are shown:



























What I'd like Improving:

I often find I keep losing my place as new tweets arrive, as they push the old ones down. I'd like it similar to web Twitter, where they arrive queued up. A similar thing happens on Gwibber.

Keep the input box open (Hotot autocloses it after a short time) as when it auto closes I end up losing my place again as Hotot jumps about in the timeline with it's unwanted shortcuts like 'T' which makes Hotot jump back to the top!


Conclusion

Hotot has great features, is light on resources and easy to use. I've tried dozens of other Twitter clients for Linux but I can't find one better than Hotot, but feel free to suggest any I might have missed in the comments!

Saturday, 22 January 2011

Install Hotot Twitter client in Debian Squeeze / Mint Debian Edition

I've recently installed Mint Debian Edition on my Toshiba 6100 laptop which comes with Gwibber as it's Twitter/Facebook app. I prefer Hotot since it's lighter and I'm not bothered about Facebook usage.



























Hotot isn't in the MDE or Debian Squeeze repositories it uses but you can use the Ubuntu PPA instead.


Edit /etc/apt/sources.list as root with your favourite text editor and add these lines:


deb http://ppa.launchpad.net/hotot-team/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/hotot-team/ppa/ubuntu maverick main


Then save and exit then enter this command as root (you can use sudo on Mint Debian Edition):

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 41011AE2


Then do:

sudo aptitude update && sudo aptitude install hotot


And enjoy :)

Friday, 21 January 2011

Mint Debian Edition

The root partition became corrupted yesterday on my Toshiba 6100 laptop, possibly due to a faulty hard drive, so I had to do a fresh install on a fresh drive. It was running Lubuntu 10.0.4, the lightweight desktop derivative of Ubuntu. It started out as Ubuntu but was too slow for this old beast. It has a 1.6Ghz Pentium 4 CPU (yes, it runs way too hot!), 512MB RAM and a 20GB hard drive. I then installed the Xubuntu (XFCE) desktop then settling on the Lubuntu (LXDE) desktop, but it still seemed sluggish, so I considered my options. Slackware would be very light but a lot of effort and I prefer Debian or Debian based distros as that's what I'm used to and know best. I like Debian but I find it's packages to be a little old, at least in Lenny and it's not quite as user friendly as Ubuntu. After a brief but failed install attempt with Saline OS (another Debian-based distro) I thought I'd try Mint Debian Edition which is a rolling release distro based on Debian Testing. The main advantage of being a rolling release means it never needs to be reinstalled but it means things may break occasionally.























Mint Debian Edition installs in a similar way to Ubuntu, using a live CD but with a different installer. It didn't take too long to install even on this old thing. It asks the usual questions, users, root password, partitioning etc. One interesting thing I noticed was it automatically chose a hostname based on the model of my laptop - "satallite6100-laptop" which was a nice touch. After the install finished, it prompted a reboot into the new OS. Boot time was nice and sprightly, taking around 35 seconds. A Notify message popped up informing me of wireless networks available, this uses onboard Intel wireless so it's probably why it works just fine 'out-the-box'. I then found I had 708MB / 646 packages to upgrade!






















The default desktop uses a single panel along the bottom, like Windows, with it's Mint Menu. I'm not too keen on it as although the search feature is nice it still takes far too much of my 1024x768 pixels for my liking!





















I've changed the layout to a more traditional Gnome arrangement by removing the Mint Menu and adding the Gnome 'Main Menu' from the 'add to panel' dialogue, to my new top panel. I also added the User Switcher to the top right of the top panel, it's not quite Ubuntu's MeMenu but it will do. Also for the chop is the colour scheme - black and green is just not my scene! I'm using Human-Blue icons (taken from the Ubuntu version of Mint) , Murrina-Blue controls and Bluman window border and some tasteful wallpaper.






















Just like Debian, you can only install Deb packages via the commandline until you install the Gdebi installer. I'm not sure why the Mint devs didn't include it. It is nice to see the nautilus-terminal extension already installed so that you can right click and select 'open terminal' in a folder. To manually install a downloaded Deb package on the CLI, do something like "sudo dpkg -i package-name.deb". The main user is in the sudoers list so you can use sudo to temporarily become root, just like in Ubuntu. Of course the best place to start with packages is by seeing if it's available in the repositories using either Synaptic or with it's 'Software Manager' which looks a bit like Ubuntu's Software Centre. MDE uses Debian Testing so packages are more upto date than in a standard Debian install. MDE includes the latest Firefox (once I installed updates) as well as Debian's Iceweasel.




















Standard packages include MPlayer, Gnome MPlayer and VLC, which is nice since I always install VLC anyway. MDE plays encrypted DVD movies straight off since libdvdcss is installed by default, as are all the useful codecs and Adobe flash player. It's also nice to see GIMP already installed too, since Ubuntu has removed it recently to save space. Two packages I immediately removed were F-Spot and Gwibber since I prefer Gthumb or Picasa (which is in the repositories) and Hotot, which is a much lighter Twitter client than Gwibber. By default Thunderbird and Evolution are installed.

Conclusion

Overall Mint Debian Edition offers a good compromise - it has the speed and lightness of Debian and some of the ease of use of Ubuntu and I'd recommend it for older desktops and laptops. It has up-to-date packages, has all the codecs for music and DVD playing so it's fairly easy to use out-the-box. According to their website "LMDE requires a deeper knowledge and experience with Linux, dpkg and APT" due to it being a rolling release and to "expect rough edges". The main thing I miss from Ubuntu is UbuntuOne for syncing my Tomboy notes.

Update 19/03/11

I've kind of gone off the various versions of Mint mainly due to it's use of a difficult to remove custom search for Firefox, I prefer to use Debian itself rather than LMDE. I have now installed Fedora 14 on the Toshiba 6100 to try out and I've kept it as it's pretty good distro, much more stable than when i tried Fedora 11. The only thing I don't like about Fedora is I can't seem to ssh or VNC into it on my network, I even tried disabling its firewall and SELinux to no avail.

Thursday, 13 January 2011

Snackr: An RSS Ticker

I've been looking for an RSS feed 'ticker' for Ubuntu for a long time without much luck, until I found Snackr, which is also the first Adobe Air app i've found that I haven't immediately uninstalled! Being an Air app of course means it is cross-platform too. Amongst other features, you can set scroll speed, position, opacity, and set it to sync with Google Reader.


Screenshot on my main (dual monitor) desktop:











Screenshot of Snackr's horizontal arrangement my laptop:

Friday, 17 December 2010

Dropbox has Reached Version 1.0!




















The excellent cross-platform folder syncing app Dropbox has just reached version 1.0 and has some great new features, chief among them being Selective Sync. This means that you can select which folders you want to sync on each machine, handy for devices that are limited on space or for folders you don't want to sync to your work or home computer. On Ubuntu I found out, thanks to Dropbox Support on Twitter, that Dropbox version is different to the nautilus-dropbox version. To get it to upgrade on Ubuntu, I needed to download a replacement files to replace the ".dropbox-dist" hidden folder (download the 32 bit or 64 bit version). I had to extract the package in a temporary folder then move it to /home/username/ replacing the files already there. According to Webupd8 You could also delete or move that folder and Dropbox should download the upgrade itself.

Saturday, 6 November 2010

Rockbox On My Sansa Fuze

Recently I tested my Sansa Fuze to see if it is gapless using Dark Side of The Moon by Pink Floyd. It's not only a great album but also almost all the tracks follow on from each other without any gaps. I was disappointed to hear a small but noticeable gap between tracks, so I decided to install Rockbox on it. Rockbox is an alternative firmware for many different digital audio players.
























To install it you download and install the rockbox utility for Linux, OSX or Windows. Then plug in your player, fire it up and it should auto-detect which player you have as long as it's supported. Then click 'Complete Installation' or 'Minimal Installation' if you're short on space or don't want to install everything. I chose the complete option. Rockbox comes with lots of plugins and themes, I went for the Cabbie theme.





























For the Sansa Fuze you need the bin file from the original firmware for it to modify as it dual boots the original firmware and Rockbox. Once installed it should now boot up in Rockbox. I noticed though that you need to shut the player down before plugging into the computer, for when you need to add tracks, so that it boots into the original firmware. The computer doesn't 'see' the player while it's booted into Rockbox. Once you safely remove the player (right click and select 'safely remove' in Ubuntu) shut it down then start it up again and it should boot back into Rockbox. So my Sansa Fuze is now gapless and has extra apps and themes, and can play even more codecs. I'm rather pleased.

Update
I've also found one useful feature of Rockbox is I can now log all my played tracks with Last.fm using a choice of different scrobblers, at the moment I'm using dap-scrob.

Update 2 - Hidden tracks

I noticed every now and then some tracks I didn't recognise and discovered Sansa had already put some tracks preinstalled on the player. These have been added using MTP mode and you can see them in Rockbox in Files --> ##MUSIC#. I found the only way to delete them is to set the original firmware into MTP mode then open up Rhythmbox or similar player that can use MTP and order the tracks by date added. The tracks I dragged 'n' dropped had no time but the pre-installed ones do, hence easier to track down and delete.