0

I get the following error when I try to start gnome-control-center on Kubuntu 19.04:

$ gnome-control-center

(gnome-control-center:3239): Gtk-WARNING **: 16:12:56.364: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(gnome-control-center:3239): Gtk-WARNING **: 16:12:56.364: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
**
ERROR:../shell/cc-shell-model.c:458:cc_shell_model_set_panel_visibility: assertion failed: (valid)
Aborted (core dumped)

Any idea on how to solve it?

Eliah Kagan
  • 116,445
  • 54
  • 318
  • 493
dmx
  • 1,917
  • 7
  • 25
  • 36
  • 3
    Why do you want to start `gnome-control-center` in Kubuntu? As far as I know, it is made for gnome desktop? – Tejas Lotlikar Dec 14 '19 at 15:43
  • @Tejas Lotlikar good question. Basically I wanted to install google calender on Kubuntu. I found a tuto with gnome-control-center. That Is why. – dmx Dec 14 '19 at 15:48
  • Please post the link for the tutorial. – DK Bose Dec 14 '19 at 16:07
  • @JusticeforMonica https://askubuntu.com/q/911495/600715 – dmx Dec 14 '19 at 16:37
  • The issue here is that I have many appointments on my calendar, but I cannot be notified if chrome is not running, So I am looking for a solution. – dmx Dec 14 '19 at 16:38
  • 3
    Forget about trying to get this gnome-core application to work while KDE is running. This is an application to configure the Gnome desktop, so it cannot do anything without Gnome Shell running. – vanadium Dec 14 '19 at 17:24
  • If you're interested in using a solution more "native" to Kubuntu, see https://zren.github.io/kde/widget/eventcalendar/. – DK Bose Dec 15 '19 at 03:08

1 Answers1

0

You can run locate gtk.css and find where those files are:

Then you can comment out using command like:

sudo sed -i -E 's~^.*child-displacement-.*$~/* \0 */~g' /usr/share/themes/Breeze/gtk-3.20/gtk.css

For me, I also needed to run:

sudo sed -i -E 's~^.*-GtkScrolledWindow-scrollbars-within-bevel.*$~/* \0 */~g' /usr/share/themes/Breeze/gtk-3.20/gtk.css
Jonathan
  • 656
  • 2
  • 12
  • 27