How can I find out what .desktop file is being launched?

Posted by iBelieve on Ask Ubuntu See other posts from Ask Ubuntu or by iBelieve
Published on 2013-10-18T15:30:19Z Indexed on 2013/10/18 16:12 UTC
Read the original article Hit count: 229

Filed under:
|

I've used click install and click register to install a click app on Ubuntu (not Ubuntu Touch). The version was 0.5.1.

Now, a new version (v0.5.6) is available and I installed it using the same method.

I know the new version is installed because the current directory points to 0.5.6:

$ ll /opt/click.ubuntu.com/com.ubuntu.developer.mdspencer.ubuntu-tasks/
total 16
drwxr-xr-x  4 clickpkg clickpkg 4096 Oct 18 10:19 ./
drwxr-xr-x  8 clickpkg clickpkg 4096 Sep 13 21:22 ../
drwxr-xr-x 10 clickpkg clickpkg 4096 Sep 13 20:01 0.5.1/
drwxr-xr-x 10 clickpkg clickpkg 4096 Oct 18 10:19 0.5.6/
lrwxrwxrwx  1 clickpkg clickpkg    5 Oct 18 10:19 current -> 0.5.6/

However, when I launch the application from the Dash, the about page still shows v0.5.1.

So my question is, how can I find out where the .desktop file that I'm launching resides so I can understand why the correct version isn't being launched? I'm also simply curious to learn where the click .desktop files live. Is there some tool that shows where a given .desktop file is, or is there a way to see the equivalent to $PATH for .desktop files?

Note: this is similar to, but not a duplicate of, How to find the .desktop files for pinned applications in the Unity launcher?

© Ask Ubuntu or respective owner

Related posts about dash

Related posts about .desktop