188BET靠谱吗Trouble with set_launcher_icon step of zotero installation on Ubuntu 24.04
Hello all.188BET靠谱吗I'm trying to install zotero to a more or less fresh version of Ubuntu 24.04
188BET靠谱吗I downloaded and extracted the tar file and copied it to /opt/zotero with
188BET靠谱吗sudo cp -r ~/Downloads/Zotero-6.0.35_linux-x86_64/Zotero_linux-x86_64/ /opt/zotero
I see in this post, that some dude got yelled at for using sudo.188BET靠谱吗In this case I'm using sudo because root owns /opt/zotero so otherwise it won't copy.
188BET靠谱吗cd /opt/zotero
.set_launcher_icon
I don't need to sudo the set_launcher_icon because its universally executable.
at this point, my terminal window closes, which is annoying.I don't understand why.For good measure, I went back in and followed the rest of the instructions.
188BET靠谱吗At this point, if go into the launcher I can "launch" zotero but get the error
188BET靠谱吗Failed to launch zotero
Desktop file didn't specify exec field
So I presume set_launcher icon didn't tell desktop where to look.188BET靠谱吗I can run zotero from the terminal with .188BET靠谱吗zotero if I must.
I realize there is a .deb option, and I have an open issue on the github repo for that.Any advice is appreciated.Thank you.
188BET靠谱吗I downloaded and extracted the tar file and copied it to /opt/zotero with
188BET靠谱吗sudo cp -r ~/Downloads/Zotero-6.0.35_linux-x86_64/Zotero_linux-x86_64/ /opt/zotero
I see in this post, that some dude got yelled at for using sudo.188BET靠谱吗In this case I'm using sudo because root owns /opt/zotero so otherwise it won't copy.
188BET靠谱吗cd /opt/zotero
.set_launcher_icon
I don't need to sudo the set_launcher_icon because its universally executable.
at this point, my terminal window closes, which is annoying.I don't understand why.For good measure, I went back in and followed the rest of the instructions.
188BET靠谱吗At this point, if go into the launcher I can "launch" zotero but get the error
188BET靠谱吗Failed to launch zotero
Desktop file didn't specify exec field
So I presume set_launcher icon didn't tell desktop where to look.188BET靠谱吗I can run zotero from the terminal with .188BET靠谱吗zotero if I must.
I realize there is a .deb option, and I have an open issue on the github repo for that.Any advice is appreciated.Thank you.
I had a similar problem to you (same error message).188BET靠谱吗I don't think your issue is with the set_launcher_icon step, which just sets the Icon line of the zotero.desktop file, whereas it is the Exec line which is the issue here.You can see my solution to this issue here:
188BET靠谱吗https://forums.zotero.org/discussion/comment/463650/#Comment_463650
188BET靠谱吗(Briefly, first change the Exec field of zotero.desktop to the full path to zotero, and then copy zotero.desktop to ~/.local/share/applications/)
188BET靠谱吗If you then also wanted to manually set the Icon line of zotero.desktop, just edit that file again, and change the Icon line to:
188BET靠谱吗Icon=/opt/zotero/chrome/icons/default/default256.png
188BET靠谱吗But change the first part (/opt/zotero) to wherever you saved zotero (this is what the set_launcher_icon script does)
Hope this makes sense.
Sean
./foo
to run a program in the current directory, not.foo
.For the error, see 188BET靠谱吗https://forums.zotero.org/discussion/comment/463694/#Comment_463694
188BET靠谱吗Just so I understand -- running set_launcher_icon tells me that I don't have permission to write to zotero.desktop.If I were using that script (which I am not any more, per the other post), should I `sudo ./set_launcher_icon` ?