Updated with paths for 1.6 and 1.8 and XDG path for later versions.