Friday, 7 December 2012

Cursor Jumping Problems

A problem I've been having whilst typing documents was the cursor was jumping all over the place. I'd be typing a paragraph and the cursor would appear in the middle of another line and my typing would appear in that point. Very annoying.

I finally realised what was happening. Xubuntu is installed on a Laptop and my fingers were brushing the touchpad thus moving the cursor. I've not had this when using Windows so don;t know why it happened in Xubuntu.

Fortunately I have found a solution by disabling the touch pad whilst typing. Here's how to do it:

In the menu select Settings > Setting manager. Select Mouse and Touchpad category.

Then select the Touchpad tab. then check Disable Touchpad when typing

Wednesday, 5 December 2012

Document Viewer will not open external links

A problem I recently came across whilst viewing a subscribed PDF magazine in the bundled document viewer was that I couldn't open external links getting the following error message:

Unable to open external linkFailed to execute child process "exo-open" (Permission denied)

The solution is to open a Terminal window and type the following:

sudo ln -s /etc/apparmor.d/usr.bin.evince /etc/apparmor.d/disable/usr.bin.evince

sudo service apparmor restart

Now all external links open fine in default browser.

Thursday, 4 October 2012

Sound Distortion

I recently came across a problem with listening to music on the headphones for the new Muse 2nd Law album that I had downloaded.

No matter what setting I altered the sound volume to on the laptop via shortcut Keys (Fn + up and down arrow keys) the sound was completely distorted as if listening through 1950's speaker.

On further investigation I found it was to do with the default audio settings which had been set to 150% and this is how I fixed it.

  • Set the volume to maximum for the music I was playing via the laptop keyboard keys.
  • In the top task bar left click the audio icon and select Sound Settings
  • Reduce the volume to 100% (as below)

From now on the maximum volume that can be chosen is 100% and this prevents the distortion

Monday, 1 October 2012

Music Player

Xubuntu comes with gmusicbrowser pre-installed. I don't know if i was doing anything wrong but when I tried to add an album folder to it only the first track would load. I've persevered for several weeks now but I finally sought out a replacement.

After a bit of research I found one called Guayadeque.

Its very simple to use, adding folders everytime I use it first time. it plays mp3, off, flac, wma, wav, ape,  mp4 and mpc.

It also writes and edits tags; integrates with, has smart play which watches the music you play and suggests similar taste from its playlists; can play and record radio broadcasts.

The cleverest thing is whatever track you play it will search out the lyrics and display them very clever.

Tuesday, 28 August 2012

Office Software

As Xubuntu 12.04 is a lightweight OS it comes pre-installed with Abiword. This is a good little word processor and is handy for writing simple documents.

For several years I have been using Libreoffice and its predecessor OpenOffice. The majority of files for my wargames hobby are written in Open office Format. When I opened some of my old documents in Abiword they did not format correctly. I also get sent 2 or 3 Newsletters in MS Office, again they did not format in a legible form in Abiword.

I have therefore had to install LibreOffice Writer to read these documents.

So far the pre-installed spreadsheet software Gnumeric is opening my spreadsheet fine so far, but I don't use complicated Macros in my spreadsheets.

Monday, 27 August 2012

Black Screen of Death - Cure

Further  to my previous post about the black screen of death in Xubuntu on my laptop this was how I installed the nomodeset to the grub2 menu. You require Gedit to be installed on your system.

To permenantely change the boot options open Terminal from system > accessories and type in the following command:

gksudo gedit /etc/default/grub

This will open the grub configuration file

GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

Alter this as follows:

GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

In terminal type the following command to update the grub configuration:

sudo update-grub

In my other installation (with Windows Vista on) Grub did not pick up the Windows partition to add to the Grub so I had to do this manually. This is how I did it.

Type the following into terminal:

gksudo gedit /etc/grub.d/40_custom

and add the following lines to the bottom of the file:

menuentry 'Windows Vista' {
set root=’(hd0,msdos2)’
chainloader +1

Since the location of the Windows installation can differ widely, I need to explain the “set root” line because (hd0,msdos2) refers to /dev/sda2 on my machine. More generally, hd0 (or /dev/sda elsewhere) refers to the first hard disk installed in any PC with hd1 (or /dev/sdb elsewhere) being the second and so on. The next line (chainloader) tells GRUB to load the first sector of the Windows drive so that it can boot. After all that decoding, my final comment on what’s above is a simple one: the text “Windows Vista″ is what will appear in the GRUB menu so you can change this as you see fit.

After saving 40_custom, the next step is to issue the following command to update grub.cfg:

sudo update-grub

You can then check  /boot/grub/grub.cfg to check that the text added into 40_custom has found its way into there. That is important because this is the file read by GRUB2 when it builds the menu that appears at start-up time. A system reboot will show that the new entry has been added successfully. Then check to see if Windows loads properly.

Sunday, 26 August 2012


Okay so how did the installation go.

I booted up the Laptop with the Xubuntu CD in the drive. As this is an older laptop the first time I tried to boot I had a black screen. I was aware of this issue so I rebooted and by using the options I chose to boot with nomodeset. This allowed me to boot correctly with a screen I could view. This allowed the laptop to boot to the live CD screen.

On the Xubuntu desktop is an "Install Xubuntu". The wizard then starts which asks a couple of questions:

Time Zone

You then have to select whether to format your entire drive to place Xubuntu as the sole Operating System or to install alongside Windows 7. I opted for the second choice. The wizard suggests the partition size I wanted which I could alter by using a slider.

Once this was completed the only other decision I had to make was my superuser name and password. 20 minutes later Xubuntu was installed the machine rebooted. I was greeted with the Grub boot menu allowing me to boot in either Linux or Windows. Once again when I tried to boot in Xubuntu I had the black screen of death so I had to reboot and edit the grub choice adding nomodeset after the "quick splash" in the menu.

This allowed the correct booting. In the next post I will explain how to permanently add the nomodeset option to the Grub menu permanently without having to manually write it in each time.

So what is the difference in boot times compared to Windows 7:

Windows 7: 2 mins 30 seconds from selection of the menu to all software started (dropbox, anti viruses etc)

Xubuntu 12.04 : 30 seconds.

What is Xubuntu

Xubuntu is a community based derivative of the Ubuntu Operating System. From their website:

Xubuntu is an elegant and easy-to-use operating system. Xubuntu comes with Xfce, which is a stable, light and configurable desktop environment.
Xubuntu is perfect for those who want the most out of their desktops, laptops and netbooks with a modern look and enough features for efficient, daily usage. It works well on older hardware too.

After installing Zorin OS on my old  Fujitsu-Siemens old laptop which has transformed it from a Sluggish machine with Vista on it to a fast laptop again I decided to install a Linux OS on my Acer Aspire which currently has Windows 7.

I researched the Linux OS available having previous experience with Mint Linux a few years ago. I wanted a lightweight OS, that was easily to install and was fun to use.

I narrowed the choices to:

  • Puppy Linux - easy to use from a USB pen and great as a backup but I felt it was not good enough for a fully functional desktop OS.
  • Ubuntu - too large an install for a lightweight OS
  • Mint Linux - again too large an install for what I had in mind
  • Lubuntu - fits the bill and what Zorin OS is based on and a derivative of Ubuntu
  • Zorin OS - installed on my Fujitsu Siemens laptop so I wanted a different OS on the other
  • Xubuntu - similar to Lubuntu but used the Xfce interface. More importantly it has 18 months support under the LTS (Long Term Support).
So Xubuntu was decided as my choice and the ISO was downloaded from the website and burnt to a CD. Next post the installation process.