You are not logged in.

#1 2017-02-28 05:47:45

emek
Member
Registered: 2017-02-28
Posts: 49

[SOLVED] GTK - warning theme parsing error

Hi there,I was an user of #! and since i use bunsen i have no problems until now.

I tried to customize my desktop, but i don't did it right and now I have a problem with gtk. When i run a program, the seems look bad: bad icons, bad shadows on the windows and stuff like that.

When i run a program from console, i got errors like:

Gtk-WARNING **: Theme parsing error: gtk-widgets-radiance.css:111:42: Expected '(

The problem  is i don't remember what i do to customize my desktop, so i can't  undo the changes.

Can anybody help me?

I think that will be a good idea restore the appearance of bunsenlabs but i don't know how to do it.


Thanks id advance.

P.D.: I don't now English very well, so i hope you understand me.

Last edited by emek (2017-02-28 20:18:40)

Offline

#2 2017-02-28 07:42:44

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,084
Website

Re: [SOLVED] GTK - warning theme parsing error

The file at ~/.gtkrc-2.0 controls the GTK theme for your desktop.

You can restore the original version of that file with:

cp /usr/share/bunsen/skel/.gtkrc-2.0 $HOME

Offline

#3 2017-02-28 13:02:40

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,072
Website

Re: [SOLVED] GTK - warning theme parsing error

Radiance is an Ubuntu theme, but that won't make a difference except maybe for GTK3 apps.

Anyway, try changing you theme via Menu>Preferences>Appearance

@damo made a nice 'introduction to the desktop' tutorial...


I don't care what you do at home. Would you care to explain?

Offline

#4 2017-02-28 20:05:39

emek
Member
Registered: 2017-02-28
Posts: 49

Re: [SOLVED] GTK - warning theme parsing error

Hi again, first thanks for your reply.

Head_on_a_Stick wrote:

The file at ~/.gtkrc-2.0 controls the GTK theme for your desktop.

You can restore the original version of that file with:

cp /usr/share/bunsen/skel/.gtkrc-2.0 $HOME

I try with this but the problem is still here

hhh wrote:

Radiance is an Ubuntu theme, but that won't make a difference except maybe for GTK3 apps.

Anyway, try changing you theme via Menu>Preferences>Appearance

@damo made a nice 'introduction to the desktop' tutorial...

I forgot to say that when I tried to customize my desktop I follow the tutorial that i found on the forum but obviously in the wrong way. I already try changing the theme via Menu>Preferences>Appearance and also with
Menu -> Preferences -> Openbox -> GUI Config Tool, but i have nothing but negative results.

What else can be?


Edit:

I just realize that don't occur with every program. For example, if i run evince from console i get the error 

Gtk-WARNING **: Theme parsing error: gtk-widgets-radiance.css:111:42: Expected '('

i check out .theme folder but is empty, so i have no idea where radiance theme can be.

Last edited by emek (2017-02-28 20:26:04)

Offline

#5 2017-02-28 20:48:29

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] GTK - warning theme parsing error

emek wrote:

...
I just realize that don't occur with every program. For example, if i run evince from console i get the error 

Gtk-WARNING **: Theme parsing error: gtk-widgets-radiance.css:111:42: Expected '('

i check out .theme folder but is empty, so i have no idea where radiance theme can be.

hhh wrote:

Radiance is an Ubuntu theme, but that won't make a difference except maybe for GTK3 apps.

Evince is a gtk3 application. Do you get the problem with one of the BL default themes?


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#6 2017-02-28 21:54:31

emek
Member
Registered: 2017-02-28
Posts: 49

Re: [SOLVED] GTK - warning theme parsing error

I'm not sure about your question, but i try change to every themes which appear on Menu>Preferences>Appearance and the error still here.

Damo say that evince is a gtk3 application, so I check the .config folder, and i found a gtk-3.0 folder where is the file which gives me the error.

I don't know if help, but I have this files on the folder:

apps
assets
bookmarks
gtk.css
gtk-main.css
gtk-widgets-assets.css
gtk-widgets-assets-radiance.css
gtk-widgets-borders.css
gtk-widgets-borders-radiance.css
gtk-widgets.css
#gtk-widgets-radiance.css#
gtk-widgets-radiance.css
public-colors.css
settings.ini

if a rename the folder (to tot to delete it just in case), and run evince the problem is gone. Can it be considered solved?

Offline

#7 2017-02-28 21:55:05

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,072
Website

Re: [SOLVED] GTK - warning theme parsing error

emek wrote:

i check out .theme folder but is empty, so i have no idea where radiance theme can be.

Check /usr/share/themes

Radiance is not in the Debian repo(s). Did you install something from Ubuntu (like 'light-themes') or a Launchpad PPA? If so, you may have broken your system.


I don't care what you do at home. Would you care to explain?

Offline

#8 2017-02-28 21:57:14

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,072
Website

Re: [SOLVED] GTK - warning theme parsing error

emek wrote:

if a rename the folder (to tot to delete it just in case), and run evince the problem is gone. Can it be considered solved?

If you have no errors and everything is working, yes. Let's not mark it SOLVED yet, though.


I don't care what you do at home. Would you care to explain?

Offline

#9 2017-02-28 22:06:00

emek
Member
Registered: 2017-02-28
Posts: 49

Re: [SOLVED] GTK - warning theme parsing error

hhh wrote:

Radiance is not in the Debian repo(s). Did you install something from Ubuntu (like 'light-themes') or a Launchpad PPA? If so, you may have broken your system.

I remember install something in that folder. But it wasn't something from ubuntu (i know that something from ubuntu ppa broke my system, so i never do that).

I remember download themes from the forum (post like Screenshots of month) but i not sure which one was (i do a lot of time ago).

What if a delete all folder on /usr/share/themes which were not originally on bl? It is very caveman?

Last edited by emek (2017-02-28 22:11:50)

Offline

#10 2017-02-28 22:21:17

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,072
Website

Re: [SOLVED] GTK - warning theme parsing error

No, don't do that. You need, for example,  hicolor. If everything works, leave it. Themes take up almost no space.

BTW, can you change themes now via lxappearance?


I don't care what you do at home. Would you care to explain?

Offline

#11 2017-02-28 22:33:31

emek
Member
Registered: 2017-02-28
Posts: 49

Re: [SOLVED] GTK - warning theme parsing error

hhh wrote:

No, don't do that. You need, for example,  hicolor. If everything works, leave it. Themes take up almost no space.
BTW, can you change themes now via lxappearance?

Yes, i can change themes from lxappearance without problems. But don't appear all the names of the folder on /usr/share/themes/

I'll be more carefully in the future when i install themes big_smile

Should i put solved in the name of the topic?

Thanks you all guys

Offline

#12 2017-02-28 22:59:40

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,072
Website

Re: [SOLVED] GTK - warning theme parsing error

It's normal that all those folder names don't appear. Besides GTK themes, that folder also contains cursor themes, notification themes, Openbox themes, etc...

Glad it's working now, I'll take care of marking this SOLVED.  smile

Post back here if you find you still have the same issue.


I don't care what you do at home. Would you care to explain?

Offline

Board footer

Powered by FluxBB