how to register zotero:// protocol on ubuntu 16.04
PROBLEM: My workflow involves consulting notes stored in Zotero 5.0.22 while writing in other software (Scrivener, LibreOffice Writer). On Windows 10, I am able to access these notes from those other software by creating hyperlinks to them using their zotero://select item ID: I click on the hyperlink in, say LibreOffice Writer, and Zotero opens and selects the note item in my library. However, I cannot get these hyperlinks to work under Ubuntu 16.04: clicking on them--whether in Scrivener or LibreOffice Writer--produces absolutely no result.
REQUEST: A search through forums and posts on the web suggests that the problem is possibly due to Ubuntu not recognising the zotero:// protocol and therefore not knowing what to do when I click on the hyperlinks. Is this correct? If so, how do I solve the problem? Various posts say I have to register the protocol with the operating system. I have no knowledge of programming, and the how-to's I found were too complicated for me. If non-recognition of the protocol is not the problem, then what is it? I would appreciate any help on this problem, if possible a simple how-to that does not involve complex code-writing.
APPRECIATION: To the great people behind Ubuntu, thank you so much for the marvelous operating system; and to the Ubuntu community, thanks for the great work addressing problems faced by programming-incompetents like me.
Thank you for your help.
protocol zotero
add a comment |
PROBLEM: My workflow involves consulting notes stored in Zotero 5.0.22 while writing in other software (Scrivener, LibreOffice Writer). On Windows 10, I am able to access these notes from those other software by creating hyperlinks to them using their zotero://select item ID: I click on the hyperlink in, say LibreOffice Writer, and Zotero opens and selects the note item in my library. However, I cannot get these hyperlinks to work under Ubuntu 16.04: clicking on them--whether in Scrivener or LibreOffice Writer--produces absolutely no result.
REQUEST: A search through forums and posts on the web suggests that the problem is possibly due to Ubuntu not recognising the zotero:// protocol and therefore not knowing what to do when I click on the hyperlinks. Is this correct? If so, how do I solve the problem? Various posts say I have to register the protocol with the operating system. I have no knowledge of programming, and the how-to's I found were too complicated for me. If non-recognition of the protocol is not the problem, then what is it? I would appreciate any help on this problem, if possible a simple how-to that does not involve complex code-writing.
APPRECIATION: To the great people behind Ubuntu, thank you so much for the marvelous operating system; and to the Ubuntu community, thanks for the great work addressing problems faced by programming-incompetents like me.
Thank you for your help.
protocol zotero
Thanks for your responses. Zotero (not Zotoro) is a reference management software. In addition to the reference data, it stores attachments such as PDFs and notes to each entry. The word-processor plugin I need is installed and functions well. That is not the issue; it is rather that hyperlinks in external software to those reference items, attachments, and notes do not function. I am using Zotero standalone (5.0.22). Thanks for your help.
– Osaze
Oct 12 '17 at 15:56
add a comment |
PROBLEM: My workflow involves consulting notes stored in Zotero 5.0.22 while writing in other software (Scrivener, LibreOffice Writer). On Windows 10, I am able to access these notes from those other software by creating hyperlinks to them using their zotero://select item ID: I click on the hyperlink in, say LibreOffice Writer, and Zotero opens and selects the note item in my library. However, I cannot get these hyperlinks to work under Ubuntu 16.04: clicking on them--whether in Scrivener or LibreOffice Writer--produces absolutely no result.
REQUEST: A search through forums and posts on the web suggests that the problem is possibly due to Ubuntu not recognising the zotero:// protocol and therefore not knowing what to do when I click on the hyperlinks. Is this correct? If so, how do I solve the problem? Various posts say I have to register the protocol with the operating system. I have no knowledge of programming, and the how-to's I found were too complicated for me. If non-recognition of the protocol is not the problem, then what is it? I would appreciate any help on this problem, if possible a simple how-to that does not involve complex code-writing.
APPRECIATION: To the great people behind Ubuntu, thank you so much for the marvelous operating system; and to the Ubuntu community, thanks for the great work addressing problems faced by programming-incompetents like me.
Thank you for your help.
protocol zotero
PROBLEM: My workflow involves consulting notes stored in Zotero 5.0.22 while writing in other software (Scrivener, LibreOffice Writer). On Windows 10, I am able to access these notes from those other software by creating hyperlinks to them using their zotero://select item ID: I click on the hyperlink in, say LibreOffice Writer, and Zotero opens and selects the note item in my library. However, I cannot get these hyperlinks to work under Ubuntu 16.04: clicking on them--whether in Scrivener or LibreOffice Writer--produces absolutely no result.
REQUEST: A search through forums and posts on the web suggests that the problem is possibly due to Ubuntu not recognising the zotero:// protocol and therefore not knowing what to do when I click on the hyperlinks. Is this correct? If so, how do I solve the problem? Various posts say I have to register the protocol with the operating system. I have no knowledge of programming, and the how-to's I found were too complicated for me. If non-recognition of the protocol is not the problem, then what is it? I would appreciate any help on this problem, if possible a simple how-to that does not involve complex code-writing.
APPRECIATION: To the great people behind Ubuntu, thank you so much for the marvelous operating system; and to the Ubuntu community, thanks for the great work addressing problems faced by programming-incompetents like me.
Thank you for your help.
protocol zotero
protocol zotero
edited Oct 12 '17 at 15:15
Samer Abu Gahgah
291310
291310
asked Oct 12 '17 at 13:34
OsazeOsaze
1
1
Thanks for your responses. Zotero (not Zotoro) is a reference management software. In addition to the reference data, it stores attachments such as PDFs and notes to each entry. The word-processor plugin I need is installed and functions well. That is not the issue; it is rather that hyperlinks in external software to those reference items, attachments, and notes do not function. I am using Zotero standalone (5.0.22). Thanks for your help.
– Osaze
Oct 12 '17 at 15:56
add a comment |
Thanks for your responses. Zotero (not Zotoro) is a reference management software. In addition to the reference data, it stores attachments such as PDFs and notes to each entry. The word-processor plugin I need is installed and functions well. That is not the issue; it is rather that hyperlinks in external software to those reference items, attachments, and notes do not function. I am using Zotero standalone (5.0.22). Thanks for your help.
– Osaze
Oct 12 '17 at 15:56
Thanks for your responses. Zotero (not Zotoro) is a reference management software. In addition to the reference data, it stores attachments such as PDFs and notes to each entry. The word-processor plugin I need is installed and functions well. That is not the issue; it is rather that hyperlinks in external software to those reference items, attachments, and notes do not function. I am using Zotero standalone (5.0.22). Thanks for your help.
– Osaze
Oct 12 '17 at 15:56
Thanks for your responses. Zotero (not Zotoro) is a reference management software. In addition to the reference data, it stores attachments such as PDFs and notes to each entry. The word-processor plugin I need is installed and functions well. That is not the issue; it is rather that hyperlinks in external software to those reference items, attachments, and notes do not function. I am using Zotero standalone (5.0.22). Thanks for your help.
– Osaze
Oct 12 '17 at 15:56
add a comment |
2 Answers
2
active
oldest
votes
Running into the same issue on Ubuntu 18.04, I just wanted to post the solution that worked for me.
The zotero.desktop file that is installed with the current version of Zotero is correct. The only thing that is missing is the entry in the mimeapps.list. Thus, all you have to do is follow the final bit of @pim's answer:
Then edit the file
~/.config/mimeapps.list
, section[Default Applications]
, adding this line :
x-scheme-handler/zotero=zotero.desktop
Now you can test it (even without re-login) using
xdg-open zotero://abcdef
.
(I corrected the file name)
It seems you are right. I was able to open Zotero from an external hyperlink after editing the mimeapps.list file as recommended. However, this only opened Zotero but did not select the target item. That was fixed after adding "--url %u" (without the quotation marks) to the Exec line in the zotero-desktop file. Thanks to you for your contribution, and to pim for his initial help.
– Osaze
Dec 8 '18 at 13:53
add a comment |
I have no idea what zotero
is, but I have setup some custom handlers working in my desktop.
Create a file named zotero-link.desktop
in ~/.local/share/applications
(or in /usr/share/applications/zotero.desktop
if you want the url handler for all users in the system), with the following content :
[Desktop Entry]
Name=My custom zotero handler
Comment=Opens zotero
Exec=zotero %f
Type=Application
Terminal=false
MimeType=x-scheme-handler/zotero
StartupNotify=false
Categories=GNOME;
Icon=xfce4-terminal
Then edit the file ~/.config/mimeapps.list
, section [Default Applications]
, adding this line :
x-scheme-handler/zotero=zotero-link.desktop
Now you can test it (even without re-login) using xdg-open zotero://abcdef
.
Thanks for the quick answer to my question. Unfortunately, though, it does not seem to work. I created the file "zotero.desktop" in ".local/share/applications" (actually, there was already a file by that name in that folder)
– Osaze
Oct 12 '17 at 14:38
Thanks for the quick answer to my question. Unfortunately, though, it does not seem to work. I created the file "zotero.desktop" in ".local/share/applications" (actually, there was already a file by that name there: I renamed it and created the new one by that name, with the contents provided). After rebooting to Ubuntu, I found the zotero icon had been replaced by a "?" icon. Although Zotero loaded and ran normally, a hyperlink to a library item still did not work--no results at all, despite several clicks on the hyperlink. Perhaps I got something wrong? Thanks for your kind help.
– Osaze
Oct 12 '17 at 14:47
Apologies. In my frustration with the seeming impenetrability of the problem, I failed to follow your instructions faithfully: first, I mistakenly named the file I created zotero.desktop, instead of zotero-link.desktop as instructed (thus replacing the original zotero-desktop file); second, I did not edit the ~/.config/mimeapps.list as required. When I finally noticed these slips and corrected them, your solution did work--although only partly. I am very grateful for your help and ask that you (or anyone else who can) kindly indulge me further.
– Osaze
Oct 13 '17 at 19:11
Using your solution, I was able to open Zotero from an external software (Scrivener); however, the desired library item was not selected--which is actually what I require in the final analysis. After many re-tries (including cold-rebooting my computer several times, on the chance that the OS somehow was not yet reading the file), I did further explorations and found this useful post at: forums.zotero.org/discussion/8306. I gave it a try by amending my original zotero.desktop file (of which I had made a copy before replacing as mentioned above) as instructed. My original file is below:
– Osaze
Oct 13 '17 at 19:11
[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Zotero Icon=zotero.png Path=/home/osaze/Zotero_linux-x86_64 Exec=/home/osaze/Zotero_linux-x86_64/zotero-bin -app /home/osaze/Zotero_linux-x86_64/application.ini StartupNotify=false StartupWMClass=Zotero OnlyShowIn=Unity; X-UnityGenerated=true The amended file is below: [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Zotero Icon=zotero.png Exec=/opt/zotero/zotero --url %u StartupNotify=false StartupWMClass=Zotero OnlyShowIn=Unity; X-UnityGenerated=true MimeType=x-scheme-handler/zotero;
– Osaze
Oct 13 '17 at 19:13
|
show 2 more comments
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f964275%2fhow-to-register-zotero-protocol-on-ubuntu-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Running into the same issue on Ubuntu 18.04, I just wanted to post the solution that worked for me.
The zotero.desktop file that is installed with the current version of Zotero is correct. The only thing that is missing is the entry in the mimeapps.list. Thus, all you have to do is follow the final bit of @pim's answer:
Then edit the file
~/.config/mimeapps.list
, section[Default Applications]
, adding this line :
x-scheme-handler/zotero=zotero.desktop
Now you can test it (even without re-login) using
xdg-open zotero://abcdef
.
(I corrected the file name)
It seems you are right. I was able to open Zotero from an external hyperlink after editing the mimeapps.list file as recommended. However, this only opened Zotero but did not select the target item. That was fixed after adding "--url %u" (without the quotation marks) to the Exec line in the zotero-desktop file. Thanks to you for your contribution, and to pim for his initial help.
– Osaze
Dec 8 '18 at 13:53
add a comment |
Running into the same issue on Ubuntu 18.04, I just wanted to post the solution that worked for me.
The zotero.desktop file that is installed with the current version of Zotero is correct. The only thing that is missing is the entry in the mimeapps.list. Thus, all you have to do is follow the final bit of @pim's answer:
Then edit the file
~/.config/mimeapps.list
, section[Default Applications]
, adding this line :
x-scheme-handler/zotero=zotero.desktop
Now you can test it (even without re-login) using
xdg-open zotero://abcdef
.
(I corrected the file name)
It seems you are right. I was able to open Zotero from an external hyperlink after editing the mimeapps.list file as recommended. However, this only opened Zotero but did not select the target item. That was fixed after adding "--url %u" (without the quotation marks) to the Exec line in the zotero-desktop file. Thanks to you for your contribution, and to pim for his initial help.
– Osaze
Dec 8 '18 at 13:53
add a comment |
Running into the same issue on Ubuntu 18.04, I just wanted to post the solution that worked for me.
The zotero.desktop file that is installed with the current version of Zotero is correct. The only thing that is missing is the entry in the mimeapps.list. Thus, all you have to do is follow the final bit of @pim's answer:
Then edit the file
~/.config/mimeapps.list
, section[Default Applications]
, adding this line :
x-scheme-handler/zotero=zotero.desktop
Now you can test it (even without re-login) using
xdg-open zotero://abcdef
.
(I corrected the file name)
Running into the same issue on Ubuntu 18.04, I just wanted to post the solution that worked for me.
The zotero.desktop file that is installed with the current version of Zotero is correct. The only thing that is missing is the entry in the mimeapps.list. Thus, all you have to do is follow the final bit of @pim's answer:
Then edit the file
~/.config/mimeapps.list
, section[Default Applications]
, adding this line :
x-scheme-handler/zotero=zotero.desktop
Now you can test it (even without re-login) using
xdg-open zotero://abcdef
.
(I corrected the file name)
edited Dec 6 '18 at 12:19
answered Dec 6 '18 at 6:49
kaymeskaymes
313
313
It seems you are right. I was able to open Zotero from an external hyperlink after editing the mimeapps.list file as recommended. However, this only opened Zotero but did not select the target item. That was fixed after adding "--url %u" (without the quotation marks) to the Exec line in the zotero-desktop file. Thanks to you for your contribution, and to pim for his initial help.
– Osaze
Dec 8 '18 at 13:53
add a comment |
It seems you are right. I was able to open Zotero from an external hyperlink after editing the mimeapps.list file as recommended. However, this only opened Zotero but did not select the target item. That was fixed after adding "--url %u" (without the quotation marks) to the Exec line in the zotero-desktop file. Thanks to you for your contribution, and to pim for his initial help.
– Osaze
Dec 8 '18 at 13:53
It seems you are right. I was able to open Zotero from an external hyperlink after editing the mimeapps.list file as recommended. However, this only opened Zotero but did not select the target item. That was fixed after adding "--url %u" (without the quotation marks) to the Exec line in the zotero-desktop file. Thanks to you for your contribution, and to pim for his initial help.
– Osaze
Dec 8 '18 at 13:53
It seems you are right. I was able to open Zotero from an external hyperlink after editing the mimeapps.list file as recommended. However, this only opened Zotero but did not select the target item. That was fixed after adding "--url %u" (without the quotation marks) to the Exec line in the zotero-desktop file. Thanks to you for your contribution, and to pim for his initial help.
– Osaze
Dec 8 '18 at 13:53
add a comment |
I have no idea what zotero
is, but I have setup some custom handlers working in my desktop.
Create a file named zotero-link.desktop
in ~/.local/share/applications
(or in /usr/share/applications/zotero.desktop
if you want the url handler for all users in the system), with the following content :
[Desktop Entry]
Name=My custom zotero handler
Comment=Opens zotero
Exec=zotero %f
Type=Application
Terminal=false
MimeType=x-scheme-handler/zotero
StartupNotify=false
Categories=GNOME;
Icon=xfce4-terminal
Then edit the file ~/.config/mimeapps.list
, section [Default Applications]
, adding this line :
x-scheme-handler/zotero=zotero-link.desktop
Now you can test it (even without re-login) using xdg-open zotero://abcdef
.
Thanks for the quick answer to my question. Unfortunately, though, it does not seem to work. I created the file "zotero.desktop" in ".local/share/applications" (actually, there was already a file by that name in that folder)
– Osaze
Oct 12 '17 at 14:38
Thanks for the quick answer to my question. Unfortunately, though, it does not seem to work. I created the file "zotero.desktop" in ".local/share/applications" (actually, there was already a file by that name there: I renamed it and created the new one by that name, with the contents provided). After rebooting to Ubuntu, I found the zotero icon had been replaced by a "?" icon. Although Zotero loaded and ran normally, a hyperlink to a library item still did not work--no results at all, despite several clicks on the hyperlink. Perhaps I got something wrong? Thanks for your kind help.
– Osaze
Oct 12 '17 at 14:47
Apologies. In my frustration with the seeming impenetrability of the problem, I failed to follow your instructions faithfully: first, I mistakenly named the file I created zotero.desktop, instead of zotero-link.desktop as instructed (thus replacing the original zotero-desktop file); second, I did not edit the ~/.config/mimeapps.list as required. When I finally noticed these slips and corrected them, your solution did work--although only partly. I am very grateful for your help and ask that you (or anyone else who can) kindly indulge me further.
– Osaze
Oct 13 '17 at 19:11
Using your solution, I was able to open Zotero from an external software (Scrivener); however, the desired library item was not selected--which is actually what I require in the final analysis. After many re-tries (including cold-rebooting my computer several times, on the chance that the OS somehow was not yet reading the file), I did further explorations and found this useful post at: forums.zotero.org/discussion/8306. I gave it a try by amending my original zotero.desktop file (of which I had made a copy before replacing as mentioned above) as instructed. My original file is below:
– Osaze
Oct 13 '17 at 19:11
[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Zotero Icon=zotero.png Path=/home/osaze/Zotero_linux-x86_64 Exec=/home/osaze/Zotero_linux-x86_64/zotero-bin -app /home/osaze/Zotero_linux-x86_64/application.ini StartupNotify=false StartupWMClass=Zotero OnlyShowIn=Unity; X-UnityGenerated=true The amended file is below: [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Zotero Icon=zotero.png Exec=/opt/zotero/zotero --url %u StartupNotify=false StartupWMClass=Zotero OnlyShowIn=Unity; X-UnityGenerated=true MimeType=x-scheme-handler/zotero;
– Osaze
Oct 13 '17 at 19:13
|
show 2 more comments
I have no idea what zotero
is, but I have setup some custom handlers working in my desktop.
Create a file named zotero-link.desktop
in ~/.local/share/applications
(or in /usr/share/applications/zotero.desktop
if you want the url handler for all users in the system), with the following content :
[Desktop Entry]
Name=My custom zotero handler
Comment=Opens zotero
Exec=zotero %f
Type=Application
Terminal=false
MimeType=x-scheme-handler/zotero
StartupNotify=false
Categories=GNOME;
Icon=xfce4-terminal
Then edit the file ~/.config/mimeapps.list
, section [Default Applications]
, adding this line :
x-scheme-handler/zotero=zotero-link.desktop
Now you can test it (even without re-login) using xdg-open zotero://abcdef
.
Thanks for the quick answer to my question. Unfortunately, though, it does not seem to work. I created the file "zotero.desktop" in ".local/share/applications" (actually, there was already a file by that name in that folder)
– Osaze
Oct 12 '17 at 14:38
Thanks for the quick answer to my question. Unfortunately, though, it does not seem to work. I created the file "zotero.desktop" in ".local/share/applications" (actually, there was already a file by that name there: I renamed it and created the new one by that name, with the contents provided). After rebooting to Ubuntu, I found the zotero icon had been replaced by a "?" icon. Although Zotero loaded and ran normally, a hyperlink to a library item still did not work--no results at all, despite several clicks on the hyperlink. Perhaps I got something wrong? Thanks for your kind help.
– Osaze
Oct 12 '17 at 14:47
Apologies. In my frustration with the seeming impenetrability of the problem, I failed to follow your instructions faithfully: first, I mistakenly named the file I created zotero.desktop, instead of zotero-link.desktop as instructed (thus replacing the original zotero-desktop file); second, I did not edit the ~/.config/mimeapps.list as required. When I finally noticed these slips and corrected them, your solution did work--although only partly. I am very grateful for your help and ask that you (or anyone else who can) kindly indulge me further.
– Osaze
Oct 13 '17 at 19:11
Using your solution, I was able to open Zotero from an external software (Scrivener); however, the desired library item was not selected--which is actually what I require in the final analysis. After many re-tries (including cold-rebooting my computer several times, on the chance that the OS somehow was not yet reading the file), I did further explorations and found this useful post at: forums.zotero.org/discussion/8306. I gave it a try by amending my original zotero.desktop file (of which I had made a copy before replacing as mentioned above) as instructed. My original file is below:
– Osaze
Oct 13 '17 at 19:11
[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Zotero Icon=zotero.png Path=/home/osaze/Zotero_linux-x86_64 Exec=/home/osaze/Zotero_linux-x86_64/zotero-bin -app /home/osaze/Zotero_linux-x86_64/application.ini StartupNotify=false StartupWMClass=Zotero OnlyShowIn=Unity; X-UnityGenerated=true The amended file is below: [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Zotero Icon=zotero.png Exec=/opt/zotero/zotero --url %u StartupNotify=false StartupWMClass=Zotero OnlyShowIn=Unity; X-UnityGenerated=true MimeType=x-scheme-handler/zotero;
– Osaze
Oct 13 '17 at 19:13
|
show 2 more comments
I have no idea what zotero
is, but I have setup some custom handlers working in my desktop.
Create a file named zotero-link.desktop
in ~/.local/share/applications
(or in /usr/share/applications/zotero.desktop
if you want the url handler for all users in the system), with the following content :
[Desktop Entry]
Name=My custom zotero handler
Comment=Opens zotero
Exec=zotero %f
Type=Application
Terminal=false
MimeType=x-scheme-handler/zotero
StartupNotify=false
Categories=GNOME;
Icon=xfce4-terminal
Then edit the file ~/.config/mimeapps.list
, section [Default Applications]
, adding this line :
x-scheme-handler/zotero=zotero-link.desktop
Now you can test it (even without re-login) using xdg-open zotero://abcdef
.
I have no idea what zotero
is, but I have setup some custom handlers working in my desktop.
Create a file named zotero-link.desktop
in ~/.local/share/applications
(or in /usr/share/applications/zotero.desktop
if you want the url handler for all users in the system), with the following content :
[Desktop Entry]
Name=My custom zotero handler
Comment=Opens zotero
Exec=zotero %f
Type=Application
Terminal=false
MimeType=x-scheme-handler/zotero
StartupNotify=false
Categories=GNOME;
Icon=xfce4-terminal
Then edit the file ~/.config/mimeapps.list
, section [Default Applications]
, adding this line :
x-scheme-handler/zotero=zotero-link.desktop
Now you can test it (even without re-login) using xdg-open zotero://abcdef
.
edited Oct 13 '17 at 9:29
answered Oct 12 '17 at 13:55
pimpim
1,889825
1,889825
Thanks for the quick answer to my question. Unfortunately, though, it does not seem to work. I created the file "zotero.desktop" in ".local/share/applications" (actually, there was already a file by that name in that folder)
– Osaze
Oct 12 '17 at 14:38
Thanks for the quick answer to my question. Unfortunately, though, it does not seem to work. I created the file "zotero.desktop" in ".local/share/applications" (actually, there was already a file by that name there: I renamed it and created the new one by that name, with the contents provided). After rebooting to Ubuntu, I found the zotero icon had been replaced by a "?" icon. Although Zotero loaded and ran normally, a hyperlink to a library item still did not work--no results at all, despite several clicks on the hyperlink. Perhaps I got something wrong? Thanks for your kind help.
– Osaze
Oct 12 '17 at 14:47
Apologies. In my frustration with the seeming impenetrability of the problem, I failed to follow your instructions faithfully: first, I mistakenly named the file I created zotero.desktop, instead of zotero-link.desktop as instructed (thus replacing the original zotero-desktop file); second, I did not edit the ~/.config/mimeapps.list as required. When I finally noticed these slips and corrected them, your solution did work--although only partly. I am very grateful for your help and ask that you (or anyone else who can) kindly indulge me further.
– Osaze
Oct 13 '17 at 19:11
Using your solution, I was able to open Zotero from an external software (Scrivener); however, the desired library item was not selected--which is actually what I require in the final analysis. After many re-tries (including cold-rebooting my computer several times, on the chance that the OS somehow was not yet reading the file), I did further explorations and found this useful post at: forums.zotero.org/discussion/8306. I gave it a try by amending my original zotero.desktop file (of which I had made a copy before replacing as mentioned above) as instructed. My original file is below:
– Osaze
Oct 13 '17 at 19:11
[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Zotero Icon=zotero.png Path=/home/osaze/Zotero_linux-x86_64 Exec=/home/osaze/Zotero_linux-x86_64/zotero-bin -app /home/osaze/Zotero_linux-x86_64/application.ini StartupNotify=false StartupWMClass=Zotero OnlyShowIn=Unity; X-UnityGenerated=true The amended file is below: [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Zotero Icon=zotero.png Exec=/opt/zotero/zotero --url %u StartupNotify=false StartupWMClass=Zotero OnlyShowIn=Unity; X-UnityGenerated=true MimeType=x-scheme-handler/zotero;
– Osaze
Oct 13 '17 at 19:13
|
show 2 more comments
Thanks for the quick answer to my question. Unfortunately, though, it does not seem to work. I created the file "zotero.desktop" in ".local/share/applications" (actually, there was already a file by that name in that folder)
– Osaze
Oct 12 '17 at 14:38
Thanks for the quick answer to my question. Unfortunately, though, it does not seem to work. I created the file "zotero.desktop" in ".local/share/applications" (actually, there was already a file by that name there: I renamed it and created the new one by that name, with the contents provided). After rebooting to Ubuntu, I found the zotero icon had been replaced by a "?" icon. Although Zotero loaded and ran normally, a hyperlink to a library item still did not work--no results at all, despite several clicks on the hyperlink. Perhaps I got something wrong? Thanks for your kind help.
– Osaze
Oct 12 '17 at 14:47
Apologies. In my frustration with the seeming impenetrability of the problem, I failed to follow your instructions faithfully: first, I mistakenly named the file I created zotero.desktop, instead of zotero-link.desktop as instructed (thus replacing the original zotero-desktop file); second, I did not edit the ~/.config/mimeapps.list as required. When I finally noticed these slips and corrected them, your solution did work--although only partly. I am very grateful for your help and ask that you (or anyone else who can) kindly indulge me further.
– Osaze
Oct 13 '17 at 19:11
Using your solution, I was able to open Zotero from an external software (Scrivener); however, the desired library item was not selected--which is actually what I require in the final analysis. After many re-tries (including cold-rebooting my computer several times, on the chance that the OS somehow was not yet reading the file), I did further explorations and found this useful post at: forums.zotero.org/discussion/8306. I gave it a try by amending my original zotero.desktop file (of which I had made a copy before replacing as mentioned above) as instructed. My original file is below:
– Osaze
Oct 13 '17 at 19:11
[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Zotero Icon=zotero.png Path=/home/osaze/Zotero_linux-x86_64 Exec=/home/osaze/Zotero_linux-x86_64/zotero-bin -app /home/osaze/Zotero_linux-x86_64/application.ini StartupNotify=false StartupWMClass=Zotero OnlyShowIn=Unity; X-UnityGenerated=true The amended file is below: [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Zotero Icon=zotero.png Exec=/opt/zotero/zotero --url %u StartupNotify=false StartupWMClass=Zotero OnlyShowIn=Unity; X-UnityGenerated=true MimeType=x-scheme-handler/zotero;
– Osaze
Oct 13 '17 at 19:13
Thanks for the quick answer to my question. Unfortunately, though, it does not seem to work. I created the file "zotero.desktop" in ".local/share/applications" (actually, there was already a file by that name in that folder)
– Osaze
Oct 12 '17 at 14:38
Thanks for the quick answer to my question. Unfortunately, though, it does not seem to work. I created the file "zotero.desktop" in ".local/share/applications" (actually, there was already a file by that name in that folder)
– Osaze
Oct 12 '17 at 14:38
Thanks for the quick answer to my question. Unfortunately, though, it does not seem to work. I created the file "zotero.desktop" in ".local/share/applications" (actually, there was already a file by that name there: I renamed it and created the new one by that name, with the contents provided). After rebooting to Ubuntu, I found the zotero icon had been replaced by a "?" icon. Although Zotero loaded and ran normally, a hyperlink to a library item still did not work--no results at all, despite several clicks on the hyperlink. Perhaps I got something wrong? Thanks for your kind help.
– Osaze
Oct 12 '17 at 14:47
Thanks for the quick answer to my question. Unfortunately, though, it does not seem to work. I created the file "zotero.desktop" in ".local/share/applications" (actually, there was already a file by that name there: I renamed it and created the new one by that name, with the contents provided). After rebooting to Ubuntu, I found the zotero icon had been replaced by a "?" icon. Although Zotero loaded and ran normally, a hyperlink to a library item still did not work--no results at all, despite several clicks on the hyperlink. Perhaps I got something wrong? Thanks for your kind help.
– Osaze
Oct 12 '17 at 14:47
Apologies. In my frustration with the seeming impenetrability of the problem, I failed to follow your instructions faithfully: first, I mistakenly named the file I created zotero.desktop, instead of zotero-link.desktop as instructed (thus replacing the original zotero-desktop file); second, I did not edit the ~/.config/mimeapps.list as required. When I finally noticed these slips and corrected them, your solution did work--although only partly. I am very grateful for your help and ask that you (or anyone else who can) kindly indulge me further.
– Osaze
Oct 13 '17 at 19:11
Apologies. In my frustration with the seeming impenetrability of the problem, I failed to follow your instructions faithfully: first, I mistakenly named the file I created zotero.desktop, instead of zotero-link.desktop as instructed (thus replacing the original zotero-desktop file); second, I did not edit the ~/.config/mimeapps.list as required. When I finally noticed these slips and corrected them, your solution did work--although only partly. I am very grateful for your help and ask that you (or anyone else who can) kindly indulge me further.
– Osaze
Oct 13 '17 at 19:11
Using your solution, I was able to open Zotero from an external software (Scrivener); however, the desired library item was not selected--which is actually what I require in the final analysis. After many re-tries (including cold-rebooting my computer several times, on the chance that the OS somehow was not yet reading the file), I did further explorations and found this useful post at: forums.zotero.org/discussion/8306. I gave it a try by amending my original zotero.desktop file (of which I had made a copy before replacing as mentioned above) as instructed. My original file is below:
– Osaze
Oct 13 '17 at 19:11
Using your solution, I was able to open Zotero from an external software (Scrivener); however, the desired library item was not selected--which is actually what I require in the final analysis. After many re-tries (including cold-rebooting my computer several times, on the chance that the OS somehow was not yet reading the file), I did further explorations and found this useful post at: forums.zotero.org/discussion/8306. I gave it a try by amending my original zotero.desktop file (of which I had made a copy before replacing as mentioned above) as instructed. My original file is below:
– Osaze
Oct 13 '17 at 19:11
[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Zotero Icon=zotero.png Path=/home/osaze/Zotero_linux-x86_64 Exec=/home/osaze/Zotero_linux-x86_64/zotero-bin -app /home/osaze/Zotero_linux-x86_64/application.ini StartupNotify=false StartupWMClass=Zotero OnlyShowIn=Unity; X-UnityGenerated=true The amended file is below: [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Zotero Icon=zotero.png Exec=/opt/zotero/zotero --url %u StartupNotify=false StartupWMClass=Zotero OnlyShowIn=Unity; X-UnityGenerated=true MimeType=x-scheme-handler/zotero;
– Osaze
Oct 13 '17 at 19:13
[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Zotero Icon=zotero.png Path=/home/osaze/Zotero_linux-x86_64 Exec=/home/osaze/Zotero_linux-x86_64/zotero-bin -app /home/osaze/Zotero_linux-x86_64/application.ini StartupNotify=false StartupWMClass=Zotero OnlyShowIn=Unity; X-UnityGenerated=true The amended file is below: [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Zotero Icon=zotero.png Exec=/opt/zotero/zotero --url %u StartupNotify=false StartupWMClass=Zotero OnlyShowIn=Unity; X-UnityGenerated=true MimeType=x-scheme-handler/zotero;
– Osaze
Oct 13 '17 at 19:13
|
show 2 more comments
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f964275%2fhow-to-register-zotero-protocol-on-ubuntu-16-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Thanks for your responses. Zotero (not Zotoro) is a reference management software. In addition to the reference data, it stores attachments such as PDFs and notes to each entry. The word-processor plugin I need is installed and functions well. That is not the issue; it is rather that hyperlinks in external software to those reference items, attachments, and notes do not function. I am using Zotero standalone (5.0.22). Thanks for your help.
– Osaze
Oct 12 '17 at 15:56