Yeah, patching the app will be necessary. Unfortunately, the GSettings API assumes there is a global location like /usr/share, where the schemas are stored, which obviously is not true in Nix land.
I am not aware of a Python example – dynamically loaded Python libraries that read GSettings schemas are rare. But the Vala example should be pretty close – it is gobject-introspection based API after all.
I finally got the schemas compiled, but dconf still can’t find them.
And I still have the issue, that the python file is not being read when nautilus starts. Not sure why.
i am still facing the problem, that the nautilus-extension is not being loaded. even if I insert a print statement/file creation/… it never gets shown.
for this i have to prepent it to XDG_DATA_DIRS to get loaded: source. but i do not know how to do this. i expect this the wrapGAppsHook will take care of it.
Hi @Stunkymonkey , What’s the trick to compiling the schema on NixOS? I installed it according to instructions on your github, but I can’t get to the settings. Schema does not exist. Can’t use the command in your instructions because of the path.
Thanks for sharing your solution, I managed to make it work on my end too
Does the shortcut work for you, though? I tried with the default, or by changing it in case there was some conflict, but never managed to open my terminal with a shortcut.
I meant that the button does appear in the right click menu, and it works, but the shortcut to open the configured terminal from nautilus, which is configured with com.github.stunkymonkey.nautilus-open-any-terminal keybindings, does not have any effect. So what I meant by default is that I tried changing this setting to random shortcuts in case there was a conflict with Ctrl+Shift+t, but it still did not work.