Sunday, October 17, 2010

Install Modern Warfare 2(MW2) on Ubuntu 10.10 with Steam

Installing Call of Duty:Modern Warfare 2(MW2) with Steam is very simple in Ubuntu 10.10.  I assume that running the standard MW2 installation in Wine will also work fine but seeing as I am a Steam user I decided to take the extra step of installing MW2 via Steam.  Everything works great too, I am running the game at 1920x1080 with no lag or choppiness.  The installation is basically the same as the Windows installation except for the extra step of installing Wine.

Step 1: Install Wine
To install steam and play the game you will need to first install Wine.  To install the latest version of Wine simply open the "Ubuntu Software Center" and the search for "wine" and the install "Wine Microsoft Windows Compatibility Later(Beta Realease)".

Installing Wine via the Ubuntu Software Center


Step 2: Install Steam
To install  Steam just head over to the steam website http://store.steampowered.com/about/ and download the Windows installer.  After you have downloaded the installer you need to give the file execute permissions before you can run it so just right click the file and go "Properties" -> "Permissions Tab" and then check "Allow executing file as program".  Now just double click the installer and the Steam install wizard will appear and you can just follow the steps as you normally would

Steam running in Ubuntu 10.10 with Wine

Step 3: Install MW2
This step is pretty damn easy, just install MW2 via Steam like you would normally on Windows and then you are good to go.  Note: the installing DirectX step of the MW2 installer took a while to complete, don't worry it works just give it a few minutes.

MW2 running like a dream on Ubuntu 10.10
So that's really it, super easy and working perfectly.

I'm really pleased with the performance of MW2 using Wine and Steam, up until now I have kept a dual boot with Win7 for playing games but now I can finally do away with Windows altogether.

Wednesday, October 13, 2010

Calibrating Touchscreen in Ubuntu 10.10

After installing Ubuntu 10.10 on my Asus eee T91 I was pleased to notice the touchscreen was working out of the box.  Unfortunately the calibration was off and I could not find the calibration utility.

These instructions are now deprecated and I recommend using the xinput_calibrator utility which can be found here:

http://www.freedesktop.org/wiki/Software/xinput_calibrator

This old method is left here for reference only.

I was able to successfully calibrate my screen using the following method:

Open a terminal and type the following:

xinput list

You should see something like this:

⎡ Virtual core pointer                     id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer               id=4 [slave  pointer  (2)]
⎜   ↳ IDEACOM  IDC 6680                       id=8 [slave  pointer  (2)]
⎜   ↳ IDEACOM  IDC 6680                       id=9 [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad               id=13 [slave  pointer  (2)]
⎣ Virtual core keyboard                   id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard             id=5 [slave  keyboard (3)]
    ↳ Power Button                             id=6 [slave  keyboard (3)]
    ↳ Sleep Button                             id=7 [slave  keyboard (3)]
    ↳ USB 2.0 Camera                           id=10 [slave  keyboard (3)]
    ↳ Asus EeePC extra buttons                 id=11 [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard             id=12 [slave  keyboard (3)]


Note where it has the first "IDEACOM  IDC 6680", that's your touchscreen.  There should be an id in the second column ie. "id=8"

pass the id into the next command(I'm using 8 as the example)

xinput set-int-prop 8 "Evdev Axis Calibration" 32 300 7900 400 7800

That should have set your screen calibration, the last 4 values are the actual calibration numbers.  You may need to tweak these numbers for your monitor, so just fiddle with the values and rerun the command  until you are happy with the calibration.

At the moment you will lose your calibration when you reboot so to make it permanent do the following:

sudo gedit /etc/X11/Xsession.d/98x11-common_touchscreen


Paste you calibration command from the step above into the file and save.

This will run the command on bootup so your calibration is now set.  If anyone finds a better way to do this please post a comment.


These instructions were adapted from posts on this thread on the Ubuntu forums:
http://ubuntuforums.org/showthread.php?t=1237709&page=35


Note: I have been experiencing a bug using the touchscreen where every 4th press or so it seems to register as a drag operation rather than a click.  If anyone finds a solution to this please post a comment.

Monday, October 11, 2010

Installing Elegant Gnome on Ubuntu 10.10

One of my favourite things about Ubuntu is the ability to customize the UI and installing Elegant Gnome is one of the first things I do after a fresh installation.  Elegant Gnome is a theme pack that gives your desktop a very slick look(compared to the default theme) including matching Firefox and Chrome themes and an awesome icon set.

My netbook with Elegant Gnome showing the nautilus theme, also using Docky

To install this theme in Ubuntu 10.10 just do the following:
Open a terminal and run the following commands:


sudo add-apt-repository ppa:am-monkeyd/nautilus-elementary-ppa

sudo apt-get update && sudo apt-get upgrade

nautilus -q

sudo add-apt-repository ppa:elegant-gnome/ppa && sudo apt-get update

sudo apt-get install elegant-gnome ttf-droid

then go Applications -> Accessories -> Elegant Gnome and select install pack

After reboot go to System -> Administration ->Update Manager and update otherwise nautilus UI will be missing icons.

Adapted from the 10.04 instructions found here:

Fixing Docky compositing error in Ubuntu 10.10

After installing Ubuntu 10.10 on my Asus eee T91 with the GMA500 drivers and no compiz enabled  I installed Docky and received the following error:

"Docky requires compositing to work properly. Please enable compositing and restart docky."

To fix this error type the following at the terminal:

gconftool-2 -s --type bool /apps/metacity/general/compositing_manager true

then restart Docky.

Here's one I prepared earlier, running with the new GMA500 PPA and no  Compiz

Note: If you are wondering about the theme and icons check out my post on installing Elegant Gnome here.

Sunday, October 10, 2010

Installing gma500(poulsbo) drivers in Ubuntu 10.10

To install the GMA500 drivers on your Ubuntu 10.10 Maverick Meercat install do the following:
Open a terminal and type:


sudo add-apt-repository ppa:gma500/ppa && sudo apt-get update

sudo apt-get install poulsbo-driver-2d poulsbo-driver-3d poulsbo-config

then reboot.

Your screen resolution should now be correct.

NOTE: using the gma500(poulsbo) with Ubuntu is not recommended for new Ubuntu users as you will not have the full Ubuntu experience due to the proprietary nature of the drivers.  Please understand this is not an Ubuntu issue but is related to copyright and intellectual property rights associated with this chipset.  If you are a new Ubuntu user and want out of the box support for the gma500 Jolicloud does a pretty good job.


Hope this helps.

I also recommend checking out my guide to installing Elegant Gnome a great theme for Ubuntu.

Thursday, September 30, 2010

The Mobile Platform Wars

We live in exciting times for mobile operating systems, like watching the birth and evolution of the desktop operating system we are now witnessing the same process take place on our mobile devices.  While for many the battle of mobile platforms seems to be a two horse race between Android(Google) and iOS(Apple) we are really just at the beginning of ensuing struggle for market dominance with two new mobile operating systems(Windows Phone 7 and Meego) scheduled to arrive within a year.  We are about to see 6 big players Android, iOS, Windows Phone 7, BlackBerry OS, WebOS and Meego fighting for your hard earned dollars.  Each one of these have huge industry players behind them so it's bound to be a tough fight.  Here is a list of major backers for each operating system, some of the biggest companies in the tech world.

Android: Google
iOS: Apple
Windows Phone 7: Microsoft
Meego: Intel and Nokia
Blackberry: RIM
WebOS: HP

While Nokia's Symbian still remains the clear market leader at 40% share globally, over double the size of the next biggest contender, Android at 17%, it is rapidly losing market share.  With Symbian^3 released earlier this year and Symbian^4 slated for release next year it's clear that Symbian will be around for a while on Nokia's low cost handsets. Despite the fact it doesn't get much press the market for cheaper "dumb phones" is still huge particularly in the developing world where demand for rugged, low cost, low power handsets still remains the dominant market force.  Nokia is now pinning  its hopes for a slice of the smartphone market on its partnership with Intel to create a range of Intel powered mobile devices running their newly developed OS Meego.  You won' be getting you're hands on a Meego handset any time soon though, possibly mid 2011 at the earliest.  Meego is also Intel's bid for a piece of the lucrative smartphone processor market which is currently dominated by ARM.

How many major players can the market for smartphones support?  At the moment there are really two markets for smartphones, the consumer market and the business market.  The consumer market is dominated by Android and iOS and the business market mainly by Blackberry and Windows CE.  It's difficult to say at the moment whether this two market situation will remain or if WP7 will bring in consumers or if Android can win over businesses.  The lacklustre response to RIM's latest flagship, the BlackBerry Torch, is a huge blow to RIM who, like Nokia, have fallen behind Android and iOS in terms of popularity, usability and features and are rapidly losing market share.  The desktop operating system market only manages to support 3 major players, Windows(Microsoft), OSX(Apple) and Linux(Mainly Ubuntu by Canonical and also various other Linux distros).  If it is fair to draw the comparison then someone is going to lose out and with so much money at stake failure will be disastrous for those involved.

The recent purchase of Palm by HP and the upcoming release of WebOS 2.0 means that we'll start seeing a bunch of new hardware hitting the market soon.  HP's plans to enter the consumer tablet market will mean we should start seeing WebOS tablets appearing in 2011 as well as a range of smarthpones.

Android and WP7 will also be vying for the affections of phone manufacturers given that they do not produce their own hardware but rather supply their OS to manufacturers such as HTC, Samsung, LG, Sony Ericsson, Motorolla and more.  Depending on the reception that WP7 gets with consumers it could replace Android as the current favourite with both manufacturers and consumers.

Adding to this is the burgeoning market for tablets which opens up another battleground for the mobile OS market.  With the release of the iPad and a ton of Android and Windows 7 powered tablets and more on the way as well as RIM's announcement of it's new PlayBook things are just starting to heat up in the tablet world.

In the current App driven market there is also the need for any mobile platform to attract developers.  Each mobile OS needs to provide developers with a set of easy to use tools and a clear revenue stream like Google's Android Market and Apple's App store.  The ability to attract developers can make or break a mobile platform as consumers now expect the high degree of customisability and choice provided by having a huge pool of applications to choose from.  Can WP7 and Meego's new development environment be able to lure developers away from Android and iOS?  It's way too early to say but it's clear that winning the hearts and minds of developers will be critical to success.

Who will win?  It's far too early too tell but one things for sure, the next few years are going to be mighty interesting and critical to the future success of some of the biggest names in technology.

Wednesday, September 29, 2010

Meego on HTC Desire, Nexus One and Dell Streak

If you've been following the development of Meego and are hanging out for some hardware to actually run the handset version on you might be in luck.  Some crafty guys have managed to get the Meego running on the HTC Desire, Dell Streak and Nexus  One using a modified version of the ARM based Nokia N900 ROM.  The project seems to be in its early stages and of course the Meego handset edition is nowhere near ready for prime time at the moment but if you're like me and you're dying to try it out without forking out for an N900 then things are looking promising.

You can read the juicy details over at the Meego wiki:
http://wiki.meego.com/ARM/MSMQSD

You can check out a video of Meego actually running on the HTC Desire below:



Video Source: http://wiki.meego.com/ARM/MSMQSD