anyrun-org / anyrun

A wayland native, highly customizable runner.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Desktop files that are located in ~/.local/share/applications cannot be correctly run

Enovale opened this issue · comments

commented

If I try to run any application where there is an override .desktop file in ~/.local/share/applications (KDE puts desktop files here that have overridden values set by the local user for example) Anyrun will throw this error:
Error running desktop entry: No such file or directory (os error 2)
If I remove the local user desktop file it runs from the system installed one just fine.

User specific desktop files work fine for me, that error would lead me to believe that the override desktop file is pointing to an executable that isn't valid (in this context at least). So make sure the desktop file is actually valid.

User specific desktop files work fine for me, that error would lead me to believe that the override desktop file is pointing to an executable that isn't valid (in this context at least). So make sure the desktop file is actually valid.

I have the same problem, it works fine if I run those desktop files directly.
The .desktop from my ~/.local/share/applications/ is exactly same as that from /usr/share/applications/

Only if I delete/rename those from ~/.local/share/applications/ it will work again.

echo $XDG_DATA_DIRS:

/home/myname/.local/share:/usr/share