Jul 13

1. When I use nautilus I’d like to type addresses by hand. In several Gnome themes this option is disabled. You can fix it:

  • Launch gconf-editor
  • Go to apps/nautilus/preferences
  • Check always_use_location_entry

2. After updating Firestarter stops displaying information about blocked connections.
In order to fix:

  • Open /etc/rsyslog.d/50-default.conf
  • Uncomment there:

    #*.=info;*.=notice;*.=warn;\
    # auth,authpriv.none;\
    # cron,daemon.none;\
    # mail,news.none -/var/log/messages

  • Type sudo service rsyslog restart

3. In Gnome Unity some tray icons (like Firefox, QuickSynergy or Kadu) are not diplayed.
Type:

gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"
unity --replace

Dec 7

I’ve noticed a problem with Lightning view panel in Thunderbird. After each restart of Thunderbird it disappears and I must resize it using vertical line on the right.
User Skip Head has solved this problem:

hover your mouse pointer over the line, in the middle of line where the tiny
dots are – your pointer will turn into a hand. Click on the dots and
the today pane will jump out to regular size. Now it will stay the
correct size.

Click here for more details


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 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 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