Skip to content

scribus: crashes with "Settings schema 'org.gtk.Settings.FileChooser' is not installed" #205

@naotoo1

Description

@naotoo1

Describe the bug

Scribus crashes immediately on launch with GTK schema error on NixOS.

Steps To Reproduce

nix run nixpkgs#scribus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions