Closed gapan closed 10 years ago
What distro?
Salix/Slackware but I don't see how that matters as it is not a distro-specific problem. You should be able to reproduce it in any distribution.
Yes, unluckily gsettings crashes if schema is not available. We need to make it optional, like we did in other apps (like pluma, for example)
Here is the merge commit so one can apply this to atril and send a pull request. https://github.com/mate-desktop/pluma/commit/557fda5b12a5ff6d16cb1296871acdce1a2ddb25
For fedora i added a runtime require to mate-desktop-libs package in spec file which has the missing gsettings file. This fixes the issue on a non mate desktop without mate-desktop package. http://pkgs.fedoraproject.org/cgit/mate-document-viewer.git/commit/?h=f20&id=5bd32045d2e22f4d6c2872d54b2db79862d95f35
PS: for this reason i splitted the mate-desktop package in a small subpackage with the schemes
The problem is that org.mate.lockdown.gschema.xml is part of mate-desktop and this creates an (artificial) dependency on mate-desktop, while atril could very well be a standalone doc viewer that doesn't need any other part of MATE installed. This is just a settings file, it could either be packaged with atril or ignored if not found.
The error is: (atril:884): Glib-GIO-ERROR **: Settings schema 'org.mate.lockdown' is not installed
Trace/breakpoint trap
You can reproduce it if you remove mate-desktop and unregister all its schemas.