-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install icons to XDG_DATA_DIRS and include file extensions #56
Comments
Hi @howyay, obviously I am aware of this, but the desktop file specification says that app icons can be either icons from your theme or a path to a file; also, in the same specification, file extensions are not mentioned anywhere.
The problem is that moving icons to the user theme adds a lot of complexity, and Gear Lever is not a system component either: what, for example, if a user uninstalls Gear Lever and removes the |
Hi! Sorry for getting back to you so late. I came across this issue while using Aylur/ags. In the last paragraph of Directory Layout section, the Spec seems to suggest that there must be an extension that is one of I'm relieved knowing that this was a considered decision, and I also see the problem with added complexity. I agree that with Flatpak's architecture, there is no way to automatically clean up icon files at uninstall time, and there is also no way for Gear Lever to imperatively export One idea I had is to bootstrap Gear Lever as an AppImage, placing itself in Regardless, I think it can't hurt to start with adding file extension. As far as I can tell, AppImage only supports |
You are right, I didn't see that. Please expect an update soon. You will be able to "replace" old icons with the "Reload metadata" button.
I don't like this approach, it just makes things complicated for many who have just downloaded app I think Flathub is the perfect release channel for Gear Lever, it's extremely accessible as a one-click install on many distributions. |
I understand. It also occurred to me that AppImage |
@mijorus, why? |
Currently, the icons are installed to
~/AppImages/.icons/gearlever_[app name]_[md5]
, without a file extension. I believe this is undesirable because some applications don't support choosing icon by path, and some don't work with icons without explicit file extension. It would be helpful if the icons were installed to the canonical location of$prefix/share/icons/hicolor/[size]/apps
(e.g.~/.local/share/icons/hicolor/512x512/apps
), and if the file extension (usually .png) is included, per XDG spec.The text was updated successfully, but these errors were encountered: