Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

session: Add custom dconf profile #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Drakulix
Copy link
Member

This causes the cosmic-session to have a separate writable dconf-database (while still inheriting the default user database).

This will (partially) prevent issues such as pop-os/cosmic-epoch#1174 in the future, as other desktops won't pick up cosmic's dconf profile.

Note to packagers: The dconf profile is highly specific to POP!_OS, which it why it isn't picked up by our Justfile. You are highly encouraged to provide your own.

Pop!_OS doesn't have a default user-profile, which means the profile defaults to user-db:user (see man 7 dconf). The contents of the cosmic profile should be:

user-db:cosmic
[the contents of /usr/share/dconf/profile/user of your distro]

Failing to provide a cosmic profile file will cause the session to have a read-only dconf store.

This causes the cosmic-session to have a separate
writable dconf-database (while still inheriting
the default user database).

This will (partially) prevent issues such as
pop-os/cosmic-epoch#1174
in the future, as other desktops won't pick up
cosmic's dconf profile.
@fulalas
Copy link

fulalas commented Nov 21, 2024

Why using dconf in the first place? This is the worst concept invented by GNOME guys, resembling Windows Registry for no good reason.

This issue people complained in pop-os/cosmic-epoch#1174 is just one example of many that will come.

Why not using text file just like KDE Plasma and LXQt do? It's much easier and reliable, not to mention it's lighter (it doesn't require any service, no extra package to read data, no specific application to visualize it).

@TheESN
Copy link

TheESN commented Nov 21, 2024

Why using dconf in the first place? This is the worst concept invented by GNOME guys, resembling Windows Registry for no good reason.

This issue people complained in pop-os/cosmic-epoch#1174 is just one example of many that will come.

Why not using text file just like KDE Plasma and LXQt do? It's much easier and reliable, not to mention it's lighter (it doesn't require any service, no extra package to read data, no specific application to visualize it).

It's for settings to theme GTK apps, which is impossible to do without dconf. Cosmic itself doesn't rely on dconf for its own settings.

@fulalas
Copy link

fulalas commented Nov 22, 2024

It's for settings to theme GTK apps, which is impossible to do without dconf. Cosmic itself doesn't rely on dconf for its own settings.

I see. Thanks for the explanation :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants