Delete all thumbs.db

Windows creates in every folder with pictures a thumbs.db file. Linux doesn’t need them, so here is a simple command to get rid of them. sudo find /home/user -name Thumbs.db -exec rm {} \; Bookmark on Delicious Digg this post Recommend on Facebook Share on Linkedin share via Reddit Share with Stumblers Share on technorati [...]

Continue Reading

Remove empty directories

To remove empty directories in a directory structure use the following command : sudo find /begin/here -type d -empty -delete Bookmark on Delicious Digg this post Recommend on Facebook Share on Linkedin share via Reddit Share with Stumblers Share on technorati Tweet about it Subscribe to the comments on this post Bookmark in Browser Tell [...]

Continue Reading

Print on local in a Citrix Session using Ubuntu 10.10

To add you local printer in your Citrix Session edit the following file /usr/lib/ICACLIENT/config/wfclient.ini Under the section WFClient add the following lines DefaultPrinter = (here use the cups printer name for the printer you want) DefaultPrinterDriver = Citrix PCL 4 Universal Driver Bookmark on Delicious Digg this post Recommend on Facebook Share on Linkedin share [...]

Continue Reading

Apply the “200 Lines Kernel Patch That Does Wonders”

The script has only been tested on Ubuntu (10.10 an 10.04) Even though I’ve tested the script, it may not work for everybody so use it as is. There are no guarantees it will work and I take no responsibility if it doesn’t. Always check the code of a script you run on your computer. [...]

Continue Reading

PostgreSQL install failed with “Installation may not complete correctly. The database cluster initialization failed.”

After the install of PostgreSQL 8.4.5 should be done I got the following error: Installation may not complete correctly. The database cluster initialization failed. The services was not installed. The solution is simple. 1. Manually create the directory structure from PostgreSQL. In my case D:\PostgreSQL\8.4\data 2. Allow full access to all users ( including “postgres” [...]

Continue Reading

To Do List After installing Ubuntu 10.10 aka Maverick Meerkat

I ran into this great post with todos after installing Ubuntu 10.10 today. Here is the original 1 – Expand the Software Repository List First of all, lets make Ubuntu “see” more packages. Go to the terminal and edit your sources.list with : sudo gedit /etc/apt/sources.list Here is the content of my sources.list which I [...]

Continue Reading

You have not chosen to trust “AddTrust External CA Root”, the issuer of the server’s security certificate.

After installing the latest Citrix Client on my Ubuntu 10.10 laptop I wanted to log in a a Citrix Portal. I got the following error. You have not chosen to trust “AddTrust External CA Root”, the issuer of the server’s security certificate. This solved my problem: sudo cp /usr/share/ca-certificates/mozilla/*.* /usr/lib/ICAClient/keystore/cacerts/ Bookmark on Delicious Digg this [...]

Continue Reading

Change the Virtuemart product search minimum characters

To change the minimum characters you want to search for in your VirtueMart store edit the following file administrator/components/com_virtuemart/classes/ps_main.php Change around line 1273 if( $strlen > 2 ) { to if( $strlen > 1 ) { for 2 character search Bookmark on Delicious Digg this post Recommend on Facebook Share on Linkedin share via Reddit [...]

Continue Reading

Setting up the DCP-357c in Ubuntu 10.10

In this earlier post I wrote down how I installed my Brother DCP-357c in Ubuntu 10.04 After upgrading to 10.10 the top edge of every page was cut off. I ran into a post on loxdev.knc.nc where a the same problem was explained. Remove the brother-lpr-driver-extra & brother-cups-wrapper-extra from Synaptic Package Manager Download the drivers [...]

Continue Reading

tcpdump – Detailed Network Traffic Analysis

The tcpdump is simple command that dump traffic on a network. However, you need good understanding of TCP/IP protocol to utilize this tool. For.e.g to display traffic info about DNS, enter: tcpdump -i eth1 ‘udp port 53′ To display all IPv4 HTTP packets to and from port 80, i.e. print only packets that contain data, [...]

Continue Reading