Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zotero links are broken due to wrong .desktop file #6

Open
malte-v opened this issue Jan 6, 2025 · 1 comment
Open

Zotero links are broken due to wrong .desktop file #6

malte-v opened this issue Jan 6, 2025 · 1 comment

Comments

@malte-v
Copy link

malte-v commented Jan 6, 2025

First of all, thanks for taking on the effort to package Zotero! It works very well for me on aarch64-linux, but I've noticed that zotero:// links are not handled by Zotero, rendering them useless. I think this is because the correct .desktop file gets overwritten by a wrong one in the wrapFirefox function. As the creation of the desktop file by wrapFirefox is not really configurable, fixing this in a non-hacky way would probably require an upstream change to nixpkgs.

@malte-v
Copy link
Author

malte-v commented Jan 6, 2025

A less elegant fix which doesn't require a change to nixpkgs is to use overrideAttrs to override the desktop item on the final, wrapped derivation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant