Describe the bug
Scribus crashes immediately on launch with GTK schema error on NixOS.
Steps To Reproduce
Actual behavior
(scribus:5880): GLib-GIO-ERROR **: 21:27:47.362: Settings schema 'org.gtk.Settings.FileChooser' is not installed
fish: Job 1, 'nix run nixpkgs#scribus' terminated by signal SIGTRAP (Trace or breakpoint trap)
System info
- NixOS version: 25.11.20251120.117cc7f (Xantusia)
- Scribus version: 1.7.0
- Channel: nixos-unstable
Workaround
Creating a wrapper script with proper GTK environment setup works:
(writeShellScriptBin "scribus" ''
export XDG_DATA_DIRS="${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS"
export GSETTINGS_SCHEMA_DIR="${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}/glib-2.0/schemas"
exec ${scribus}/bin/scribus "$@"
'')
This creates a wrapper that sets up the GTK schemas environment before launching Scribus.