Where is the trash stored in Ubuntu?

I use GNOME in Ubuntu for windows management. A few days back I deleted a directory and it got stuck in the trash can. I mean literally. I could not permanently remove it from trash. It was one of those directories which had files whose permissions did not allow me to remove it.

I  was then looking to see where the trash is stored and finally found it lurking in my home directory under


I used the following find command to find it:

find . -name Trash -print

The actual trashed files/directories are located under


Once, I found this out, I was able to remove it permanently with:

sudo rm -r <dir-to-be-removed-permanently>

Opening UIF image files in Ubuntu

Opening UIF CD/DVD image files in Ubuntu

The other day I downloaded a CD image which came with an UIF extension. UIF is MagicISO image file. To open it in Ubuntu, you have to convert it into an ISO version.

Fortunately, there is a uif2iso converter. You can find it at http://aluigi.org/mytoolz/uif2iso.zip.

Download this zip file and extract it to a directory, say uif2isoSrc. You will find a windows version of uif2iso.exe in the root here. You can use wine to run it as follows:

wine uif2iso input.uif output.iso

or better still go to the src directory and run make here. Now, you will have an native executable uif2iso generated here. You can now add it to your bin directory and run it as:

uif2iso input.uif output.iso

NOTE: Once you have an iso file you can mount it as a virtual cdrom using gmount-iso.

Screenshot of Gmount-iso GUI
Screenshot of Gmount-iso GUI