May 1

1. If you like having close, maximize and minimize buttons on the right in Nautlius, type :

gconftool-2 -s /apps/metacity/general/button_layout -t string  "menu:minimize,maximize,close"

in your console.

2. If your new Mozilla Thunderbird 3.0 doesn’t read your old e-mails, please change name of .mozilla-thunderbird in your home directory to .thunderbird.

3. If you don’t see your gnome-volume-control-applet, please add Notification applet to your gnome panel.


Sep 25

Richard Stallman zaatakował Miguela de Icazę twierdząc, że jest zdrajcą środowiska wolnego oprogramowania:
http://www.osnews.com/story/22225/RMS_De_Icaza_Traitor_to_Free_Software_Community
De Icaza odpowiedział na to:
http://tirania.org/blog/archive/2009/Sep-23.html
I want to say that God loves all creatures. From the formidable elephant to the tiniest ant. And that includes Richard Stallman.
As for me, I think that there is a world of possibility, and if Richard wants to discuss how we can improve the pool of open source/free software in the world he has my email address.
Love, Miguel.

:D :D :D Read More


Sep 24

1. Be sure you have following options checked in your Ubuntu kernel:
File systems -> Miscellaneous filesystems -> UFS file system support (read only) (UFS_FS)
File systems -> Partition Types -> PC BIOS (MSDOS partition tables) support (MSDOS_PARTITION) -> BSD disklabel (FreeBSD partition tables) support (BSD_DISKLABEL)
Default kernel for Ubuntu has already this options.

2. After rebooting type in console:

dmesg | grep bsd

You shoud receive similar output:

[ 2.108529] sda4: <bsd: sda8 sda9>

It means that you have Freebsd installed on sda4 partition, and sda8 and sda9 are so-called “slices”

3. Use command similar to:

mount -t ufs -r -o ufstype=ufs2 /dev/sda8 /media/free

For older versions of Freebsd:

mount -t ufs -r -o ufstype=44bsd /dev/sda8 /media/free

or

mount -t ufs -r -o ufstype=ufs /dev/sda8 /media/free

might be more suitable.


Sep 21

Before I have setted up my encrypted partitions I had to fill them with random sequention of data.
I’ve noticed that dd if=/dev/urandom of=DEVICE is very slow. It has 3-4 MB/second on my computer.
I wanted to make it faster. Here is my solution:
1. Create in tmpfs located in RAM memory large file (about 100 MB) made of pseudo-random sequence (/dev/urandom).
2. Write this file from memory sequentially to the disk.
Speed of this approach is even 34 MB/s – 10 times faster!!.
Unfortunately, this aproach might not be as secure as dd if=/dev/urandom of=DEVICE
Before you do anything backup your data and be sure what are you doing!!!
My implementation: Read More


Sep 12

Here is a script for generating random alphanumeric passwords:

#!/bin/bash 
# passwords.sh  
if [ $# != 2 ]; then
	echo "usage: $0 <length of passwords> <number of passwords> "
	exit 1
fi
tr -cd '[:graph:]' < /dev/urandom | fold -w $1 | head -$2