At this stage I am assuming that you already have Sun VirtualBox installed and that you have gone through the process of installing a new virtual machine and installed Linux Mint 8 as a virtual machine.  It’s at this stage once you have started Linux Mint that you’ll be greeted with a low resolution screen, when you go to the display options you’ll find that you only get options to choose 800×600 or 640×400 which let’s face it, is not very helpful with modern screens.  Personally, I am running a 1920×1200 resolution so found the default resolutions almost unworkable.

Fortunately, there is a simple way to overcome this; all you need to do is follow the following steps:

  • Start your virtual box and log into Linux Mint in the normal way
  • Hit the right ctrl key so that you can get you mouse pointer outside of the virtual box as you’ll now need to work with the host machine
  • Go to the top of the virtual window, click on Devices and then select Install Guest Additions.  You’ll now see the virtual CDROM installed within Linux Mint and a new icon will appear on the desktop
  • Click back inside the virtual box again and go to Menu and then Terminal
  • Type cd /media/cdrom0 and then hit enter
  • Type sudo sh ./VBoxLinuxAdditions-x86.run and then hit enter.
  • You now need to reboot your virtual machine
  • Log back into Linux Mint and go to Menu, Control Centre then Display.  You should now have more options than the original low resolution options you had.

Depending on your specific hardware, you may still find that you’d like a different combination or higher resolution than the new ones which are listed; again, there is a solution:

  • Open Terminal again by going to Menu and then Terminal
  • Type sudo gedit /etc/X11/xorg.conf and then hit enter.  You will be asked for your password, type this and hit enter again
  • The text editor will now load, before changing anything make a backup by going to the file menu and choose save as, changing the file name to xorgbak.conf
  • Now to make the changes.  Unlike previous versions you will not see a long list of configuration options, 9.10 creates these settings dynamically.  However you can still add specific combinations so add your desired settings here (Caveat: Working with xorg.conf is a topic in itself so do not add code here unless you are sure what you are doing, you WILL break the installation and either have to fix it from the command line or reinstall the virtual machine), this will vary depending on your hardware and the resolution you are trying to achieve, I added the following lines of code for my hardware:
    Section “screen”
    Identifier “screen0”
    Device “Videocard0”
    DefaultDepth 24
    Subsection “Display”
    Viewport 0 0
    Depth 24
    Modes “1920x1200” “1680x1050” “1280x1024” “1024x768”
    EndSubSection
    EndSection
  • You must now do a save as but ensure you change the filename back to the original xorg.conf otherwise you will overwrite the backup you have just created.
  • Restart the virtual box and you should now have the new screen resolutions available.

Enjoy.

Linux Mint 8 Enabling DVD Playback…   February 11th, 2010

Linux Mint 8 has available either ‘out of the box’ or from the repository, almost any software you could possibly imagine.  Just as with Ubuntu however there is one glaring omission (although we will let the development guys off as no doubt this is owing to legalities of licensing), and that is the ability to natively play a standard DVD.  This needn’t be a huge problem however as unlike when using a Microsoft OS, you do not need to purchase a codec to enable this feature, it just needs a few lines of code to be entered to acquire the needed codecs.

To play a DVD on Linux Mint, you will need to install libdvdcss2.  In Linux Mint 8 just as with previous versions and Ubuntu, there is no need to manually configure the repository, all you need do is the following:

  • Open a Terminal Window (Menu > Terminal) and type the following:
    sudo apt-get install libdvdread4
  • Next type the following:
    sudo /usr/share/doc/libdvdread4/install-css.sh

Once you have done that, next time you insert a DVD you should get the option to auto run with MPlayer Media Player.  Enjoy.

*Note:  The above proceedure is also the same to enable DVD playback in Ubuntu 9.10, although Terminal can be found in by clicking Menu > Applications > Accessories > Terminal*

Linux Mint 8 Installing Adobe AIR…   February 10th, 2010

After a previous post where I outlined how to install Adobe AIR in Ubuntu 9.10 I thought I would write another post with instructions for installing in Linux Mint 8 as I also use this distribution on my development machine.  The differences are subtle but nevertheless they are slightly different.

