I'm using a pretty clean install of Ubuntu 20.04 at the moment, finally though to ask this here since it's been bugging me. Is there a way to find out where a launcher entry's .desktop
file is at? In my mind, it should be as easy as right-clicking the icon and selecting an option that called Show .desktop file
or something like that.
The inspiration for this question comes from me installing the Spotify snap. I need to add a command-line option since Spotify isn't playing nice with my 4K screen and everything is tiny. The problem is, there are three .desktop
files and I'm not sure which is the right one.
$ locate *spotify*.desktop
/snap/spotify/53/meta/gui/spotify.desktop
/snap/spotify/53/usr/share/spotify/spotify.desktop
/var/lib/snapd/desktop/applications/spotify_spotify.desktop
Without some experimentation, I don't have a way of knowing which of these is actually associated with the icon I'm seeing in the launcher. I know I could do something silly like remove the icon entry from them one at a time until I find the "real" one, but I feel like there must be an easier way that I don't know about.