Archive for the 'Utils' Category

Automatic FTP backup for servers

Today I need to find a way to do some backup on an FTP server. Of course there is a lot of way to do that, but I need something automatic that does some full (monthly) and incremental (daily) backup. I decided to use duplicity because it’s a really simple and effective software. The main [...]

admin January 28th, 2012

Howto resize a libvirt (kvm/qemu) disk image

I’m using kvm for a while at work. Everything works quite fine, but today I needed to grow a disk image. I found some informations, but none are really clear so here the result :
First create a empty image file .. with this command (don’t use dd,  qemu-img is really quicker than dd):
qemu-img create -f [...]

admin April 28th, 2009

Gkrellm Theme : Invisible by Jkx

I’m using Gkrellm for a long time now (perhaps 5 or more years). The main issue with Gkrellm is that theme aren’t really fresh anymore. So I tweaked some to feet with my needs.
As you can see on the screen-shot this theme is a transparent one, with a blue and violet krells
You can download it [...]

admin April 26th, 2008

How to convert matroska MKV to AVI on Linux ?

Today, I discover that my M3100 player doesn’t know how to play Mastroka files. Mastroka files are really kool since the subtitles are embeded in .. but that’s it, my player refuse to play open it.
This stuff can be repack in a AVI (xivd..) file with some open source tools. Here, a little script to [...]

admin May 8th, 2007

Howto change the sound in a video (divx)

This afternoon, I compiled some video with Kino. This stuff works quite good. The main issue I had is that I want to have a nice music in background. I spend a little time, with transcode but I soon figured that FFmpeg can do that easily.
ffmpeg -i my_music.mp3 -i in_video.avi -vcodec copy ouput.avi
You can [...]

admin August 16th, 2006

Tcpdump rules !

Tcpdump is clearly one of my favorite tool. Here a little example to filter the traffic of my OSPF router.
tcpdump -i eth0 ip[9] == 89
And the result:
12:43:48.219432 IP p2b.soif.fr > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), length: 48
12:43:48.560817 IP wrt.soif.fr > OSPF-ALL.MCAST.NET: OSPFv2, Hello (1), length: 48
Wonderfull no ? :)

admin February 6th, 2005

Extract soundtrack (MP3) from DVD with mplayer

I ‘m wondering if i gonna add a mplayer tips here ? :)
To extract a mp3 from a DVD, the easy way is to use transcode
transcode -i /dev/dvd -x dvd -T 1,2,1 -a 0 -y raw -m track22.mp3
But sometimes, this doesn’t works.. in fact I get a random transcode segfault. As mplayer is the perfect [...]

admin December 26th, 2004

Ion Window Manager

Ion is a powerfull window manager, but the main issue of this WM is the configuration. We have already chat a little w/ Ian about this. While browsing the web, I discover this post on IBM Network.
So now, Ion is really fine, and IBM provide a nice doc :)

admin October 4th, 2004

Better window placement for every WM

I’m using xfce window manager since a while now. I’m only using the taskbar and the wm in fact. But i was looking for a feature for a long time. Xfce wm doesn’t support matched window placement (ala sawfish).
For example, there is no way to place gkrellm on every workspace, or tell Kmail for stick [...]

admin September 14th, 2004

Blog post / Mutt IMAP Cache Vs Courier-Cone ?

The thing every blogger likes: Comments ? No ? Really ?
Anyways, i just added a RSS comment Feed to this blog. (No I won’t put the url somewhere since NewsAggregators eat a bunch of bandwith only to see nobody post, i will only give it to friends .. :)
But, this is not the main stuff, [...]

admin July 31st, 2004