support for LinuxMint on Debian base added

... mainly copied from existing code. Works on my LinuxMint machine.

Cheers,
Carsten