paperwm/PaperWM

dconf-editor segfault when run per readme

humanplayer2 opened this issue ยท 3 comments

Describe the bug
Running, per the readme,

GSETTINGS_SCHEMA_DIR=$HOME/.local/share/gnome-shell/extensions/paperwm@paperwm.github.com/schemas dconf-editor /org/gnome/shell/extensions/paperwm/

returns

 segmentation fault (core dumped)  GSETTINGS_SCHEMA_DIR= dconf-editor /org/gnome/shell/extensions/paperwm/

To Reproduce
Steps to reproduce the behavior:

  1. Open a terminal and run the command.
  2. See error

Expected behavior
I expected dconf-editor to open and show me the available schemas and keys.

System information:
Distribution: Fedora Linux 40 (Workstation Edition)
GNOME Shell: 46.2
Display server: Wayland
PaperWM version: 46.13.1
Enabled extensions:

Additional context
Listing all keybindings, as I am interested in, works with

gsettings --schemadir $HOME/.local/share/gnome-shell/extensions/paperwm@paperwm.github.com/schemas/ list-recursively org.gnome.shell.extensions.paperwm.keybindings

Hey @humanplayer2,

So this is actually a bug in dconf rather than paperwm. It has to do with dconf's schema parsing code. In any case, there's a not-well-known workaround, try this:

GSETTINGS_SCHEMA_DIR=/null:/null:$HOME/.local/share/gnome-shell/extensions/paperwm@paperwm.github.com/schemas dconf-editor /org/gnome/shell/extensions/paperwm/

Rather than wait until dconf fixes it, I might just update the readme to include the workaround.

Closing as command has been updated in README.md.