5

When one left clicks an application, it also displays the screenshot of the desired application.

screenshot of the desired effect:

unity-previews-vlc

I can't find the screenshotlink=? command in the vlc.desktop file (and or other .desktop files)

This is what I have now:unity-previews-eurobytes

Question: How to get an image for my custom made .desktop file.

Note: If needed, I can post the code used for my custom .desktop file

blade19899
  • 26,994

1 Answers1

-1

It seems that the name of the .desktop files itself relate to applications in software center.

If you copy the /usr/share/applications/firefox.desktop to your ~/.local/share/applications and then rename firefox.desktop to (for example) libreoffice-calc.desktop (content of the file untouched). Then type in firefox and you'll see in one of the items the preview and comments from libre instead of firefox.

Therefore i think that it is not possible to have own preview images / thumbnails unless your application is in the ubuntu repos.