Browsed by
Category: Ubuntu

[Ubuntu] Ubuntu 10.04 upgrade Nautilus, gnome-volume-control and Thunderbird issues

[Ubuntu] Ubuntu 10.04 upgrade Nautilus, gnome-volume-control and Thunderbird issues

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

[Ubuntu, Freebsd] How to mount Freebsd 7.2 partition under Ubuntu 9.04

[Ubuntu, Freebsd] How to mount Freebsd 7.2 partition under Ubuntu 9.04

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 bsddmesg | grep bsd You shoud receive similar output: [ 2.108529] sda4: <bsd: sda8 sda9> It means…

Read More Read More

[Linux] Random password generator

[Linux] Random password generator

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#!/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

[Ubuntu] Packages auto-purging script

[Ubuntu] Packages auto-purging script

Here is my script for auto-purging of removed packages (the script deletes remaining configuration files of package) in Ubuntu: #!/bin/sh for i in `dpkg -l | grep ^rc | cut -f 3 -d ‘ ‘` do dpkg -P $i; done#!/bin/sh for i in `dpkg -l | grep ^rc | cut -f 3 -d ‘ ‘` do dpkg -P $i; done

[Ubuntu] Nice Amarok-like music Player

[Ubuntu] Nice Amarok-like music Player

I’ve used Amarok for a long time. Unfortunately, interface of Amarok 2 has  been remarkably changed.  I like “old” Amarok’s interface so I’ve found Exaile – Amarok like music player for Gnome written in Python.