Hi,
first: I don't use a bash script at all

My desktop file looks like:
"Exec= java -jar JabRef3-10.jar"

It works like a charm.

You can google the icon, a quick google search gives you for example this
address:
http://static.freedownloadmanager.org/icon/48/466/466629.png

You can put it whereever you want, just put the path into the desktop entry:

"Icon=/home/user/Documents/JabRef-icon-48.png"

On 10 February 2016 at 21:56, Marcelo Laia <[email protected]> wrote:

> Hi,
>
> I have JabRef-3.2.jar in ~/bin/JabRef/JabRef-3.2.jar
>
> I did a jabref.desktop in ~/.local/share/applications/jabref.desktop
>
> [Desktop Entry]
> Name=JabRef
> Comment=Graphical editor for BibTex bibliographies
> Comment[pt_BR]=Editor Gráfico para Bibliografias BibTex
> Exec=jabref %f
> Icon=JabRef-icon-48
> Terminal=false
> Type=Application
> Categories=Office;Database;
> MimeType=text/x-bibtex;
> Keywords=BibTex;
> StartupWMClass=net-sf-jabref-JabRefMain
>
> So, I did a /usr/bin/jabref
>
> #!/bin/bash
>
> clear
>
> exec java -jar /home/marcelo/bin/JabRef/JabRef-3.2.jar "$@"
>
> exit
>
>
> Please, I could improve these scripts?
>
> Where I found de icon JabRef-icon-48?
>
> Thank you very much!
>
> --
> Marcelo
>
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Jabref-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jabref-users
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Jabref-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jabref-users

Reply via email to