cinnamon-screensaver 2.2.4 has its settings spread across two different schemas: org.cinnamon.screensaver and org.cinnamon.desktop.screensaver. The former is provided by gnome-extra/cinnamon and the latter by gnome-extra/cinnamon-desktop. However, of the two, cinnamon-screensaver only depends on the latter, resulting an error when trying lock the screen. Reproducible: Always Steps to Reproduce: 1. Install cinnamon-screensaver without installing the rest of Cinnamon 2. Start cinnamon-screensaver in a terminal 3. Run cinnamon-screensaver-command --lock to try to lock the screen Actual Results: cinnamon-screensaver outputs the following error: (cinnamon-screensaver:13533): GLib-GIO-ERROR **: Settings schema 'org.cinnamon.screensaver' is not installed The process is then terminated by SIGTRAP Expected Results: The screen is successfully locked. Upstream recently removed the dependency on cinnamon by moving all screensaver settings to cinnamon-desktop. See these commits: https://github.com/linuxmint/cinnamon-desktop/commit/b8b7c7cd82384f6d8230b55b754e5798fa051084 https://github.com/linuxmint/Cinnamon/commit/ab39df9c85270002b23e5fea8ede78c3e8c3310c https://github.com/linuxmint/cinnamon-screensaver/commit/f812dc464284957f7e0f6072d9e4a98c07d47d93 It would be nice to have those patches applied so the cinnamon lock screen can be used without having the full Cinnamon environment installed. Otherwise, gnome-extra/cinnamon-screensaver should depend on gnome-extra/cinnamon.
I ran into the same error, too. After a bit of looking around I can confirm is that: * gnome-extra/cinnamon-screensaver-2.2.4 asks for "org.cinnamon.screensaver" in the code * gnome-extra/cinnamon-desktop-2.2.3 provides "org.cinnamon.desktop.screensaver" with ".desktop" added * gnome-extra/cinnamon-2.2.16-r2 provides "org.cinnamon.screensaver" through org.cinnamon.gschema.xml For a workaround, I can recommend installing * gnome-extra/cinnamon-desktop-2.4.2 * gnome-extra/cinnamon-screensaver-2.4.0 together. That combination of versions seems to work, since both use and provide "org.cinnamon.desktop.screensaver". For another combinations of versions that does /not/ work, I just opened bug #536350.
PS: I would rather see a patch asking for "org.cinnamon.desktop.screensaver" than adding a dependency on gnome-extra/cinnamon.
I would add the RDEPEND on 2.2.x and rely on future 2.4.x stabilization (that seems to fix this) for dropping the requirement :/
+ 20 Jan 2015; Pacho Ramos <pacho@gentoo.org> cinnamon-screensaver-2.2.4.ebuild: + 2.2 needs cinnamon to provide needed schemas, in 2.4.x cycle this is no longer + needed (#520024 by Erik Jensen and Sebastian Pipping) +