I downloaded JabRef-3.2.jar
. I can execute it from the command line:
java -jar JabRef-3.2.jar
which works fine. But I would like to have a Launcher in my start menu, if possible with an appropriate icon. How can I do this?
Note: I am running Xubuntu 15.04.
First, change directory
Then, open nano editor:
Add the following to the file:
Then, Ctrl + X --> Y --> Enter.
It should create an icon for you to launch, just search for it in
Menu
.Desktop, File Browser & Command Line
Personally, I have created a
/home/bin
directory to keep scripts for occasions like this.Just make sure that for every user the directory
/home/bin
is accessible:Furthermore the new directory should be listed as
PATH="/home/bin:$PATH"
in the~/.profile
file of every user or whereverPATH
happens to be defined on your system.Save below
bash
script asjabref
in the newly created/home/bin/
directory.The
bash
script should be made executable with:The script will open the latest version of
JabRef*.jav
previously saved in/home/opt/jabref/
with any yet existing desktop launcher or any file browser integration. Simply typingjabref
at the command line also works.