session: Add custom dconf profile

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
https://github.com/pop-os/cosmic-epoch/issues/1174
in the future, as other desktops won't pick up
cosmic's dconf profile.
This commit is contained in:
Victoria Brekenfeld 2024-11-21 16:50:08 +01:00 committed by Michael Murphy
parent 53237d147f
commit 87a0644435
3 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1,2 @@
user-db:cosmic
user-db:user

View file

@ -37,6 +37,7 @@ export MOZ_ENABLE_WAYLAND=1
export QT_QPA_PLATFORM="wayland;xcb"
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_ENABLE_HIGHDPI_SCALING=1
export DCONF_PROFILE=cosmic
if command -v systemctl >/dev/null; then
# set environment variables for new units started by user service manager

1
debian/cosmic-session.install vendored Normal file
View file

@ -0,0 +1 @@
data/dconf/profile/cosmic /usr/share/dconf/profile/