Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
xfce4-settings


Commits:
45ffda94 by Balló György at 2025-11-12T17:12:42+01:00
upgpkg: 4.20.2-2: Add option to disable XSettings and GTK settings helpers

These helpers override and overwrite the default GNOME settings, which is not
always desirable when multiple desktop environments are installed.

If XFSETTINGSD_NO_XSETTINGS environment variable is set, the XSettings values
are not set by xfsettingsd, allowing to use an external XSettings daemon.

If XFSETTINGSD_NO_GTK_SETTINGS environment variable is set, the GSettings
values are left untouched by xfsettingsd.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = xfce4-settings
        pkgdesc = Xfce's Configuration System
        pkgver = 4.20.2
-       pkgrel = 1
+       pkgrel = 2
        url = https://docs.xfce.org/xfce/xfce4-settings/start
        arch = x86_64
        groups = xfce4


=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
 
 pkgname=xfce4-settings
 pkgver=4.20.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Xfce's Configuration System"
 arch=('x86_64')
 url="https://docs.xfce.org/xfce/xfce4-settings/start";
@@ -30,6 +30,10 @@ prepare() {
   # Enable Adwaita theme, elementary icon theme and font hinting by default
   patch -Np1 -i "$srcdir/default-xsettings-xml.patch"
 
+  # Add option to disable XSettings and GTK settings helpers to avoid 
overwriting default GNOME settings
+  sed -i 's/s_data->xsettings_helper = /if (g_getenv 
("XFSETTINGSD_NO_XSETTINGS") == NULL) &/
+          s/s_data->gtk_settings_helper = /if (g_getenv 
("XFSETTINGSD_NO_GTK_SETTINGS") == NULL) &/' xfsettingsd/main.c
+
   git submodule init
   git config submodule.mate-submodules.url "$srcdir/protocols/wlr-protocols"
   git -c protocol.file.allow=always submodule update



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-settings/-/commit/45ffda94df269a7a5261ea1aa0f8d80e4cef667c

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-settings/-/commit/45ffda94df269a7a5261ea1aa0f8d80e4cef667c
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to