Is gschema overrides not working

https://github.com/m3m3-0s/meme-os/blob/main/files/gschema-overrides/zz1-memeos.gschema.override for some reason when I rebase a freshly installed bazzite, nothing changes except for the login screen icon, wallpaper doesn't get added, nor the themes, I've tried installing and reinstalling and testing a lot but nothing worked
GitHub
meme-os/files/gschema-overrides/zz1-memeos.gschema.override at main...
Contribute to m3m3-0s/meme-os development by creating an account on GitHub.
Solution:
you just place dconf files in /etc/dconf/db/local.d/ & use dconf bling submodule Make sure that your dconfs are named higher in number prefix than Bazzite's, to take advantage This is already made in Bazzite, so no need, but if barebones base image is used, like -main, this also needs to be done:...
Jump to solution
14 Replies
thaleous
thaleousOP3mo ago
should I switch to dconf?
fiftydinar
fiftydinar3mo ago
As said before, Bazzite's dconf is overriding gschema-overrides so unfortunately, in that case, using dconf makes more sense Just make sure that you named your dconfs higher in lexicographic order (higher numbering takes the advantage) dconf always overrides gschema overrides, to note for people who will search for this Ideally, Ublue images should use gschema overrides too instead of dconf, but they are not interested at the moment
thaleous
thaleousOP3mo ago
how can i do the dconf approach i thought u meant if i tweaked it not freshly installed my bad
Solution
fiftydinar
fiftydinar3mo ago
you just place dconf files in /etc/dconf/db/local.d/ & use dconf bling submodule Make sure that your dconfs are named higher in number prefix than Bazzite's, to take advantage This is already made in Bazzite, so no need, but if barebones base image is used, like -main, this also needs to be done: Make /etc/dconf/profile/ folder & add user file inside that folder with this content:
user-db:user
system-db:local
user-db:user
system-db:local
fiftydinar
fiftydinar3mo ago
dconf syntax is slightly different than gschema overrides, so instead of ., you use / for schemas /org/gnome/shell/enabled-extensions Instead of this: org.gnome.shell.enabled-extensions
thaleous
thaleousOP3mo ago
so sth like this
sudo touch /etc/dconf/db/local.d/99-custom-settings
[org/gnome/desktop/background]
picture-uri='file:///usr/share/backgrounds/your-wallpaper.jpg'

[org/gnome/desktop/interface]
gtk-theme='orchis'
sudo touch /etc/dconf/db/local.d/99-custom-settings
[org/gnome/desktop/background]
picture-uri='file:///usr/share/backgrounds/your-wallpaper.jpg'

[org/gnome/desktop/interface]
gtk-theme='orchis'
okay i get it but how would i code that? i make a script to create a new file? then? how will it recognize the new dconf
fiftydinar
fiftydinar3mo ago
yeah dconf bling submodule is applying a systemd service which does dconf update, to make sure that those new dconfs are recognized take in mind that if local user already changed that specific setting, his setting takes the advantage over dconfs & gschema overrides
thaleous
thaleousOP3mo ago
ye ofc
fiftydinar
fiftydinar3mo ago
if that is the case, than dconf reset or gsettings reset needs to be done
thaleous
thaleousOP3mo ago
dude a fresh/ locally built iso doesnt fully work haha
fiftydinar
fiftydinar3mo ago
my work laptop doesn't like Fedora 40 ISOs, it complains about some EFI errors, so I guess it's Anaconda issue since it works in a VM & in other PCs so that can also happen let's move that to other thread or topic, since this is solved
thaleous
thaleousOP3mo ago
okay so files/scripts/dconf.sh which would have
sudo touch /etc/dconf/db/local.d/99-custom-settings
[org/gnome/desktop/background]
picture-uri='file:///usr/share/backgrounds/your-wallpaper.jpg'

[org/gnome/desktop/interface]
gtk-theme='orchis'
sudo touch /etc/dconf/db/local.d/99-custom-settings
[org/gnome/desktop/background]
picture-uri='file:///usr/share/backgrounds/your-wallpaper.jpg'

[org/gnome/desktop/interface]
gtk-theme='orchis'
or do i seperate the dconf
fiftydinar
fiftydinar3mo ago
you can do it either way no need for sudo in script
thaleous
thaleousOP3mo ago
that should be a systemd service right? are can bling also do taht
Want results from more Discord servers?
Add your server