backports.debian.org
does not seem to include the package gnome-settings-daemon
for buster
.
The testing
branch currently has version 3.38.1-2, which is quite a bit newer than what you need.
The recommended way would be to backport the patch yourself.
You would have to:
- install any development packages required to build
gnome-settings-daemon
:
sudo apt-get build-dep gnome-settings-daemon
- get the source code for gnome-settings-daemon
apt-get source gnome-settings-daemon
cd gnome-settings-daemon-3.30.2/
curl 'https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/commit/cea632bf682760e80654df19cfef6206efca868a.diff' | patch -p1
- document the addition of the patch into the package changelog (technically you could omit this if you're only using the package for yourself, but it would be a good to make this a habit if you plan to become a package maintainer)
dpkg-source --commit # this will ask you to write a changelog entry
- build the binary package(s):
dpkg-buildpackage -rfakeroot
- and finally install the resulting binary packages:
cd ..
sudo dpkg -i gnome-settings-daemon_3.30.2-3_amd64.deb gnome-settings-daemon-common_3.30.2-3_all.deb
- If you wish to make the change effective without logging out, you'll need to kill any existing
gsd-media-keys
process so that gnome-settings-daemon will restart it using the new binary:
killall gsd-media-keys