Zotero 5.0 Gnome integration
first off: congratulations to all the developers for the fantastic work you've put into the new release!!
I'm very excited to put it to immediate use, but wonder if there is a way to fix a little issue regarding the integration into Gnome (3.18.5 on Ubuntu 16.04.2): while I do get a Zotero icon in the launcher, I seem to be unable to add it to the launcher permanently. Right-clicking the icon in the launcher doesn't provide the usual mini-menu.
Also when I type "Zotero" in the search field in the activities overview I only get the Zotero folder. So in effect to start it I have to open the folder and click on Zotero there. (I want to add that I ran the set_launcher_icon script and symlinked zoter.desktop.)
I'm very excited to put it to immediate use, but wonder if there is a way to fix a little issue regarding the integration into Gnome (3.18.5 on Ubuntu 16.04.2): while I do get a Zotero icon in the launcher, I seem to be unable to add it to the launcher permanently. Right-clicking the icon in the launcher doesn't provide the usual mini-menu.
Also when I type "Zotero" in the search field in the activities overview I only get the Zotero folder. So in effect to start it I have to open the folder and click on Zotero there. (I want to add that I ran the set_launcher_icon script and symlinked zoter.desktop.)
This really should work without hiccup and if it doesn't, it indicated a more general problem with .desktop file recognition, like wrong permissions or such.
I believe I did, but couldn't see any link in the ...applications folder. So I ran:
ln ~/Zotero/zotero.desktop ~/.local/share/applications/
I also re-ran the set_launcher_icon script.
Now Zotero is found when I type it into the activities overview search field. But clicking on it does nothing.
However, if I start it through Nautilus from my Zotero directory, I can now add it to my favorites and for now that is all I need, though in theory I think it should also work to start it via the activities overview search field.
Again, thanks for your help!
it turns out I can add it to the favorites, but if I try to start it from there nothing happens, so I still have to start it from Nautilus
In any case I now followed your recommendation and moved ~/Zotero into /opt
I deleted the old link in ~/.local/share/applications and created a new link:
ln /opt/zotero/zotero.desktop ~/.local/share/applications/
I cd'ed into the new /opt/zotero and re-ran ./set_launcher_icon
But not much has changed. I can start Zotero from Nautilus. An application search in the activities overview will find Zotero (but now won't display the actual icon as it did before, just a grey square where the icon should be), and clicking on it won't start the program.
[randomstring].default
and under ~/Zotero you should at least have zotero.sqlite and the storage dir (there might be more stuff there).Make sure files and folders under ~/Zotero and ~/.zotero are owned by your user and have the correct permissions. You can change ownership by running
sudo chown -R $USER:$USER ~/Zotero ~/.zotero
from the terminalDoes the application launcher item for Zotero work now (even if it launches with the profile permissions error)?
I have /opt/Zotero which contains the newly unpacked tar files. There is no zotero.sqlite there
I have ~/.zotero. There's a storage.sqlite there. But no zotero.sqlite
I don't have ~/Zotero anymore
I ran sudo chown -R $USER:$USER /opt/Zotero ~/.zotero
I ran sudo ln /opt/Zotero/zotero.desktop ~/.local/share/applications/
I cd'ed into /opt/Zotero and ran sudo ./set_launcher_icon
The result is the same as before: I can start Zotero only from Nautilus. In the activities overview it now finds Zotero (but doesn't display the correct icon), but clicking on it does nothing.
2) Probably not the issue, but you're using a hard link for the zotero.desktop file. You should use a symlink (ln -s) instead, and you shouldn't use sudo, because you're creating a symlink in your own home directory.
3) If files within /opt/Zotero are owned by your user, don't use sudo to run set_launcher_icon.
4) When you run set_launcher_icon, it should modify zotero.desktop to reflect the current path to the icon. You can verify that.
It's not clear to me what happens now if you double-click either 'zotero' (the executable) or 'Zotero' (the desktop file) in /opt/Zotero.
#2 did the trick. I deleted the old link and ran in my home directory without sudo: ln -s /opt/Zotero/zotero.desktop ~/.local/share/applications/
Thank you tons for staying with me so patiently, I really appreciate it!