Sunday, June 21, 2009

Creating own Deb Package

first step is to install all the nessesary stuff

sudo apt-get install autotools-dev fakeroot dh-make build-essential


then copy your sourcetree into the tmp or whatever folder

cp -r my-program-source /tmp


now go to that folder

cd /tmp/my-program-source


now lets make debian control files

dh_make

or

dh_make --createorig

take the single binary, unless u need something else.


finaly lets compile and build it

dpkg-buildpackage -rfakeroot


after this check your /tmp  folder, there should be  the package with ending i386.deb


Saturday, June 13, 2009

World Of Warcraft on Ubuntu

-install Wine to make windows executables to run on linux

-Go to http://www.winehq.org/download/deb

-follow the instructions there and update your system (System ->Administration-> Update Manager) or use the following command:

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


-insert your cd/dvd and run command:

wine /media/WoWDisc1/Installer.exe


or doubleclick on Installer.exe on The CD/DVD


(if you dont see the Installer.exe somehow) use this command to mount CD/DVD:

sudo mount -o remount,unhide /dev/cdrom


-just follow the installation windows

(this may take alot of time, also patches that wil lbe downloaded)


-after installation, make a script somewhere you like:

create empty file and rename it to wow.sh f.e.

-add the following parameters into it:

#Wow.sh
xset -r 24
xset -r 25
xset -r 26
xset -r 38
xset -r 39
xset -r 40
aoss "/path/to/your/wowfolder/World of Warcraft/Wow.exe" -opengl


-and save it

-Now right click on your desktop and "create launcher"

-put some name for it f.e WoW

-Browse the path of your wow.sh script

-Press  OK

-Go To Google.com and Search For WoW icon

-Save the icon what you like where you want

-Right click on the launcher u created

-Properties

-Click on the image-frame

-Choose the icon you just saved

-Start the game by Created launcher

-Enjoy





Drag and Drop Support For aMSN

-First you need to install cvs

sudo apt-get install cvs


-You need the tkdnd binaries

cvs -z3 -d:pserver:anonymous@tkdnd.cvs.sourceforge.net:/cvsroot/tkdnd login

(password not needed, just hit enter)

cvs -z3 -d:pserver:anonymous@tkdnd.cvs.sourceforge.net:/cvsroot/tkdnd co -P tkdnd/lib


-You need to create a tkdnd folder to your amsn directory

sudo mkdir /usr/share/amsn/utils/tkdnd

(mine was in /usr/share/amsn ; use search to locate yours)


-Finally you need to copy the files to your created tkdnd directory

sudo  cp /home/yourname/tkdnd/lib/*tcl /usr/share/amsn/utils/tkdnd/

sudo cp /home/yourname/tkdnd/lib/Linux/libtkdnd1.0.so /usr/share/amsn/utils/tkdnd/


-Now restart your aMSN and enjoy draging and droping :)