I am always annoyed that to run a jar application such as the referencer JabRef neither of the obvious steps works:
1. click on, it b/c that opens Archive Manager
2. right-click > Open with another application, b/c Java is not listed there.
That means that the average user will first need to find out what command is needed, then open a terminal and use it with the correct syntax--not what MX Linux is about!
I did a websearch on "linux launch jar application" and found on the first page the following neat solution:
- Open a root Thunar in /usr/share/applications/
- Click File > Create Document > Empty file
- In the name box that pops up, type java.desktop and click Return
- Click on the newly created file to open it in Leafpad
- Paste in the following:
Code: Select all
[Desktop Entry] Name=Java Comment=Java GenericName=Java Keywords=java Exec=java -jar %f Terminal=false X-MultipleArgs=false Type=Application MimeType=application/x-java-archive StartupNotify=true
- Save the file and exit.
EDIT: this needs an icon for the menu