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

cockpit-desktop: Support Firefox flatpak #21224

Merged
merged 2 commits into from
Nov 6, 2024

Commits on Nov 6, 2024

  1. cockpit-desktop: Support Firefox flatpak

    RHEL 10 does not ship Firefox as RPM any more, and will instead use a
    flatpak. For now, check for/run the IDs of the official upstream Mozilla Firefox
    on flathub and the RHEL flatpak [1].
    
    Surprisingly, `flatpak run` works fine inside our little network
    namespace.
    
    https://issues.redhat.com/browse/RHEL-65847
    
    [1] https://catalog.redhat.com/search?gs&q=firefox-flatpak
    martinpitt committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    24a3648 View commit details
    Browse the repository at this point in the history
  2. cockpit-desktop: Add firefox profile to hide privacy bar/tab and book…

    …marks
    
    This makes the cockpit-desktop experience a bit more tasteful with
    Firefox -- avoid the second broken tab (with the privacy note, which you can't
    open anyway as this is an isolated network namespace), and disable data
    submission to avoid the privacy hint notification bar.
    
    Also disable the bookmark toolbar. It doesn't appear by default with the
    upstream Firefox flatpak, but it does show with the Fedora version.
    
    Move `BROWSER_HOME` out of the inner script into the top-level, so that
    the browser profile can be created inside it.
    martinpitt committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    cbeaadc View commit details
    Browse the repository at this point in the history