Friday, January 23, 2009

How to convert unreadable mp3 tag in Ubuntu?

In Asian language (for me, Thai) always suffer unreadable mp3 tag. Here is a workaround to solve it.

install python-mutagen with this command

sudo apt-get install python-mutagen

cd to directory that your files at

and use it with this command

find . -iname "*.mp3" -execdir mid3iconv -e [encode] {} \;

done.

you can choose encode that suit to your language here. For Thai user use ISO-8859-11

credit : ConvertingMP3Tags


Monday, January 19, 2009

Copy non-formatted(plain) text in Ubuntu

Sometime, when we are browsing in the rich text place such as web page and we want to copy some text to our writing field (also rich text field too) without text format but normally it can not do.

In Ubuntu, there is a tool to help you called "Glipper"

you can install it with this command

sudo apt-get install glipper

and then you can add it to your panel. Its name is "Clipboard manager" in Add to Panel menu.

Ubuntu CPU temperature monitor

To monitor temperature of CPU, I'm using panel's item called "Computer Temperature Monitor"

To get it use this command

sudo apt-get install computertemp

then you have to add it to you panel by right-click at a panel, select Add to Panel. Then search with word "temp". There, that's your item to add

Collectd PostgreSQL Plugin

I couldn't find this link when searching with google https://www.collectd.org/documentation/manpages/collectd.conf.html#plugin-postgresql