support for LinuxMint on Debian base added

... mainly copied from existing code. Works on my LinuxMint machine.

Cheers,
Carsten
Please revert this single line which is unrelated to the feature added. The remaining code looks awesome!