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

librewolf: use new d-bus message bus #4897

Merged
merged 1 commit into from
Feb 4, 2022

Conversation

Eklektisk
Copy link
Contributor

Starting Librewolf 96.0, Librewolf switched from using d-bus org.mozilla.librewolf.* to io.gitlab.librewolf.* for communicating with open browser sessions.

Starting Librewolf 96.0, Librewolf switched from using d-bus org.mozilla.librewolf.* to io.gitlab.librewolf.*
@kmk3
Copy link
Collaborator

kmk3 commented Feb 4, 2022

Related comment:

#4891 (comment)

Copy link
Collaborator

@rusty-snake rusty-snake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rusty-snake rusty-snake linked an issue Feb 4, 2022 that may be closed by this pull request
@netblue30
Copy link
Owner

I'll merge it and add back the old dbus-user command as suggested.

@netblue30 netblue30 merged commit bdac2f5 into netblue30:master Feb 4, 2022
@netblue30
Copy link
Owner

Fix in 4211ee3

@kmk3 kmk3 changed the title Update librewolf.profile: use new d-bus message bus librewolf: use new d-bus message bus Aug 28, 2024
kmk3 added a commit to kmk3/firejail that referenced this pull request Sep 11, 2024
It appears that LibreWolf 129 uses `io.gitlab.firefox.*` as the dbus
name.

Commands used to check the dbus name:

    $ busctl --user --no-legend | grep -v '^:' | grep librewolf |
      sed -E 's/(^[^ ]+\.)[^. ]+ .*/\1/'
    io.gitlab.firefox.

Commands used to test dbus communication:

    # Open a new browser instance:
    $ firejail --name=lwtest --ignore=name --ignore='dbus-user none' \
      --dbus-user=filter --dbus-user.own='io.gitlab.firefox.*' \
      --private --net=none --ignore=net /usr/bin/librewolf
    # In another shell, try to open a new tab:
    $ firejail --join=lwtest /usr/bin/librewolf --new-tab about:blank
    # Check that the new tab was opened

Related commits:

* c3f2996 ("Let programs outside librewolf sandbox open new tabs in
  librewolf (netblue30#4546)", 2021-09-19)
* a8ad9ca ("Update librewolf.profile: use new message bus",
  2022-02-03) / PR netblue30#4897
* 4211ee3 ("merges", 2022-02-04)

Fixes netblue30#6413.

Misc: This was noticed on netblue30#6444.

Reported-by: @Lonniebiz
kmk3 added a commit to kmk3/firejail that referenced this pull request Sep 13, 2024
It appears that LibreWolf 129 uses `io.gitlab.firefox.*` as the dbus
name.

Commands used to check the dbus name:

    $ busctl --user --no-legend | grep -v '^:' | grep librewolf |
      sed -E 's/(^[^ ]+\.)[^. ]+ .*/\1/'
    io.gitlab.firefox.

Commands used to test dbus communication:

    # Open a new browser instance:
    $ firejail --name=lwtest --ignore=name --ignore='dbus-user none' \
      --dbus-user=filter --dbus-user.own='io.gitlab.firefox.*' \
      --private --net=none --ignore=net /usr/bin/librewolf
    # In another shell, try to open a new tab:
    $ firejail --join=lwtest /usr/bin/librewolf --new-tab about:blank
    # Check that the new tab was opened

Related commits:

* c3f2996 ("Let programs outside librewolf sandbox open new tabs in
  librewolf (netblue30#4546)", 2021-09-19)
* a8ad9ca ("Update librewolf.profile: use new message bus",
  2022-02-03) / PR netblue30#4897
* 4211ee3 ("merges", 2022-02-04)

Fixes netblue30#6413.

Misc: This was noticed on netblue30#6444.

Reported-by: @Lonniebiz
kmk3 added a commit that referenced this pull request Sep 13, 2024
It appears that LibreWolf 129 uses `io.gitlab.firefox.*` as the dbus
name.

Commands used to check the dbus name:

    $ busctl --user --no-legend | grep -v '^:' | grep librewolf |
      sed -E 's/(^[^ ]+\.)[^. ]+ .*/\1/'
    io.gitlab.firefox.

Commands used to test dbus communication:

    # Open a new browser instance:
    $ firejail --name=lwtest --ignore=name --ignore='dbus-user none' \
      --dbus-user=filter --dbus-user.own='io.gitlab.firefox.*' \
      --private --net=none --ignore=net /usr/bin/librewolf
    # In another shell, try to open a new tab:
    $ firejail --join=lwtest /usr/bin/librewolf --new-tab about:blank
    # Check that the new tab was opened

Related commits:

* c3f2996 ("Let programs outside librewolf sandbox open new tabs in
  librewolf (#4546)", 2021-09-19)
* a8ad9ca ("Update librewolf.profile: use new message bus",
  2022-02-03) / PR #4897
* 4211ee3 ("merges", 2022-02-04)

Fixes #6413.

Misc: This was noticed on #6444.

Reported-by: @Lonniebiz
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

Successfully merging this pull request may close these issues.

librewolf: cannot open new URLs into running instance
4 participants