Skip to content
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

No app icon when creating a desktop shortcut for MSPaint #8

Closed
Le0xFF opened this issue Jan 22, 2022 · 5 comments
Closed

No app icon when creating a desktop shortcut for MSPaint #8

Le0xFF opened this issue Jan 22, 2022 · 5 comments

Comments

@Le0xFF
Copy link
Contributor

Le0xFF commented Jan 22, 2022

Opening a new issue as stated in #6


When I try to make a new desktop shortcut for MSPaint, the icon from the .exe is not saved in ~/.cache/casualrdh folder, resulting in an iconless menu entry.

MSPaint1


This does not happen with any other application, such as Microsoft Word.

Word2

Word3

@casualsnek
Copy link
Owner

casualsnek commented Jan 22, 2022

can you copy the mspaint.exe from your system and upload and share it ! Some apps like WordPad do not contain Icon, Name, or Version name on their executable for which i can do nothing.. But for paint icon should have been fetched !

The app with everything unknown listed at bottom of list is Wordpad BTW !

@Le0xFF
Copy link
Contributor Author

Le0xFF commented Jan 22, 2022

Here it is!
mspaint.zip

@casualsnek
Copy link
Owner

Here it is! mspaint.zip

As i suspected the .exe file itself has no image contained in which case cassowary shows blank icon. My windows 10 mspaint.exe contains icon but maybe Enterprise LTSC's paint does not !

What if i made cassowary use a generic app icon/logo for app that do not contain icon in them ?

@Le0xFF
Copy link
Contributor Author

Le0xFF commented Jan 22, 2022

I guess it could be the best solution for all the iconless .exe 👍

@casualsnek
Copy link
Owner

casualsnek commented Jan 23, 2022

This commit should fix the issue: da49e44

It also adds a field to manually specify icon when creating desktop entry !
Binary release will be available after next minor version bump.

You may re open the issue if you think the issue still exists

Note: You may need to remove the whole config or at "def_icon" key and value from ~/.config/casualrdh/config.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants