The gtk modules xsetting may contain a ':' separated list of modules,
where the order is meaningless. In order to avoid tripping with the
unexpected order, split and sort it before doing our checks.
(cherry picked from commit a66ab7cc0b912cb2423eb7946ee027e76dd141e7)
/home/carlos/Source/gnome/gnome-settings-daemon/plugins/xsettings/test.py:84: PyGIDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "schema" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
self.settings_sound = Gio.Settings('org.gnome.desktop.sound')
(cherry picked from commit 63e325a44e89996f026f258521dc57f016f163d7)
210ab3b...
by
Michael Catanzaro <email address hidden>
media-keys: always do something when power button is pressed...
...unless the power button action is actually set to NOTHING.
By default, it's set to suspend, but the user's computer might not
support suspend. Instead of doing nothing at all, fall back to
displaying the interactive shutdown dialog instead.
This doesn't require any UI changes, because the control-center option
for power button action is now only displayed for computers that do
support suspend (since GNOME #764508).
3075f1f...
by
Hans de Goede <email address hidden>
media-keys: Add mapping for Ctrl + media-key for some media-keys
Some bluetooth keyboards have only 5 rows of keys, so the top row has the:
1-9, 0, -, + keys. These not only double as function keys using Fn + key,
but also as media-keys, e.g. next/prev song, using Ctrl + Fn + key.
Unfortunately the firmware for these keyboards is somewhat buggy and when
sending media keys they send along the Ctrl modifier, so we receive e.g.
"Ctrl + next-song" this commit adds bindings for Ctrl + media-key for the
media-keycodes send by these keyboards, so that these work as expected.
(cherry picked from commit 2d344c5c1e65406e895115a71a59cbee0b0c0bab)