main/postmarketos-ui-phosh: no gnome-software first run dialog (MR 1453)

Disable the first run screen in GNOME software, which invites the user
to browse and install apps. We do not want people to use GNOME software to
do that when they open it for the first time in postmarketOS after
installing, we want them to do updates. So this dialog is misleading for
our users, and will lead to a bad experience for those who follow what
it suggests.

I think there's more wrong with that dialog (in context of postmarketOS),
more detailed reasoning and screenshot in:
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1449#note_385456592
This commit is contained in:
Oliver Smith 2020-07-25 22:23:25 +02:00
parent f6cdacfe53
commit 9bc80e151f
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 8 additions and 2 deletions

View file

@ -0,0 +1,2 @@
[org/gnome/software]
first-run=false

View file

@ -1,7 +1,7 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=postmarketos-ui-phosh
pkgver=3
pkgrel=3
pkgrel=4
pkgdesc="(Wayland) Mobile UI developed for the Librem 5 (works only with numeric passwords!)"
url="https://puri.sm"
arch="noarch !armhf"
@ -40,6 +40,7 @@ source="60-lightdm-autologin.conf
qt-tweaks.sh
dconf-profile-postmarketos
01-phoc-scaling
02-gnome-software-no-first-run
"
options="!check"
@ -56,6 +57,8 @@ package() {
"$pkgdir"/etc/dconf/profile/user
install -Dm755 "$srcdir"/01-phoc-scaling \
"$pkgdir"/etc/dconf/db/postmarketos.d/01-phoc-scaling
install -Dm755 "$srcdir"/02-gnome-software-no-first-run \
"$pkgdir"/etc/dconf/db/postmarketos.d/02-gnome-software-no-first-run
}
qt_tweaks() {
@ -72,4 +75,5 @@ sha512sums="c51a5cf93495069d71900dd1c6fbddfa3bdfb70dbab8141d1b115b6150975a12206c
57793bb079c76ba3bdcfca7880aa887de11fe80e7a05557b78435e57feabab70fbaeedc42da3aec6f914c35bba8e8ee9918367516eb45ee247f63f694624f179 gtk-app-wayland.sh
6e193eca3961a78d47b4656892eae34d019d9317a255a201f5ea61e3300caff04c526a27cd98d0edc072b36e3eaf3a1768f4cd27c5e2be8b19c167d535c820a6 qt-tweaks.sh
e00756c2c056f68123d877f2f6a5ad3434ca7851095f021c26831c081728b821cf7947ba08d6742eee51d93dc83859a7ead553f4dcbc8b6fcefa33ae344ba178 dconf-profile-postmarketos
6d99bd718fece9d202ebf76b807335b1e31ebeca52f2b8870bb4772787cf76bf4602f2506bc4ed077da0eac584ec72b879ad8317c926aabcf2ed48b0d7ba48f7 01-phoc-scaling"
6d99bd718fece9d202ebf76b807335b1e31ebeca52f2b8870bb4772787cf76bf4602f2506bc4ed077da0eac584ec72b879ad8317c926aabcf2ed48b0d7ba48f7 01-phoc-scaling
834d1c558b6a9ca26345928895a5436919aab13f944410240516953a13f8fdafae995af4b1baeee560a800c405a4d67c44bb92499bf8cacae7a17f6d9893577e 02-gnome-software-no-first-run"