Archive for the ‘Linux’ Category

World of Warcraft in Ubuntu

Step 1: Install wine

sudo apt-get install wine

Step 2: Download and Install the PC version of World of Warcraft.. Nothing special you need to do to install it other than opening the installer with wine.

Step 3: Edit /”World of Warcraft Directory”/WTF/Config.wtf

Add these two lines:

SET gxApi “opengl”
SET SoundBufferSize “70″

Step 4: Run WOW!

World of Warcraft…

What not to do when considering Linux.

Now I almost wrote and published a nice version of this, but I got a call from someone wanting to run Microsoft word on Linux because Open Office “don’t got the fonts I want.” Now I am pissed.

I work for a leading Linux distributor, and I get a few calls a week from people who have stripped their computers of Microsoft Windows in hopes that Linux will make them feel better. And now they can’t play their Windows games and programs. People need to research Linux before hosing their boxes with a Linux install. You should be aware that you will need to get your hands dirty in the command line, and not all programs have a graphical user interface. Your windows 3D games will not run without some kind of emulation or a compatibility layer for running Windows programs. (such as wine) Your graphics card drivers may not work or be up to date, and you are most definitely NOT running a windows equivalent. Linux is an advanced operating system not reccomended for the non-technical user. PLEASE DO SOME RESEARCH BEFORE INSTALLING LINUX. And for the love of God, if you are so tethered to your Microsoft Windoze, DO A DUAL BOOT. And stop calling about playing your Xbox 360 games on SuSE Linux.

How to: Install Windows XP in VMware Player

This tutorial will show you how to install Windows XP Professional Edition on VMware’s free VMPlayer in Ubuntu.

We will use the following applications:

  • VMware Player
  • Wine
  • Qemu
  • GnomeBaker
  • Cabextract

First you will need to install vmware player. So in terminal type:

  • sudo apt-get install vmware-player

And you will need wine. The easiest way I have gotten this working is through the add+remove applications menu in ubuntu.

Alternatively you can run this command:

  • sudo apt-get install wine

Now you can download my 2G virtual disk file or create your own with Qemu.

Make sure you keep all the files you create or download during this tutorial in your current working directory. Which by default will be your home folder in terminal.

If you want a larger disk you will need to download Qemu. And install it via Wine. (Just run the .exe in Ubuntu)

After installing Qemu you will need to create your virtual disk with the following command:

  • wine “c:\Program Files\Qemu\qemu-img.exe” create -f vmdk WindowsXPPro.vmdk 20G Formating ‘WindowsXPPro.vmdk’, fmt=vmdk, size=20971520 kB

For different sizes replace ‘20G’ with your desired size and change “size=x kB” to the proper size in kB I have a table below for some common sizes:

  • 2G 2097152 kB
  • 4G 4194304 kB
  • 8G 8388608 kB
  • 12G 12582903 kB
  • 16G 16777216 kB
  • 20G 20971520 kB
  • 40G 41943040 kB
  • 80G 83886080 kB

The math for converting from GB to kB is

  • xGB*1048576=xkB

Now install GnomeBaker (if it isn’t already installed)

  • sudo apt-get install gnomebaker

With your Windows XP CD in your drive; Run gnomebaker and select “Copy Data CD” and tick the “Create ISO only” box. I named my iso “winxppro.iso”


Now for some reason the boot sector of the xp install disk will not be in the iso, so we will need to download the xp boot floppies from Microsoft.

And save it to your home directory or current working directory.

In order for VMware to use the boot floppies we need to extract them with cabextract.

  • sudo apt-get install cabextract
  • cabextract WinXP_EN_PRO_BF.EXE -d ./

You will end up with these files from the exe:

If you want you can delete makeboot.exe and makebt32.exe, they are useless for us.

Now download my configuration file for vmware.

Run the .vmx file with vmware player.

Now comes the crazy part. :)

When the xp boot menu asks for floppy 2 you will need unmount the floppy by clicking on the “floppy” button on the top menu in vmware player, delete or move the file named “cdboot1.img” and rename cdboot2.img to cdboot1.img. Then remount it by clicking the same “floppy” button. And so on for each floppy it asks for during the install.

Now the windows xp install might fail to move a file called “plugin.ocx” its useless, disregard it and skip the file. :)

Holy HDR in Linux!

Looking for HDR capability in Ubuntu? This tutorial will allow you to install qtpfsgui an open source GUI for creating HDR images under Linux.

For Ubuntu:

First we need to add the following lines (depending upon your version of Ubuntu) to the bottom of the file: /etc/apt/sources.list

This can be done with the command:

  • sudo gedit /etc/apt/sources.list


For Ubuntu Dapper Drake (6.04):

deb. http://ubuntu.davromaniak.eu dapper-depomaniak all
deb.-src http://ubuntu.davromaniak.eu dapper-depomaniak all

For Ubuntu Edgy Eft (6.10):

deb. http://ubuntu.davromaniak.eu edgy-depomaniak all
deb.-src http://ubuntu.davromaniak.eu edgy-depomaniak all

For Ubuntu Feisty Fawn (7.04):

deb. http://ubuntu.davromaniak.eu feisty-depomaniak all
deb.-src http://ubuntu.davromaniak.eu feisty-depomaniak all

Now to add the key to gain access to the download do this command:

  • wget http://ubuntu.davromaniak.eu/1D59E694.gpg – O | sudo apt-key add -


Then update your sources list:

  • sudo apt-get update

And to install the program:

  • sudo apt-get install qtpfsgui


For other flavors of linux:

get the dependencies:

  • sudo apt-get install libqt4-dev libexiv2-dev fftw3-dev openexr pkg-config build-essential libtiff-dev libopenexr-dev


Now download the source and compile:

  • wget http://kent.dl.sourceforge.net/sourceforge/qtpfsgui/qtpfsgui-1.7.1.tgz
  • tar zxvf qtpfsgui-1.7.1.tgz
  • cd qtpfsgui-1.7.1/
  • qmake-qt4
  • make
  • sudo make install
Return top