Installing Adobe AIR on Linux Mint is again quite easy (certainly no more difficult than installing in Ubuntu), although it is not available in the repository so you’ll need to  follow these instructions:

  • Download Adobe AIR by clicking this link, ensure that you save the installer to your desktop for the following steps
  • Once the download has completed, you need to open your Terminal (select Menu > Terminal).  Type the following command to switch to your desktop where you have just downloaded the AIR installer (making sure to take note of capitalisation):
    cd ~/Desktop
    We now need to make the file executable.  To do this type the following command:
    chmod +x AdobeAIRInstaller.bin
    Finally you need to run the installer itself, as you are already in Terminal simply type the following command:
    ./AdobeAIRInstaller.bin

Running the installer from within Terminal

  • The Adobe AIR installer will now launch, obviously click to agree the T&Cs and then sit back, the installer doesn’t take long.

Accept the T&Cs by clicking 'I Agree'

Sit back and wait for the installer to finish

Done!


That’s it; simple.  You can then install any Adobe AIR application directly from the web, in this case I have chosen to install TweetDeck to test everything works.

Installing TweetDeck from within Firefox


I hope this is useful.

Mondeo Mk3 Dropped Bumper…   February 10th, 2010

A common problem with mk3 Mondeo’s appears to be the tendency for the front bumper to drop.  Now if you are like me and this has happened to you, no doubt you’ll find this incredibly annoying.  It’s the visual perception more than anything, call me a perfectionist if you like (believe me, I have been called some worse things!) but this was something I just had to rectify as seeing the car on the driveway each morning with dodgy panel gaps was starting to drive me crazy.

After doing some research and speaking to some members of the Mondeo Enthusiasts Group, I decided that the problem was the 2 bumper mounting brackets mounted either side of the bumper which mount onto the wings.  The explanation of how the bumper mounts to the front of the car is relatively simple.  Mounted inside the wing is a machined lip which mates above the lip formed on the top of the bumper when they are offered together, then from beneath a bracket is bolted through the bumper and wing into catchment nuts mounted above the lip of the wing.  This forms the basis of the whole bumper fitment, aided by some clips which when aligned correctly fit into other subsections of the front of the car.  Also worth mentioning is the front under tray, this also attaches to the bumper on the underside of the car which whilst technically not part of the bumper mounting assembly, adds rigidity to the bumper by giving it a semi-permanent fixture on the underside preventing it from flexing at speed; we’ve all seen Mondeo bumpers bouncing around on the Motorway.  Great design Mr Ford, not.

In this guide, I’ll attempt to explain how to replace the bumper mounting brackets with the bumper in situ on the car, as such there is no need to actually take the bumper right off of the car and allows the job to be done carefully by one person.  Of course if you have someone to help all the better, being as it was snowing at the time I was not able to persuade anyone to help me and I had to face the cold alone.  Unfortunately that does mean I didn’t take as many photos as I would normally have done so you’ll have to visualise some of the steps.

Of course you’ll need some basic tools.  I forgot to take note of what I was actually using (blame that on the cold, again) but from memory I used a small selection of screwdrivers and a small socket set; other than that no special tools are required.  One final thing that I used was an appropriately sized block of wood which I carefully slid underneath the corner of the bumper I was working on to stop it dropping and causing unnecessary strain on the other bumper fixings whilst changing the brackets over.

The Ford FINIS part numbers are 1211404 and 1211403 respectively (based on a May 2003 build date, I know that at a later date the part numbers changed so make sure to check) and cost a reasonable £6.23 each including the VAT.

I’d recommend that if you can, you jack the front of the car up and support on axle stands so that you can remove the front wheels which will make the whole job much easier.  Unfortunately I couldn’t do this so had to do it with wheels still in place which makes it slightly more awkward.

