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

Chrome & Chromium unable to install APPS #256

Open
boustanihani opened this issue Dec 15, 2023 · 10 comments
Open

Chrome & Chromium unable to install APPS #256

boustanihani opened this issue Dec 15, 2023 · 10 comments

Comments

@boustanihani
Copy link

I am using Gnome 45.2 on NixOS 23.11.

When installing Chrome & Chromium from flathub, I am unable to install websites as apps and getting them to integrate into the users menu. I get the following error:

Bildschirmfoto vom 2023-12-15 01-14-57

However, Microsoft Egde (which is Chrome based) is able to install apps and integrate them to in the menu without any problems!

@boustanihani boustanihani changed the title Chrome & Chromium unable to install APP Chrome & Chromium unable to install APPS Dec 15, 2023
@bbhtt bbhtt transferred this issue from flathub/flathub Dec 15, 2023
@razzeee
Copy link
Member

razzeee commented Dec 15, 2023

I've set this in Microsoft Edge to install PWAs, but might not be needed anymore there. So this is probably what these are missing.

From flatseal
image

@boustanihani
Copy link
Author

Thanks, this solved the problem :)

Those rights should be added by default to the Flatpak versions Chrome & Chromium...

@quesada
Copy link

quesada commented Jan 6, 2024

I have tried adding those paths on flatseal, but the message persists:
image

@quesada
Copy link

quesada commented Jan 6, 2024

Argh, sorry, I see the error. Missing dot on .local. Never mind :)

@razzeee
Copy link
Member

razzeee commented Jan 6, 2024

You are missing a dot in one path

@quesada
Copy link

quesada commented Jan 6, 2024

Thanks, I fixed that, still doesn't work. Trind adding :create at the end (this is what edge does), still no dice:
image

@boustanihani
Copy link
Author

Did you try restarting your PC?

@starquake
Copy link

When I added ~/.local/share/applications and ~/.local/share/icons it still didn't work. After I added ~/.local/share/applications:create and ~/.local/share/icons:create it started working!

@rotilho
Copy link

rotilho commented Jun 22, 2024

Is this something that can be added to the default permissions?

@kees-closed
Copy link

kees-closed commented Dec 23, 2024

Odd. It doesn't work when using the XDG variables (see below), only when specifying the real path (see comment). Maybe that's causing issues as well?

flatpak override --user com.google.Chrome --filesystem=xdg-data/applications:create --filesystem=xdg-data/icons:create --verbose

Which does work fine for other Flatpaks, such as Element:

flatpak override im.riot.Riot --filesystem=xdg-pictures:ro --filesystem=xdg-documents:ro --user --verbose

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

6 participants