Summary: I want to create Groups in GNOME app launcher (app folder categories) but dont know where to put the config for all users.
openSUSE 13.2 x86_64; GNOME 3.14.1
I have some desktop files with “Categories=GNOME;X-MYGROUP;” in /usr/share/applications/ a /usr/share/desktop-directories/mygroup.directory and /etc/xdg/menus/applications-merged/mygroup.menu. All installed desktop files are listed with the app launcher correctly.
Now, I want to build a Group (in GNOME words Categories since 3.10). For a user I can
# gsettings set org.gnome.desktop.app-folders folder-children "'Utilities', 'Sundry', 'YaST', 'MyGroup']" # gsettings set org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/MyGroup/ name "My Group" # gsettings set org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/MyGroup/ categories "'X-MYGROUP']"
and all works as expected. Now, I want to configure this for all users (incl new users).
I create a glib-2.0 schema
<?xml version="1.0" encoding="UTF-8"?> <schemalist gettext-domain="gsettings-desktop-schemas"> <schema path="/org/gnome/desktop/app-folders/folders/MyGroup/" id="org.gnome.desktop.app-folders.folders.MyGroup"> <key type="s" name="name"> <default>'My Group'</default> <summary>Folder name</summary> <description>The name of the application folder.</description> </key> <key type="as" name="categories"> <default>'X-MYGROUP']</default> <summary>Categories</summary> <description>A list of categories for which apps will be placed into this folder by default, in addition to the apps that are listed in the apps key.</description> </key> </schema> </schemalist>
[org.gnome.desktop.app-folders] folder-children = 'Utilities', 'Sundry', 'YaST', 'MyGroup'] [org.gnome.desktop.app-folders.folders.MyGroup] categories = 'X-MYGROUP'] name = 'My Group'
and for safety, a reboot, without success.
dconf-editor shows the config I made on the right place but gsettings only patially:
# gsettings get org.gnome.desktop.app-folders folder-children 'Utilities', 'Sundry', 'YaST', 'MyGroup'] # gsettings get org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/MyGroup/ categories @as ] # gsettings get org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/MyGroup/ name ''
I also tried to configure it via dconf profiles in /etc/dconf/profile but without success too.
I have searching how the YaST entries find its way but can’t locate them.
Can anyone help here?
Thanks in advance