Aug 17

I login after a backports update to Compiz and my window decoration isn’t working! I found that gtk-window-decorator was failing to load, so the work-around I found was to go to System>Preferences>Sessions, and add a new entry for:

gtk-window-decorator

Now my close maximize and minimize buttons are there again… Odd..

Jun 9

I’ve been using Hugin for a couple years now, and its saved me hundreds of hours of work. Creating a great panorama is hard without a tool like Hugin, or Photoshop. With Hugin, you have greater control, and some really inteligent code to get the job done a lot faster than Photoshop. Most the time its really as easy as 1, 2, 3. Load the images, let it chug away and align them, then export the picture.

Here is the UI, its pretty damn simple:

Here are a few panoramas I’ve made with just Hugin. It wouldn’t take more than 10 minutes post work to get them looking perfect. Click the photos below to see the full size images.

Tropic Reservoir (Originally 5 Individual Pictures):

My Room (Originally 27 Individual Pictures):

Astoria-Megler Bridge (Originally 12 Individual Pictures):

Zion’s National Park (Originally 4 Individual Pictures):

Feb 29

When deciding on a new distro take what boycott Novell has to say about OpenSUSE 10.3 to heart. I didn’t look at it this way, but it makes a good bit of sense. This is what Boycott Novell had to say about OpenSUSE:

  1. When you use OpenSUSE, you support SLED/SLES, which Microsoft gets a revenue percentage from
  2. When you download OpenSUSE, you give the impression that Novell’s business is on track
  3. As soon as you install OpenSUSE, you are most likely installing Mono (in GNOME)
  4. If OpenSUSE succeeds in gaining market share, then truly open source Linux distributions suffer
  5. When you choose OpenSUSE, you contribute to acknowledgment of patent infringements in Linux. “

I think Novell has done some good things in Linux interoperability, but at the same time, and being within the beast and knowing what I know about Novell and Linux, I am staying as far away from OpenSUSE as I can. interoperability wouldn’t be an issue if businesses hired intelligent admins and used OPEN STANDARDS. Anywho. I’m glad I work at a Linux shop that uses open standards on an open platform. The “openness” of Novell is simply blasphemy toward free and open source software everywhere. It’s great that you’re building on an open platform, but hiring gnome developers just so you can own gnome’s code is just plain wrong.

Feb 25

I installed a few hacks to make my ubuntu look as much like a mac as possible. The end result is really impressive. It’s almost like I have a Macintosh… But its about 90% more useful and customizable. :)

First: Get a dock.

I use AWN (Avant Window Navigator)

The installation is simple.

Get the latest version from getdeb.net http://getdeb.net/. I used version 0.2.1 from here: http://getdeb.net/release.php?id=1865

The newer versions support drag ‘n drop for placing your launchers. Here is a screen:

Avant

Step 3: The wallpaper

Here you go (click to enlarge):

Lights

Step 4: Get a cool mac-like theme.

I used Humanoid - OSX - Dark from gnome-look.org

humanoid OSX

here is a link: http://gnome-look.org/content/show.php/Humanoid+-+OSX+-+Dark?content=72337

Step 5: Hack your metacity buttons to show on the left. (I’m not sure this will work if you use Emerald)

Open gconf-editor. alt+f2 then run:

gconf-editor

Edit the key: apps> metacity > general

Set to button_layout to:

close,minimize,maximize:menu

Step 6: Install global_menu

Install dependencies:
sudo aptitude install liborbit2-dev libgnomeui-dev libglade2-dev libbonoboui2-dev libglib2.0-dev libpango1.0-dev libatk1.0-dev libcairo2-dev libx11-dev libxext-dev libxinerama-dev libxi-dev libxrandr-dev libxcursor-dev libxfixes-dev libxcomposite-dev libxdamage-dev libcairo-directfb2 libcairo-directfb2-dev libcairo2-dev

Open a terminal
Create a folder

sudo mkdir global-menu-install

* Go to this folder

cd global-menu-install

* Get the patched gtk debs with the following instruction

wget http://gnome2-globalmenu.googlecode.com/files/gtk2.0-ubuntu-gutsy.tar.gz

* Unarchive them

tar zxvf gtk2.0-ubuntu-gutsy.tar.gz

* Install them
1. cd gtk
2. sudo dpkg -i *.deb

* Get the MacMenu applet files
1. cd ..
2. wget http://gnome2-globalmenu.googlecode.com/files/gnome2-globalmenu-applet_0.3.397-1_i386.deb
* Install it

sudo dpkg -i gnome2-globalmenu-applet_0.3.397-1_i386.deb

* Right-click on the panel and click add to the panel. Look for Global Menubar. Add it. And voila. It should work.

The finished product (click to enlarge):

myFreeMacOS

Thanks to:

https://wiki.ubuntu.com/global_menu
http://code.google.com/p/gnome2-globalmenu/wiki/InstallingonUbuntu

Feb 6

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…

Jun 4

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.

May 29

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. :)

May 20

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