Closed nigoroll closed 10 years ago
In both cases (via gnome-shell.org or 0install), shellshape is not installed globally (in /etc/ or wherever schemas usually live), so running an unqualified dconf won't see the shellshape schemas. If you run the 0install command with -v, like so:
0install run -cv http://gfxmonk.net/dist/0install/shellshape.xml
Then you should see what it's exporting $XDG_DATA_DIRS to. You need this environment variable set for dconf to pick up shellshape schemas. One way of doing this automatically should be:
0install run -v --wrapper='dconf dump / #' http://gfxmonk.net/dist/0install/shellshape.xml
Or:
0install run http://gfxmonk.net/dist/0install/0env.xml http://gfxmonk.net/dist/0install/shellshape.xml -- dconf dump /
However, this doesn't seem to work in my testing. Using dconf-editor
instead of dconf dump
does work (you have to navigate to schema manually), and this is exactly what the "dconf editor" button in shellshape's settings dialog does. Perhaps dconf dump
is not making use of $XDG_DATA_DIRS as it should?
(aside: when I just tested this, the keyboard schema was visible in dconf-editor, but not the preferences schema. I don't know why that would be, if you are trying it could you let me know whether you get the same results? It doesn't matter too much as all the prefs are available in the UI, but it's surprising)
Thank you for the detailed answer, gfxmonk. Indeed using the right XDG_DATA_DIRS from running with -v does work with dconf-editor, in my case this was:
XDG_DATA_DIRS="/home/slink/.cache/0install.net/implementations/sha256new_DWNRYH5LLWDCEDYX4HEMRTR5WSWBKYWNOZPHR4BPHLVUAHWP3N2Q/xdg/data:/usr/share/gnome:/usr/local/share/:/usr/share/" \
dconf-editor
I think this issue can be closed, I will have another look when I do a system wide install, but I would like to wait for gnome 3.10 on debian to be able to use the latest code.
I installed shellshape on a fresh debian gnome-shell 3.8.4-5 via the gnome website first and then also tried
0install run -c http://gfxmonk.net/dist/0install/shellshape.xml --replace
. As others have noted before, shellshape keybindings conflict with defaults, in my case I have a physical key which issues win-l (to lock) and would like to keep the intended function. Wanting to change the keybinding, i noticed that the dconf entries are missing: