elementary / default-settings

Default settings for elementary OS
GNU General Public License v3.0
39 stars 28 forks source link

Add AppCenter flatpak remote to etc/skel #223

Closed danirabbit closed 3 years ago

danirabbit commented 3 years ago

According to @davidmhewitt:

I think the solution to adding a user remote will be to add it to a working system and figure out what config file gets created in the home directory when that happens. It's a keyfile somewhere, I remember finding it once.

Then we can just add that to /etc/skel in the image.

cassidyjames commented 3 years ago

Edit: this is for adding the system repo as a user, so needs to be adapted for the AppCenter repo, but…

It looks like ~/.local/share/flatpak/repo/config has the following:

[remote "elementary"]
url=https://flatpak.elementary.io/elementary/
xa.title=elementary
gpg-verify=true
gpg-verify-summary=true
xa.comment=elementary OS first party applications
xa.description=elementary OS first party applications
xa.homepage=https://elementary.io/

And then ~/.local/share/flatpak/repo/elementary.trustedkeys.gpg also exists.

danirabbit commented 3 years ago

@davidmhewitt @tintou Thinking about it, should we be shipping that file in default-settings?

davidmhewitt commented 3 years ago

Yeah, probably ought to ship it in a package, so it can be changed if necessary. The only reason why we have to do the other one in the build scripts is to get epiphany installed in the image. But there would probably be some clever way of doing that with a deb package too.