I filed the MATE counterpart for this bug at https://github.com/mate-
desktop/mate-desktop/issues/562

#  Workaround for some entries: Exclude "[:PATH]"
**Disclaimer: This solution cannot be used for custom keyboard shortcuts 
(org.mate.control-center.keybinding), not even a single custom keyboard 
shortcut. Also, this method should not work for schemas that require sub-paths, 
even if they are not custom.**

* Run this in a terminal:
```
sudo tee /usr/share/glib-2.0/schemas/zzz.gschema.override > /dev/null << 'EOF'

# green mate-panel background color. type='color' must be set in addition
[org.mate.panel.toplevel.background]
color='#00ff00'
type='color'

# Terminal: Don't use color theme
[org.mate.terminal.profile]
use-theme-colors=false
EOF

sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
```
* No error was reported by glib-compile-schemas
* Log out, and log in from MATE
* Run this
```
# Check the values:
gsettings get 
org.mate.panel.toplevel.background:/org/mate/panel/toplevels/top/background/ 
color
# Output:
# '#00ff00'
gsettings get 
org.mate.panel.toplevel.background:/org/mate/panel/toplevels/top/background/ 
type
# Output:
# 'color'
gsettings get org.mate.terminal.profile:/org/mate/terminal/profiles/default/ 
use-theme-colors
# Output:
# false

####################
# Reset to the new system wide default settings:
gsettings reset-recursively 
org.mate.panel.toplevel.background:/org/mate/panel/toplevels/top/background/
gsettings reset org.mate.terminal.profile:/org/mate/terminal/profiles/default/ 
use-theme-colors

# Check the values again to compare them with their previous output:
gsettings get 
org.mate.panel.toplevel.background:/org/mate/panel/toplevels/top/background/ 
color
# '#00ff00'
gsettings get 
org.mate.panel.toplevel.background:/org/mate/panel/toplevels/top/background/ 
type
# Output:
# 'color'
gsettings get org.mate.terminal.profile:/org/mate/terminal/profiles/default/ 
use-theme-colors
# Output:
# true
```
* As you can see, the values are changed.


# Distributions
Ubuntu MATE 22.04:
```
$ apt-cache show libglib2.0-bin | head -8
Package: libglib2.0-bin
Architecture: amd64
Version: 2.72.4-0ubuntu2.2
Multi-Arch: foreign
Priority: optional
Section: misc
Source: glib2.0
Origin: Ubuntu
```

Ubuntu MATE 23.04:
```
$ apt-cache show libglib2.0-bin | head -8
Package: libglib2.0-bin
Architecture: amd64
Version: 2.76.1-1
Multi-Arch: foreign
Priority: optional
Section: misc
Source: glib2.0
Origin: Ubuntu
```


** Bug watch added: github.com/mate-desktop/mate-desktop/issues #562
   https://github.com/mate-desktop/mate-desktop/issues/562

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to glib2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1281580

Title:
  glib-compile-schemas doesn't compile relocatable schemas

To manage notifications about this bug go to:
https://bugs.launchpad.net/glib/+bug/1281580/+subscriptions


-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to