Desktop Entry not showing up in Application Grid

Hi, i’m really lost. I wanted to modify a .desktop entry, but for gods sake it won’t show up in the application grid oder the “Applications Menu”. I have tried having the file in ~/.local/share/applications and /usr/share/applications, but both don’t work. Am I blind for missing something obvious? Fresh install of Manjaro Gnome on Wayland.

[Desktop Entry]
Type=Application
Name=Spotify
GenericName=Music Player
Icon=spotify-client
TryExec=spotify
Exec=LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify --uri=%U
Terminal=false
MimeType=x-scheme-handler/spotify;
Categories=Audio;Music;Player;AudioVideo;
StartupWMClass=spotify
update-desktop-database -v ~/.local/share/applications

maybe also reset gnome-session:

ALT + F2 → type rENTER

Sorry, didn’t work. It shamed me for two files lacking mime types, but not the one in question.
Also reseting doesn’t work on wayland.

desktop-file-validate ~/.local/share/applications/spotify.desktop
Exec=env LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify --uri=%U

:question:

1 Like

Thx, it’s finally there. The env seems to have been it. After editing and updating via the aforementioned command it’s there.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.