Skip to content

Commit

Permalink
profiles: librewolf: add new dbus name (io.gitlab.firefox.*)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kmk3 committed Sep 11, 2024
1 parent 780aea3 commit 7aca8c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/profile-a-l/librewolf.profile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ whitelist /usr/share/librewolf
private-etc librewolf

dbus-user filter
dbus-user.own io.gitlab.firefox.*
dbus-user.own io.gitlab.librewolf.*
dbus-user.own org.mozilla.librewolf.*
# Add the next line to your librewolf.local to enable native notifications.
Expand Down

0 comments on commit 7aca8c3

Please sign in to comment.