How do I automatically start Clamz with AMZ files for Amazon MP3 downloads?
- by Takkat
Chromium can open downloaded files with the default application (e.g. PDF in Evince). In my setup a downloaded .AMZ (for Amazon MP3) always opened with Gedit. However I would like to have all downloaded .amz files to autromatically open with Clamz, a command line tool for downloading that works like a charm.
As in Nautilus my .amz files were associated to open with Gedit too I thought it was a good idea to add a clamz.desktop file in ~/.local/share/applications (according to this answer)
[Desktop Entry]
Encoding=UTF-8
Name=Clamz
Comment=Open AMZ files for Amazon MP3 download
Exec=/usr/bin/clamz %u
Terminal=True
Type=Application
Icon=
Categories=Application;
StartupNotify=true
MimeType=audio/x-amzxml;
NoDisplay=true
This lets me choose Clamz as default application in Nautilus. But when opening an .amz file in Nautilus it still does not open with Clamz as expected but is treated as an executable text file instead (note that the executable bit is not set!).
Is there any other way to make Chromium or Nautilus always open an .amz file with Clamz? Did I miss to change setting in another place?