Install Subversion For Local Usage

March 22, 2009

My IDE has a build-in history. Nevertheless I often use a “real” version control system for my sample projects. Today I setup a local subversion repository:

Install it: sudo apt-get install subversion

Create the repo: svnadmin create ~/svn

Tell your IDE where to find the repo: file:///home/struggy/svn

Connect your project and you are done.

Ubuntu 8.10 Intrepid and Cups-Pdf – strange

March 19, 2009

Today I’m finalizing my tax declaration. The program I use transfers the data to my tax office. Afterwards I need a print out that needs to be signed.

At home I have no printer, so I need a PDF-printer. Easy:

sudo apt-get install cups-pdf 

Nope, still no PDFs. After a Google search I found out that the directory ~/PDF must be manually created. Mmmh, still no PDFs. After another Google search:

sudo apt-get remove cups-pdf 
mkdir ~/PDF
sudo apt-get install cups-pdf 


The only Total Commander Clone is Krusader

March 15, 2009

The best windows tool ever is Total Commander. If I see colleagues using their explorer I get crazy 😉 Total Commander is the ultimate productivity boost.

On my ubuntu I’m using gnome. Nautilus is as sick as the explorer. Next, I tried gnome-commander: nope. I wasted a couple of hours and tried mc, elmfm2, tuxcmd, .. No way to found that is good enough and integrates into gnome. Only way out: Krusader. This tool has nearly all I want. I have to accept the KDE dependencies.

sudo apt-get install krusader kompare xxdiff cfv md5deep p7zip kdebase krename

In order to let it look more like a gnome app I installed the systemsettings (former kcontrol)

sudo apt-get install systemsettings

Open it and go to General > Look&Feel > Appearence > Theme and select Human.

Finally, I started krusader and changed the default terminal and editor.


Optimize Gnome Globalmenu

March 11, 2009

I installed globalmenu to get more vertical space. Today, I optimized the horizontal space. Therefore, I right clicked on the top panel and click add to panel. I have choosen Gnome Main Menu. This one only shows the ubuntu icon on the panel without the Application, Places and System menus. These old menus I removed with a right click remove. Done.

If you want to see how it finally looks like check this out.

Even More Space With Cairo Dock

March 11, 2009

Last time I talked about globalmenu. Today, I show you how you get even more space by replacing the bottom gnome panel with a dock like cairo-dock.

First you need to get the key of this unsigned package:

wget -q -O- | sudo apt-key add -

Next, add

deb intrepid cairo-dock

to your sources.list

Install it:

sudo apt-get install cairo-dock cairo-dock-plug-ins

Choose your desired theme (e.g. Clear) and you are almost done.

To start cairo-dock automatically opening System > Preferences > Sessions and at an entry with the command cairo-dock.

Log off and on and your cairo-dock should be available at the bottom of your screen. Now, the former bottom panel is of no value anymore so I removed it.


More Space On My Notebook With Gnome Globalmenu

March 9, 2009

Do you want to have more vertical space on your desktop, than take a look at globalmenu.

Add deb intrepid main to your package sources.

Next, add the pgp signature of this package: gpg --no-default-keyring --keyring /tmp/awn.keyring --keyserver --recv E97F4DB8F1F0EC20FF792CA37889D725DA6DEEAA && gpg --no-default-keyring --keyring /tmp/awn.keyring --export --armor E97F4DB8F1F0EC20FF792CA37889D725DA6DEEAA | sudo apt-key add - && rm /tmp/awn.keyring

Install it: sudo apt-get install gnome-globalmenu

Set it up: killall gnome-panel, then right click on the upper gnome panel and choose add to panel. Select Global Menu Applet. Next, right click on this one and choose Preferences. Next, click Enable Gnome Globalmenu and you are done.

Desktop Diary with LAMP and WordPress

March 8, 2009

At work I use my netbook to write down meeting minutes, notes, mindmaps and tasks (gtd) . Therefore I use freemind and thinkingrock.

Now I want a tool for writing a diary. Why? I want to optimize the preparation for my annual performance review. So fare I used a mindmap, but this was way off perfect.

Today I reorganized myself 🙂 and looked for a desktop diary tool. There are a lot of tools outside. I tried rednotebook. No thanks. I thought about my requirements and than I got it. Why not using WordPress. WordPress allow me to enter multiple notes a day, I can categorize and I can tag my content. Perfect.

So here we go:

First turn on the LAMP:

L: Linux

I think you got it already

A: Apache

sudo apt-get install apache2

M: mySQL

sudo apt-get install mysql-server

Maybe you want mysql-admin, too.

sudo apt-get install mysql-admin
killall gnome-panel


sudo apt-get install php5 libapache2-mod-php5
sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin

To get PHP to work with MySQL, uncomment the “;” line in

sudo gedit /etc/php5/apache2/php.ini

Finally, restart apache

sudo /etc/init.d/apache2 restart

Now the LAMP should be on.

Next, install WordPress

Extract WordPress

Extract your WordPress archieve

sudo tar zxvf wordpress-x.x.x.tar.gz --directory=/var/www/

Create Database

Open http://localhost/phpmyadmin and go to permissions.
Create a user wordpress and check the box to create a database with the name of the user as well.

Config WordPress

Goto /var/www/wordpress/ and copy the wp-config-sample.php file to wp-config.php and edit wp-config.php:

// ** MySQL settings ** //
define('DB_NAME', 'wordpress');
define('DB_USER', 'wordpress');
define('DB_PASSWORD', 'yourPassword');
define('DB_HOST', 'localhost');

Run the Installation Script


Open http://localhost/wordpress and start your private desktop blog.

Thanks to supriyadisw:
Install LAMP
Install WordPress