Need terminal help to install Zotero software

Asked by Ron

I'm trying to install a software called Zotero on my computer. I am trying to follow the instructions given on this page:

http://anterotesis.com/wordpress/2011/11/installing-zotero-standalone-on-ubuntu-11-10/

I have been able to follow up to step 4. But I don't know why my terminal doesn't recognize the following lines given in step 4:

#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=Zotero
GenericName=Bibliography Manager
Icon=/opt/Zotero_linux-i686/chrome/icons/default/default48.png
Exec= /opt/Zotero_linux-i686/zotero %f
Categories=Office
Terminal=false

Any thoughts or help with this would be greatly appreciated.

R

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
Last query:
Last reply:
Revision history for this message
Best N1ck 7h0m4d4k15 (nicktux) said :
#1

Hi ,
you can do the 4th step like this..

open a terminal and write

+++++++++++++++++++++++++++++++++++++++++++
gksudo gedit /usr/share/applications/zotero.desktop
+++++++++++++++++++++++++++++++++++++++++++

this command will open an empty window (text editor) , copy and paste all lines in there

++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=Zotero
GenericName=Bibliography Manager
Icon=/opt/Zotero_linux-i686/chrome/icons/default/default48.png
Exec= /opt/Zotero_linux-i686/zotero %f
Categories=Office
Terminal=false
++++++++++++++++++++++++++++++++++++++++++++++++++++++++

save the document and then go to Dash and search for zotero
Thanks

Revision history for this message
Ron (ronald17b95) said :
#2

Thanks so very much. So simple when someone helps.

Many thanks once again.

R

Revision history for this message
Ron (ronald17b95) said :
#3

Thanks NikTh, that solved my question.