Saturday, October 17, 2009

Easily converting your .flac files to .mp3 format

flac2mp3 is a tool to convert potentially large sets of FLAC audio files into the MP3 audio format. It is implemented as a bash shell script, and should run on any Unix-like operating system.
You can get it at: bytemonkey.org
You'll have to install FLAC and LAME on your linux box, on debian/ubuntu this is easily done with
apt-get install lame flac

After you download flac2mp3 and untar it somewhere, run the script, feeding it with the source and destination directories:
/path/to/flac2mp3 /home/music/JimiHendrix_Experience/ /home/music/mp3/JimiHendrix_Experience/

Wednesday, October 7, 2009

Stresstesting IMAP clients

Just found an interesting article about IMAP clients comparison:
http://www.hackvalue.nl/en/article/64/stresstesting_imap_clients

Personally I'm using claws-mail, with 4 mail accounts, one of which has more than 250000 messages.

Migrating to it from thunderbird was fairly easy, I've converted my thunderbird filters to claws' format, using http://www.claws-mail.org/tools/claws-mail-thunderbird-filters-convertor.tar.gz
(See http://www.claws-mail.org/tools.php)

my ~/.fluxbox/keys

!mouse actions added by fluxbox-update_configs
OnTitlebar Mouse2 :StartTabbing

!mouse actions added by fluxbox-update_configs
OnTitlebar Double Mouse1 :Shade
OnTitlebar Mouse3 :WindowMenu

!mouse actions added by fluxbox-update_configs
OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing BottomRight}

!mouse actions added by fluxbox-update_configs
OnToolbar Mouse4 :NextWorkspace
OnToolbar Mouse5 :PrevWorkspace

!mouse actions added by fluxbox-update_configs
OnDesktop Mouse1 :hideMenus
OnDesktop Mouse2 :workspaceMenu
OnDesktop Mouse3 :rootMenu
OnDesktop Mouse4 :nextWorkspace
OnDesktop Mouse5 :prevWorkspace

Mod1 Tab :NextWindow
Mod1 Shift Tab :PrevWindow
Control F1 :Workspace 1
Control F2 :Workspace 2
Control F3 :Workspace 3
Control F4 :Workspace 4
Control F5 :Workspace 5
Control F6 :Workspace 6
Control F7 :Workspace 7
Control F8 :Workspace 8
Control F9 :Workspace 9
Control F10 :Workspace 10
Control F11 :Workspace 11
Control F12 :Workspace 12
Mod1 F2 :ExecCommand fbrun
Mod4 m :RootMenu
Mod4 r :ExecCommand urxvt
Mod4 a :ExecCommand aterm
Mod4 x :ExecCommand mousepad
Mod4 t :ExecCommand konsole
Mod4 f :ExecCommand firefox
Mod4 m :ExecCommand mozilla
Mod4 g :ExecCommand gimp
Mod4 y :ExecCommand thunar
Mod1 F4 :Close
Mod4 F1 :ToggleDecor
Mod4 F2 :MaximizeWindow
Mod4 l :ExecCommand xlock