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

[Linux] Chrome / Chromium extension not detecting application #11

Closed
yochananmarqos opened this issue Jun 29, 2020 · 6 comments
Closed
Assignees
Labels
bug Something isn't working
Projects

Comments

@yochananmarqos
Copy link

yochananmarqos commented Jun 29, 2020

I installed launcher-manifest-chrome.json as /etc/chromium/native-messaging-hosts/DownRightNow.json for Chromium and /etc/opt/chrome/native-messaging-hosts/DownRightNow.json for Chrome, but neither detect the application in /opt/downzemall/. However, I also installed launcher-manifest-firefox.json as /usr/lib/mozilla/native-messaging-hosts/DownRightNow.json and Firefox detects it.

  "path": "/opt/downzemall/launcher",
/opt/downzemall/
├── DownZemAll
├── launcher
├── locale
│   ├── dza_ar_EG.qm
│   ├── dza_de_DE.qm
│   ├── dza_en_US.qm
│   ├── dza_es_ES.qm
│   ├── dza_fr_FR.qm
│   ├── dza_ko_KR.qm
│   ├── dza_pt_PT.qm
│   ├── dza_ru_RU.qm
│   └── dza_zh_CN.qm
├── queue.json
└── youtube-dl -> /usr/bin/youtube-dl
@yochananmarqos yochananmarqos changed the title Chrome / Chromium extension not detecting application [Linux] Chrome / Chromium extension not detecting application Jun 29, 2020
@yochananmarqos
Copy link
Author

yochananmarqos commented Jul 25, 2020

I just updated to 2.0.4 and updated the extension manually since it's not yet available on the Chrome web store. Same deal.

EDIT: Forgot to mention, I'm the AUR package maintainer.

@setvisible
Copy link
Owner

I just saw the AUR link. Nice work!

It's a bit cumbersome to install the app on Linux. At the moment there are still opened issues (especially to make a valid AppImage..), so it's great to see you achieved to install it (at least manually) on ArchLinux and it worked.

FYI sometimes the web-extension addon is in a lower version (for instance 2.0.3) while the app is in a more recent version (like 2.0.4). It's ok, because the addon didn't change between v2.0.3 and v2.0.4. The addon's upgrade on the Firefox/Chrome webstores isn't automatic, and generally I don't make the effort to upgrade when the change concerns the version number only. This decision pattern could be called a lazy non-upgrade.

If you need anything, let me know.

@setvisible setvisible added this to To do in 2020 via automation Jul 26, 2020
@setvisible
Copy link
Owner

Possible solution:
#17 (comment)

@setvisible setvisible moved this from To do to In progress in 2020 Nov 22, 2020
@setvisible setvisible self-assigned this Nov 22, 2020
@setvisible setvisible added the bug Something isn't working label Nov 22, 2020
@yochananmarqos
Copy link
Author

yochananmarqos commented Nov 22, 2020

Copying it to ~/.config/chromium/NativeMessagingHosts/ doesn't work. All the other extensions I have installed that place files in either place work fine.

❯ ls /etc/chromium/native-messaging-hosts
DownRightNow.json  io.keybase.kbnm.json  me.f1u77y.web_media_controller.json  org.gnome.chrome_gnome_shell.json  org.gnome.shell.extensions.gsconnect.json

@setvisible
Copy link
Owner

setvisible commented Nov 28, 2020

Maybe rename the file to "com.setvisible.downrightnow.json" instead of "DownRightNow.json"

full path : ~/.config/chromium/NativeMessagingHosts/com.setvisible.downrightnow.json

For Firefox, it's a different convention:
~/.mozilla/native-messaging-hosts/DownRightNow.json

For info:

Cheers

@yochananmarqos
Copy link
Author

Aha! That fixes it. I've updated the AUR package.

@setvisible setvisible moved this from In progress to Done in 2020 Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
2020
  
Done
Development

No branches or pull requests

2 participants