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



Hi,


I'm customizing our own linux system and Gnome 3 shell.  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=true
picture-uri='file:////etc/alternatives/desktop-background'

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

[org.gnome.desktop.app-folders]
folder-children=['Office', 'Graphics', 'AudioVideo', 'Network', 'Game',
'Education', 'Development', 'OpenContent', 'Tutorial', 'Accessibility',
'ezgo', 'System', 'Settings']

The folder-children was set when booting.  Then I'd like to define the
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/folders/ezgo-office]
translate=true
name=Office
categories=['Office']

[org.gnome.desktop.app-folders.folders:/org/gnome/desktop/app-folders/folders/ezgo-graphics]
translate=true
name=Graphics
categories=['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=true
name=Applications
apps=['about_ezgo.desktop', 'ezgo-gallery.desktop']

[/org/gnome/desktop/app-folders/folders/ezgo-system]
translate=true
name=System
categories=['System']

[/org/gnome/desktop/app-folders/folders/ezgo-settings]
translate=true
name=Settings
categories=['Settings']

No luck with this. 

I think the [] in an override file should be schema id instead of schema
path.  But now I need to pre-define the key of schema paths.  How 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








Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]