Inspiriert vom heutigen Beitrag Zeige mir meine Aliase und Tastenkürzel von Ralf Hersel kommt hier das von mir für die MATE-Desktopumgebung angepasste Shell-Skript.
#!/usr/bin/env bash
rootdir="/org/mate/desktop/keybindings/"
customdirs=$(dconf list "$rootdir")
for dir in $customdirs; do
fullpath="${rootdir}${dir}"
action=$(dconf read "$fullpath"action)
binding=$(dconf read "$fullpath"binding)
name=$(dconf read "$fullpath"name)
echo "Name=$name, Binding=$binding"
done