Bug 1187992

Summary: Missing schema for cinnamon display
Product: [openSUSE] openSUSE Tumbleweed Reporter: Felix Niederwanger <felix.niederwanger>
Component: PatternsAssignee: Marguerite Su <i>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: andythe_great, nsleasy, suse
Version: Current   
Target Milestone: Current   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Felix Niederwanger 2021-07-04 08:14:59 UTC
On my current Tumbleweed setup, launching the cinnamon Display manager fails with a missing schema file:

> cinnamon-settings display
> Using pam module (python3-pampy)
> /usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:424: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
>   self.window.set_wmclass(wm_class, wm_class)
> Loading Display module
> 
> (cinnamon-settings.py:30778): GLib-GIO-ERROR **: 10:09:35.245: Settings schema 'org.cinnamon.control-center.display' is not installed
> Trace/breakpoint trap (core dumped)

A quick search in /usr/share/glib-2.0/schemas reveals that those schema files are indeed missing:

> ls -l /usr/share/glib-2.0/schemas | grep cinnamon | grep display

Not sure since when this issue is present, might be related to the recent update to Cinnamon Desktop 5.0?
Comment 1 Martin Willisegger 2021-07-05 21:12:53 UTC
Same problem here, but Tumbleweed "Next" repository has a temporary fix:

zypper ar https://download.opensuse.org/repositories/X11:/Cinnamon:/Next/openSUSE_Factory/X11:Cinnamon:Next.repo
zypper in --allow-vendor-change cinnamon-control-center
zypper in --allow-vendor-change cinnamon-gschemas
zypper mr -d X11_Cinnamon_Next

Maybe it is enough to install only the RPM cinnamon-gschemas.
Comment 2 Felix Niederwanger 2021-08-08 15:58:28 UTC
Thanks for the update. I tried to update cinnamon-gschemas and cinnamon-control-center to the Cinnamon Next repository but the issue still occurs.
Comment 3 Nolan Leasy 2021-08-18 17:45:04 UTC
I have enountered this problem with Cinnamon 5.0.x as well and found no workaround. The settings schema 'org.cinnamon.control-center.display' appears to have been omitted from the latest implementation of Cinnamon on Tumbleweed.


***
$ cinnamon-settings disp
Using pam module (python3-pampy)
Loading Display module

(cinnamon-settings.py:7898): GLib-GIO-ERROR **: 11:00:17.729: Settings schema 'org.cinnamon.control-center.display' is not installed
Trace/breakpoint trap (core dumped)

***


This is not a problem in Cinnamon 4.8.6.
Comment 4 Nolan Leasy 2021-08-24 16:09:26 UTC
Please assign this bug to the Cinnamon team.

The 'Display' setting dialog/window is a very important componenent in the Cinnamon environment and is still missing. The appropriate gschema is present in other Cinnamon 5.0.5 implementations, but was somehow omitted from the openSUSE implementation.

This is not an upstream problem.
Comment 5 andy great 2021-08-25 11:24:28 UTC
I recently push update cinnamon-control-center 5.0.2 to X11:Cinnamon:Factory which contain the file org.cinnamon.control-center.display.gschema.xml which might solve this issue. The cinnamon-control-center version 5.0.0 does not have this file because it did not exist, it seems to be add in a later version. I still waiting for it to build and will submit to factory. From what I understand X11:Cinnamon:Next is just a mirror of X11:Cinnamon:Factory, so nothing new there.
Comment 6 Nolan Leasy 2021-08-27 17:47:36 UTC
I have confirmed the the updated (5.0.2-60) version of 'cinnamon-control-center' resolves the missing Display dialog/gschema issue and that it works correctly in the openSUSE Tumbleweed environment.


zypper ar https://download.opensuse.org/repositories/X11:/Cinnamon:/Next/openSUSE_Factory/ Cinnamon-Test

zypper ref

zypper in --allow-vendor-change cinnamon-control-center

zypper mr -d Cinnamon-Test


Thanks for your hard work on this, Andy! Looking forward to this update being pushed to the standard Tumbleweed OSS repo.
Comment 7 Felix Niederwanger 2021-09-02 07:13:28 UTC
I can also confirm that the last update solved the issue. Now the display manager works again.

Thanks for the fix! Closing the issue now.