* gnu/packages/xfce.scm (xfce4-settings):[propagated-inputs]: Add gsettings-desktop-schemas. This makes it appear in the system profile via the xfce service. This fixes a bug where changing icon theme causes xfce4-appearance-settings to crash with the error: GLib-GIO-ERROR **: 15:41:45.828: Settings schema 'org.gnome.desktop.interface' is not installed Trace/breakpoint trap --- gnu/packages/xfce.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 38240d7b9f..ffac62af9e 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -755,6 +755,8 @@ allows you to shut down the computer from Xfce.") ("upower" ,upower) ;; TODO needs upower-glib ("python" ,python) ;; for xfce4-compose-mail ("xf86-input-libinput" ,xf86-input-libinput))) + (propagated-inputs + `(("gsettings-desktop-schemas" ,gsettings-desktop-schemas))) (home-page "https://www.xfce.org/") (synopsis "Xfce settings manager") (description -- 2.31.1
Hi,
Brendan Tildesley <mail@brendan.scot> skribis:
> * gnu/packages/xfce.scm (xfce4-settings):[propagated-inputs]: Add
> gsettings-desktop-schemas. This makes it appear in the system profile
> via the xfce service. This fixes a bug where changing icon theme causes
> xfce4-appearance-settings to crash with the error:
>
> GLib-GIO-ERROR **: 15:41:45.828: Settings schema 'org.gnome.desktop.interface' is not installed
> Trace/breakpoint trap
The patch LGTM but I can’t seem to reproduce the issue here. Namely, if
I go to Settings → Appearance and switch from “GNOME Theme” to
“Adwaita”, it just works.
Am I missing something?
Thanks,
Ludo’.
> On 04/29/2021 1:23 AM Ludovic Courtès <ludo@gnu.org> wrote:
>
>
> Hi,
>
> Brendan Tildesley <mail@brendan.scot> skribis:
>
> > * gnu/packages/xfce.scm (xfce4-settings):[propagated-inputs]: Add
> > gsettings-desktop-schemas. This makes it appear in the system profile
> > via the xfce service. This fixes a bug where changing icon theme causes
> > xfce4-appearance-settings to crash with the error:
> >
> > GLib-GIO-ERROR **: 15:41:45.828: Settings schema 'org.gnome.desktop.interface' is not installed
> > Trace/breakpoint trap
>
> The patch LGTM but I can’t seem to reproduce the issue here. Namely, if
> I go to Settings → Appearance and switch from “GNOME Theme” to
> “Adwaita”, it just works.
>
> Am I missing something?
>
If you also have GNOME installed then it will work. GNOME provides them via propagated inputs in many packages.
For me, the theme changes, but then the settings window crashes.
BTW do you think the way the gnome package is made with propagated inputs is better than how the xfce is made by union-ing everything?
Run $(guix system vm ./xfce-os-test.scm) -m 1G with this: (use-modules (gnu) (srfi srfi-1)) (use-service-modules desktop xorg) (operating-system (bootloader (grub-configuration)) (file-systems %base-file-systems) (locale "en_AU.utf8") (timezone "Australia/Hobart") (keyboard-layout (keyboard-layout "us" "colemak")) (host-name "jiu") (users (cons* (user-account (name "b") (password (crypt "b" "$6$abc")) ;; password "b" (comment "Brendan") (group "users") (home-directory "/home/b") (supplementary-groups '("wheel" "netdev" "audio" "video" "kvm"))) %base-user-accounts)) (packages (append (map specification->package '("nss-certs" "gnome-themes-standard")) %base-packages)) (services (append (list (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))) (service xfce-desktop-service-type)) (modify-services %desktop-services (gdm-service-type config => (gdm-configuration (default-user "b") (auto-login? #t)))))))
Hi, Brendan Tildesley <mail@brendan.scot> skribis: >> On 04/29/2021 1:23 AM Ludovic Courtès <ludo@gnu.org> wrote: [...] >> The patch LGTM but I can’t seem to reproduce the issue here. Namely, if >> I go to Settings → Appearance and switch from “GNOME Theme” to >> “Adwaita”, it just works. >> >> Am I missing something? >> > If you also have GNOME installed then it will work. GNOME provides them via propagated inputs in many packages. > For me, the theme changes, but then the settings window crashes. OK. So actually what happens is that changing themes works, but the thing crashes right after changing themes (which I didn’t notice when spawning xfce4-appearance-settings by clicking in the menu). Applied, thanks! > BTW do you think the way the gnome package is made with propagated inputs is better than how the xfce is made by union-ing everything? No strong opinion, either way is fine with me. Ludo’.