Schema override to org.gnome.desktop.app-folders

Franklin Weng via gnome-shell-list <[email protected]> Sun, 9 Aug 2020 14:39:36 +0800
Newsgroups gmane.comp.gnome.shell,gmane.comp.gnome.devel
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============6135434352237474749==
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="yiNvX76g4hZrxAO7tXalExEdSqSyG7W2l"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--yiNvX76g4hZrxAO7tXalExEdSqSyG7W2l
Content-Type: multipart/mixed; boundary="3hTTVOSXWwiA5tx3eaaf8OC0nXtH84Pxc"

--3hTTVOSXWwiA5tx3eaaf8OC0nXtH84Pxc
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US

Hi,


I'm customizing our own linux system and Gnome 3 shell.=C2=A0 I'd like to=

pre-define app folders for newly created or live users.

So far I've read the document: https://developer.gnome.org/AppFolders/

and reference gschema override files under /usr/share/glib-2.0/schemas/
like 10_ubuntu-settings.gschema.override.

However I have a question about defining each app folder.

I wrote a new override file with the following content:

[org.gnome.desktop.background]
show-desktop-icons=3Dtrue
picture-uri=3D'file:////etc/alternatives/desktop-background'

[org.gnome.login-screen]
logo=3D'/usr/share/ezgo/ezgo-artwork/ezgo-logo.svg'

[org.gnome.desktop.app-folders]
folder-children=3D['Office', 'Graphics', 'AudioVideo', 'Network', 'Game',=

'Education', 'Development', 'OpenContent', 'Tutorial', 'Accessibility',
'ezgo', 'System', 'Settings']

The folder-children was set when booting.=C2=A0 Then I'd like to define t=
he
name, translation, categories/apps for each app folder but I couldn't
find a way to do it.

I've tried some ways of settings, like

[org.gnome.desktop.app-folders.folders:/org/gnome/desktop/app-folders/fol=
ders/ezgo-office]
translate=3Dtrue
name=3DOffice
categories=3D['Office']

[org.gnome.desktop.app-folders.folders:/org/gnome/desktop/app-folders/fol=
ders/ezgo-graphics]
translate=3Dtrue
name=3DGraphics
categories=3D['Graphics']

which I couldn't find the key "org.gnome.desktop.app-folders.folders"
(only "org.gnome.desktop.app-folders.folder-children").

Also I tried

[/org/gnome/desktop/app-folders/folders/ezgo]
translate=3Dtrue
name=3DApplications
apps=3D['about_ezgo.desktop', 'ezgo-gallery.desktop']

[/org/gnome/desktop/app-folders/folders/ezgo-system]
translate=3Dtrue
name=3DSystem
categories=3D['System']

[/org/gnome/desktop/app-folders/folders/ezgo-settings]
translate=3Dtrue
name=3DSettings
categories=3D['Settings']

No luck with this.=C2=A0

I think the [] in an override file should be schema id instead of schema
path.=C2=A0 But now I need to pre-define the key of schema paths.=C2=A0 H=
ow can I
do it?

Or ask in a more general way, how can I pre-define app folders so that
it can be shown in "Show Applications" or somewhere?


Thanks,
Franklin









--3hTTVOSXWwiA5tx3eaaf8OC0nXtH84Pxc--

--yiNvX76g4hZrxAO7tXalExEdSqSyG7W2l
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEgFAAh5FxwJ+nH5YwCziUj0zVZbUFAl8vmisACgkQCziUj0zV
ZbXfXAf+KL7WI4iZbXxROklkI6unMnuRr+xVRI+rMMJfgy4egBYkxbRcQSvC/WN+
/G55+9Ha1WOU1rEtcG2hk5Woz/1TMfAFl2TjV8HdgztDjZjY2ttjPSm6YM3eMPhY
B4+AhvK8k//Iu4AC+c/VzZsL3FZLbFFAt99LIRK8G8b+K5yX8XD5uz+cgx+g5QOx
5usxCmLXzc9gRVtXECPzgH5zxbcCBuOkv6o8liRteh4/zKwTcjDXt/e9OzL7/3fG
aTvMtxtuosAQtEIZjuxwA7Gu1GMox/fE7NikD0ynLZC9OmDasYBJ/BvSZnEBWXHN
41CERokh03RTfpX2RkRIsD9F71xjbg==
=qiic
-----END PGP SIGNATURE-----

--yiNvX76g4hZrxAO7tXalExEdSqSyG7W2l--

--===============6135434352237474749==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline