Closed gregorydk closed 4 years ago
When using the "correct way", where does the actual file need to be installed to? Can you provide some docs?
Preferably in /usr/share/icons/hicolor. The current Cryptomator icon is 512px so it would go in /usr/share/icons/hicolor/512x512/apps/. Different sizes go in their respective folder.
See https://specifications.freedesktop.org/icon-theme-spec/latest/ar01s07.html
Also, if you're planning to release a Flatpak and Appstream file, you might want to change the icon name to your Application ID.
I just wanted to fix this, but then I noticed there is no hard-coded path:
In what version of Cryptomator did you see a path?
@overheadhunter I got it in version 1.4.15 installed from the PPA at https://launchpad.net/~sebastian-stenzel/+archive/ubuntu/cryptomator.
[Desktop Entry]
Name=Cryptomator
Version=1.4.15
Comment=Cloud Storage Encryption Utility
Exec=/usr/bin/cryptomator %f
Icon=/usr/share/cryptomator/Cryptomator.png
Terminal=false
Type=Application
Categories=Utility;
MimeType=application/x-vnd.cryptomator-vault-metadata
Ah ok, the ppa is built differently... I will need to take another look at this
Any progress? It's still hard-coded in release 1.5.1.
Any progress? It's still hard-coded in release 1.5.1.
Is it? It shouldn't be:
@overheadhunter I'm talking about the deb in the PPA. It's also still the old bot icon.
Oh sorry. I did a lot of changes to the PPA, but I wasn't able to build them due to errors in Ubuntu's openjdk package. So I had to revert them and probably that's why it still doesn't use the new format.
I'll have another look at this during the next release.
Should now be fixed for the PPA release as well with version 1.5.3 :)
Description
To support icon themes, don't hard-code your icon in the desktop file.
Wrong: Icon=/usr/share/cryptomator/Cryptomator.png
Correct: Icon=Cryptomator
System Setup