KTorrent crashing? Try this quick fix

published Sep 07, 2006, last modified Jun 26, 2013

The brute force method:

#!/bin/bash

while true ; do
ps ax | grep -v grep | grep " ktorrent" || \
ktorrent --nofork --nocrashhandler
sleep 5
done

Save this script and make it executable. Leave it running overnight. Lather, rinse, repeat. Oh, nono, don't do that -- the script will take care of the lather, rinse and repeat for you.