Skip to content

Support chrome/chromium installed via snap (Ubuntu 20) #33

Description

@balta2ar

Mediator app wouldn't start when installed into a Chrome/Chromium via snap.

There are several issues with how Chromium is run via snap:

  1. Chromium can't see locally-install pip packages, it doesn't have access to ~/.local. Solution: sudo pip3 install brotab
  2. Native app config is in a different place, e.g.: ~/snap/chromium/1165/.config/chromium/NativeMessagingHosts/brotab_mediator.json. Solution: support that location in bt install (TODO).
  3. Wrong path to binary. It should be something like /usr/local/bin/bt_mediator
  4. The mediator still wouldn't start with the message: "Native app cannot be found" or along those lines.

I couldn't figure out all the issues with the snap-installed chromium and I'll probably will not do that since I removed it and installed from apt repo: sudo add-apt-repository ppa:saiarcot895/chromium-dev. Anyone's willing to dig into it, welcome.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions