I'm using the mate-panel on Devuan 2.0 ASCII (~= Debian 9.0 Stretch).

I've downloaded this (binary) application which I've placed in /opt/the_app. I have a link to its binary under /usr/local/bin/the_app. Now, the app's distribution comes with a .desktop file and an .ico file it links to. How do I use this file to see Zotero in my desktop environment's launcher? Or - should I not use it directly at all?

The file's contents:

[Desktop Entry]
Exec=bash -c "$(dirname $(readlink -f %k))/the_app_binary -url %U"
  • Off-topic: get a look at antix Linux and their FAQ. – Rui F Ribeiro Jul 20 '18 at 18:25

Drop the .desktop file in /usr/local/share/applications and it should show up in your launcher automatically. This is described in the Desktop Entry Specification (which specifies .desktop files).

The icon should go in /usr/local/share/icons; see the Icon Theme Specification.

  • Do I need to do something about the relative reference to the ico file (see edited version)? Anyway, +1. – einpoklum Jul 20 '18 at 16:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.