-
Notifications
You must be signed in to change notification settings - Fork 30
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
Setting up on chromium in Linux Mint 20 #36
Comments
This is almost certainly a snap-related problem. IIRC snaps have some sort of isolation by default, where they can only access certain paths. I have no idea where a snap-installed chromium expects to find its native messaging hosts (in a non-snap install, the system path is usually |
I already put the files at said location
"/home/user/snap/chromium/nativemessaginghosts" and the Jason file points
to the right location...what do you mean trim off trim off the snap prefix?
Where do I do that?
…On Wed, Jul 15, 2020, 1:04 AM Peter Fern ***@***.***> wrote:
This is almost certainly a snap-related problem. IIRC snaps have some sort
of isolation by default, where they can only access certain paths. I have
no idea where a snap-installed chromium expects to find its native
messaging hosts (in a non-snap install, the system path is usually
/etc/chromium/native-messaging-hosts/), but if you can work that out, and
place the two files there, you will then need to edit the
com.0xc0dedbad.kdeconnect_chrome.json file and update the path field to
point to the right location. However, I don't know if snaps behave like a
chroot - if they do you would have to trim off the snap prefix from the
absolute path outside the snap.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQJGIEKG4DOSAGCEO2BUGKDR3U2FFANCNFSM4O2EITZA>
.
|
Are you certain that's where chromium expects to find it? I don't know enough about snaps, or where chromium expects to find its configuration data in this particular snap setup, but that directory structure and path being correct would surprise me greatly. Do you have any documentation or anything that says this is where it should be?
This would only apply if snaps behave like a |
I'm sure that's right because I backed up my chromium install/profile
before updating from mint 19 to 20, knowing mint would no longer come with
snapd, after re-enabling and installing snap I downloaded chromium like
normal and that's where it went and restoring my backup at that location
worked fine.... Apparently in mint 20 anything you install through snap
we'll just go to a snap folder in your home directory
…On Thu, Jul 16, 2020, 9:20 AM Peter Fern ***@***.***> wrote:
I already put the files at said location
"/home/user/snap/chromium/nativemessaginghosts"
Are you certain that's where chromium expects to find it? I don't know
enough about snaps, or where chromium expects to find its configuration
data in this particular snap setup, but that directory structure and path
being correct would surprise me greatly. Do you have any documentation or
anything that says this is where it should be?
what do you mean trim off trim off the snap prefix?
This would only apply if snaps behave like a chroot, I don't know if they
do or not.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQJGIENNZY4OIF4MDHZPHDLR335BPANCNFSM4O2EITZA>
.
|
Of course it could just be finding the profile there and creating folders
and files in the normal locations in the root directory, other than
installing chromium I don't know how much snap has to do with it... When I
get home I'll look to see if there is another native messaging host folder
somewhere else
On Thu, Jul 16, 2020, 12:19 PM Patrick Vickery <[email protected]>
wrote:
… I'm sure that's right because I backed up my chromium install/profile
before updating from mint 19 to 20, knowing mint would no longer come with
snapd, after re-enabling and installing snap I downloaded chromium like
normal and that's where it went and restoring my backup at that location
worked fine.... Apparently in mint 20 anything you install through snap
we'll just go to a snap folder in your home directory
On Thu, Jul 16, 2020, 9:20 AM Peter Fern ***@***.***> wrote:
> I already put the files at said location
> "/home/user/snap/chromium/nativemessaginghosts"
>
> Are you certain that's where chromium expects to find it? I don't know
> enough about snaps, or where chromium expects to find its configuration
> data in this particular snap setup, but that directory structure and path
> being correct would surprise me greatly. Do you have any documentation or
> anything that says this is where it should be?
>
> what do you mean trim off trim off the snap prefix?
>
> This would only apply if snaps behave like a chroot, I don't know if
> they do or not.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#36 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AQJGIENNZY4OIF4MDHZPHDLR335BPANCNFSM4O2EITZA>
> .
>
|
Hey, I got it running with snap on ubuntu. Was getting a similar error than @Coolwhipit . Looks like the location for chromium needs to be adjusted to install it together with snap?
While replacing $HOME with your user name. |
Describe the bug
Installed chromium with snapd, after re-enabling/installing on Mint 20, to /home/snap directory. Downloaded native host and tried to set up by both pointing to chromium and pointing to custom path "/home/snap/chromium/NativeMessagingHosts". KDE connect extension continues to say "error: Can not connect to native host" "error: No version response recieved from native host"
Smartphone (please complete the following information):
Additional context
I have never used the extension with previous linux mint distros, so I am not sure if this is a mint problem in general...or a mint 20/snap problem.
The text was updated successfully, but these errors were encountered: