An application comes with a .desktop file; how do I use it?
1
vote
1
answer
367
views
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]
Name=TheApp
Exec=bash -c "$(dirname $(readlink -f %k))/the_app_binary -url %U"
Icon=the_app.ico
Type=Application
Terminal=false
Categories=Office;
MimeType=text/plain
Asked by einpoklum
(10753 rep)
Jul 20, 2018, 04:06 PM
Last activity: Jul 20, 2018, 04:11 PM
Last activity: Jul 20, 2018, 04:11 PM