Browsed by
Tag: Ubuntu

[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

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

[Linux] How to execute SQL query on Firefox history

[Linux] How to execute SQL query on Firefox history

1. If you don’t know anything about SQLite, please read: http://en.wikipedia.org/wiki/SQLite 2. Install sqlitebrowser: sudo apt-get install sqlitebrowsersudo apt-get install sqlitebrowser 3. Run sqlitebrowser 4. Open file: /home/your username/.mozilla/firefox/your profile/places.sqlite It’s a SQLite database where firefox stores information about history. 5. Execute following command: SELECT url FROM moz_places WHERE url LIKE "%wojtekrj.net%"SELECT url FROM moz_places WHERE url like "%wojtekrj.net%" 6. You should have list of all vistied by you pages from my blog.

[Ubuntu] High frequency of load/unload cycles after suspend to RAM

[Ubuntu] High frequency of load/unload cycles after suspend to RAM

There is a known problem in Ubuntu connected with high frequency of load/unload cycles on hard disk. Here are useful links: https://wiki.ubuntu.com/DanielHahler/Bug59695 http://ubuntuforums.org/showpost.php?p=3675960&postcount=26 http://ubuntuforums.org/showpost.php?p=5031046&postcount=3 I used approach from Ubuntu forums and Load_Cycle_Count stopped increasing. Unfortunately, everytime when I woke up my Asus F3F from suspend to RAM (even it was on AC power), Load_Cycle_Count started dramatically increasing.