Using kate as text editor, temporary files that have been saved present an annoying trailing tilde that personally I consider useless. I'm used to be careful when I use something like text editor (good vim school!). So I realized this mini script in bash to remove temporary files when I've just saved the final document.
#!/bin/bash
rm `find $1 | grep '~$'`
The file above I've called rmm (I don't say why) and I'm put it in /usr/bin/
After written and saved something, I only open a shell, go to source directory and run this command:
$ rmm .
Or run directly this command without moving to source directory:
$rmm /home/matteo/src
This script is trivial and can be obviously improved. If you want to contribute I will be happy to add your le improvement.