touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #85433
[Bug 1281580] Re: glib-compile-schemas doesn't compile relocatable schemas
** Bug watch added: GNOME Bug Tracker #725292
https://bugzilla.gnome.org/show_bug.cgi?id=725292
** Also affects: glib via
https://bugzilla.gnome.org/show_bug.cgi?id=725292
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1281580
Title:
glib-compile-schemas doesn't compile relocatable schemas
Status in The "G" Library - GLib:
Unknown
Status in glib2.0 package in Ubuntu:
Confirmed
Bug description:
Dear Developers,
I am using the Ubuntu 14.04 development release with the GNOME Shell 3.10 and, because my wife is using this system as well, I defined some settings in a gschema.override file.
Everything is working right, except applying settings related to custom key-bindings.
I added following lines my gschema.override file:
[org.gnome.settings-daemon.plugins.media-keys]
www='<Super><Alt>w'
email='<Super>e'
custom-keybindings = ['/org/gnome/settings-daemon/plugins/media-keys/custom-keybinding/custom0']
[org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/]
name = 'Launch Gedit'
command = 'gedit'
binding = '<Super>g'
I put my gschema.override file in the '/usr/share/glib-2.0/schemas' directory. After I added these lines, I ran 'glib-compile-schemas /usr/share/glib2.0/schemas' and no error was reported.
For testing purposes I created a new user, logged out, and logged in with the new user. In the best case, the custom key-binding were applied automatically, but this has not happened. Other defined key-bindings were applied correctly.
In the gnome-control-center's key-bindings tab, the table containing custom shortcuts is empty, containing one row with empty columns.
Running 'gsettings list-recursively org.gnome.settings-daemon.plugins
.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins
/media-keys/custom-keybindings/custom0/' shows, the name, command, and
binding key pairs contain empty ('') values.
If I manually run following commands, the custom key-binding is created correctly:
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ name "Launch Gedit"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ command "gedit"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ binding "<Super>g"
Am I doing anything wrong when I want to add a custom key-bindings in
my schema file, or is 'glib-compile-schemas' really not applying this
part from the schema file?
Attila
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libglib2.0-bin 2.39.4-0ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-8.28-generic 3.13.2
Uname: Linux 3.13.0-8-generic i686
ApportVersion: 2.13.2-0ubuntu4
Architecture: i386
CurrentDesktop: GNOME
Date: Tue Feb 18 13:58:37 2014
InstallationDate: Installed on 2013-12-13 (67 days ago)
InstallationMedia: BeLin 3.02 i386
SourcePackage: glib2.0
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/glib/+bug/1281580/+subscriptions