xlucn / xdg-xmenu

Minimal app menu with xmenu
MIT License
36 stars 4 forks source link

cannot stat 'application-x-executable': No such file or directory #1

Closed raven2cz closed 4 years ago

raven2cz commented 4 years ago

Hello, I'm trying your "feeding" app for xmenu. But I've got error msg:

❯ ./xdg-xmenu > menu cp: cannot stat 'application-x-executable': No such file or directory fall back icon cannot be found

xlucn commented 4 years ago

Well, this script is not so rigorous now due to not strictly conforming to freedesktop standards and my lacking of coding ability :).

I pushed a new commit to omit the icon field if the script couldn't find any instead of exit directly, you can try it and see if it works.

However if there is indeed an icon named 'application-x-executable' on your system then it's probably another issue here, so would you check if that is the case by something like

$ find /usr/share/icons -name application-x-executable.*
raven2cz commented 4 years ago

Works thanks!