https://blue-build.org/ logo
Is gschema overrides not working
# questions
u
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
a
message has been deleted
u
should I switch to dconf?
f
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
u
how can i do the dconf approach
i thought u meant if i tweaked it not freshly installed
my bad
f
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:
Copy code
user-db:user
system-db:local
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
u
so sth like this
Copy code
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
f
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
u
ye ofc
f
if that is the case, than
dconf reset
or
gsettings reset
needs to be done
u
dude a fresh/ locally built iso doesnt fully work haha
f
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
u
okay so files/scripts/dconf.sh which would have
Copy code
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
f
you can do it either way
no need for sudo in script
a
message has been deleted
u
that should be a systemd service right? are can bling also do taht
5 Views