So, here’s what you need to do:

  • Open the bonnet and remove the front grill, this is held on by 2 thumb screws.  Be careful when pulling it off as it has catchment fittings all along the bottom edge and if you pull it up instead of outward, you are likely to break some of these
  • Remove the front headlights, this is simply a case of pulling up the 2 locking pins on each side (Ford for once, has designed something well) and unplugging the wiring connector.  if you have Xenon headlights like I have, also carefully pull off the headlamp washer covers as these are easily broken if the bumper moves up or down too much once you have undone the bumper mounting bracket in the following steps
  • Remove the wheel lining.  To do this you’ll need to remove the selection of screws and pop fixings *Tip: before attempting this job, it’s a good idea to give the car a good wash underneath so that you can see the fixings properly – I didn’t and ended up not seeing one which went on to break when I tried to pull the almost free wheel liner out!*.  As well as the screws in the wheel well itself, there are screws underneath the front of the bumper around the wheel splats.  Make sure you make a mental note of where the various screws came from, most people have their own methods of doing this, I laid them out on a piece of paper in the boot in the correct orientation of each other so I knew which ones went where when putting things back together, this is important as you’ll have a few different sizes of fixing.

Wheel liner fixings

Wheel liner fixings

  • Using a block of wood (or anything suitably sturdy) support the front corner of the bumper that you are about to work on to ensure that it does not cause further strain on the bumper itself or the other fixings when you release the bumper mounting bracket
  • You now need to check what type of fixings the existing bumper mounting bracket is mounted with, I found the easiest way of doing this was use a small compact digital camera and carefully slid it into the space underneath the bracket from the engine bay, make sure you use flash and macro so that the picture is in focus.  Have a look at the picture and you should be able to identify the fixings (as some use Torx bolts others use normal bolts, it’s much easier to figure out what tool you need before getting started as it’s very tight in underneath!)

Photo taken using digital camera underneath wing from inside engine bay

  • To remove the bumper mounting bracket, carefully reach in from the wheel well and up underneath with a small socket wrench (you’ll need the small extension bar), you should be able to get both arms and/or hands in to help you align the socket.  You will be able to remove the back 2 fixings this way.  Whilst undoing the bolts make sure that by looking in from the engine bay, you can see the bolts turning to make sure they are not seized.
  • To remove the front fixing, I used the same method but used the socket on the end of the screwdriver tool with extension bar as there simply was not enough room to use a socket wrench in that area.
  • You should now be able to manipulate the bumper sufficiently to pull out the existing bumper mounting bracket and offer up the new one (obviously holding them together first to make sure that they are both the same shape and size etc.)

Old and new brackets side by side checking for fit

  • Ensuring that the bumper is aligned correctly, it’s now simply a case of doing the above but in reverse to refit.  You should notice that as the bolts are re-torqued, the panel gap closes and the drop is gone!  *Tip: when refitting the bolts, try to tighten each one a bit at a time once they have bite as opposed to simply doing one all the way up, then the other, then the other.  That way you are not putting all the downward force of supporting the bumper on any individual bolt or fixing*

Once you have completed the above steps on both sides of the car, you can safely remove the block of wood supporting the bumper and stand back and admire the new panel gaps!  I have gone one step further though and added an extra bolt at the front of the bracket which is where the weakness appears to be, to do this simply do the following:

  • With the headlights still removed, find a suitable nut and bolt (being an IT Contractor, I used a cage nut and bolt – it’s all I had available) and a corresponding size HSS drill bit.
  • Drill down through the wing lip and bracket being careful not to slip and damage anything you shouldn’t, making sure you look underneath first to ensure that no pipes or wires are anywhere near where you are going to drill
  • Fit the extra nut and bolt which will give extra strength to the front section of the mounting (this I found to be really fiddly) making sure the bolt is on the underside so that nothing fouls the headlight being refitted

The extra bolt fitted at the front of the bracket


Now refit the headlights and front grill (whilst the headlights were out I also took the opportunity to fit new LED sidelights and a new set of 6k Xenon lamps) and finally, the headlamp washer covers.

Time for a beer!

Before - Existing Bracket

After - New Bracket Fitted