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

Does not work on ubuntu 22 firefox snap version #125

Open
secondstrikerss opened this issue Oct 24, 2023 · 8 comments
Open

Does not work on ubuntu 22 firefox snap version #125

secondstrikerss opened this issue Oct 24, 2023 · 8 comments

Comments

@secondstrikerss
Copy link

secondstrikerss commented Oct 24, 2023

I tried this extension, installed client native app successfully, But this is not working.
Debugger in console, message is
OperationError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path “/org/freedesktop/portal/desktop/session/1_595/firefox_com_add0n_node_2731148420”

@secondstrikerss secondstrikerss changed the title Does not work on ubuntu 22 firefox snao version Does not work on ubuntu 22 firefox snap version Oct 24, 2023
@Mohammad-gif
Copy link

Ra:/`-′·′one_,-'sorna,.coconut pipe—bronex|°

@yoyoma2
Copy link

yoyoma2 commented May 24, 2024

Also does not work on up to date ubuntu 24.04 LTS in firefox. Tried linux.zip and linux-bunjs-beta.zip and they install successfully but the "Check Connection" always fails.

@55555hedi
Copy link

55555hedi commented May 24, 2024 via email

@yoyoma2
Copy link

yoyoma2 commented May 25, 2024

Rebooted and trying to use the add-on still it brings up the "One Last Step" page even though the ">>> host is ready <<<" appeared after installing the native client.
The "Check Connection" button on that page says: "Cannot find the native client. Follow the 3 steps to install the native client".
This is a vanilla ubuntu 24.04 and firefox installation.

@izderadicka
Copy link

This helps on Ubuntu installed via snap :

ln -s ~/snap/firefox/common/.mozilla/ ~/.mozilla

@yoyoma2
Copy link

yoyoma2 commented Jul 20, 2024

This helps on Ubuntu installed via snap :

ln -s ~/snap/firefox/common/.mozilla/ ~/.mozilla

That didn't work for ubuntu 24.04 LTS. That command created a ~/.mozilla/.mozilla symbolic link. Did you mean?

ln -s ~/snap/firefox/common/.mozilla ~

The symlink gives two paths to the com.add0n.node.json installed by install.sh. What are the two paths that work on your system with your symlink?

$ ls ~/.mozilla/native-messaging-hosts/com.add0n.node.json
/home/myuser/.mozilla/native-messaging-hosts/com.add0n.node.json
$ ls ~/snap/firefox/common/.mozilla/native-messaging-hosts/com.add0n.node.json
/home/myuser/snap/firefox/common/.mozilla/native-messaging-hosts/com.add0n.node.json

@izderadicka
Copy link

I do have rather new install of Ubuntu 24.04. and it works.

On Ubuntu default FF is installed via snap, so it's config files are not in the directory script expects.
This this if fixed by creating symbolic link - script expects in at ~/.mozilla - which is default location if you install FF from .deb.

There is also this issue #119 - you might need to to fix run.sh script accordingly.

@yoyoma2
Copy link

yoyoma2 commented Jul 22, 2024

Manually applying the change from issue #119 then re-running install.sh fixed it.

I also kept the .mozilla symbolic link you previously suggested. My ubuntu 24.04 LTS is an upgrade so if a ~/.mozilla folder already exists it needs to be removed and replaced by the symlink.

Thanks for your help @izderadicka!

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

5 participants