Google Chrome flatpak on Silverblue

I have installed the Google Chrome browser as flatpak from eos-apps.

wget https://origin.ostree.endlessm.com/keys/eos-flatpak-keyring.gpg
flatpak remote-add --gpg-import=eos-flatpak-keyring.gpg eos-apps https://ostree.endlessm.com/ostree/eos-apps
flatpak install eos-apps com.google.Chrome
git clone https://github.com/endlessm/eos-google-chrome-app.git

But in the settings for “default app” I don’t find it in the selection list.

Is there a way to add it there so the broswer can become default?

1 Like

Hi,

Freedom is very important in Fedora, and so Google’s proprietary Chrome
browser is not supported officially.

1 Like

xdg-settings set default-web-browser /var/lib/flatpak/exports/share/applications/com.google.Chrome.desktop

1 Like

Unfortuantely I get this error message when I try this:

xdg-settings: invalid application name

But /var/lib/flatpak/exports/share/applications/com.google.Chrome.desktop is available.

Each time I open the browser there is this button “set as default”. But when I click on this there is no effect.

That’s on me, you should only have to specify com.google.Chrome.desktop there instead of the whole path to the file.

I got confused as to why the application chooser wouldn’t pick up the Flatpak exported application files and thought I’d specify the whole path.

Interestingly enough, Flatpak Firefox on my Silverblue installation often prompts me about not being set as a default even though it is, besides I’ve also removed the rpm one from the base image.
I wonder why that is considering how the application files don’t change upon updating the Flatpaks themselves, nor is any base image update altering my xdg user config preferences.

1 Like

Hi All,
I started using Silverblue yesterday and I really like it, so far I’ve installed Anaconda-Navigator, LibreOffice 7, via the CLI below is what I did to install Google Chrome. I hope it helps

[user@localhost ~]$ rpm-ostree install /var/home/user/Downloads/google-chrome-stable_current_x86_64.rpm

There is a new Chrome flatpak in flathub-beta if you are still interested in a Flatpak.

2 Likes