You are not logged in.

#1 2008-11-09 01:32:37

pjjanak
Member
Registered: 2008-08-17
Posts: 128

Theme Problems

So, I'm trying to use the DarkLooks theme and something very strange keeps happening. I set the theme and then after opening any new windows, they use GTK1. Here are some screen shots of the phenomona:

th_with_theme.png

th_without_theme.png

Anyone know why this might be happening?

Peter

Last edited by pjjanak (2008-11-09 01:33:52)

Offline

#2 2008-11-09 01:41:21

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: Theme Problems

I think that's the raleigh theme, not actually GTK1

Offline

#3 2008-11-09 03:22:05

pjjanak
Member
Registered: 2008-08-17
Posts: 128

Re: Theme Problems

Well, regardless, it shouldn't be happening.

Peter

Offline

#4 2008-11-09 03:39:27

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: Theme Problems

Weird... I get the same problem. I'm not sure what's causing it. A cursory glance through the gtkrc file shows nothing blatantly wrong, but I don't know anything about GTK themeing.

Offline

#5 2008-11-09 03:47:30

pjjanak
Member
Registered: 2008-08-17
Posts: 128

Re: Theme Problems

:-p, well, for the time being I was able to just use a different control set with the same colors. It's not the ideal solution, but for the time it's fine. i do wish I knew what was going on, though. It seems kind of silly that this would happen and doesn't rellay make sense.

Peter

Last edited by pjjanak (2008-11-09 03:50:24)

Offline

#6 2008-11-09 04:26:30

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Theme Problems

What happens when you run gtk programs from terminal? Do you get any gtk errors?


Website - Blog - arch-home
Arch User since March 2005

Offline

#7 2008-11-09 05:27:37

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: Theme Problems

/usr/share/themes/Darklooks/gtk-2.0/gtkrc:181: Invalid symbolic color 'tooltip_bg_color'
/usr/share/themes/Darklooks/gtk-2.0/gtkrc:181: error: invalid identifier `tooltip_bg_color', expected valid identifier
/usr/share/themes/Darklooks/gtk-2.0/gtkrc:181: Invalid symbolic color 'tooltip_bg_color'
/usr/share/themes/Darklooks/gtk-2.0/gtkrc:181: error: invalid identifier `tooltip_bg_color', expected valid identifier
(lxappearance:13648): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

Using darklooks.

(lxappearance:13653): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

Using clearlooks.

Edit: It works fine with those two lines commented out, and the tooltips look OK to me. It seems like there's a problem with the gtk_color_scheme in the third line of the file.

Last edited by SamC (2008-11-09 05:31:05)

Offline

#8 2008-12-01 09:44:19

delor
Member
From: Poland
Registered: 2008-02-02
Posts: 62
Website

Re: Theme Problems

Got same problem. Some apps gets DarkLook theme some don't, seems random. Problem started after KDE4 testing with qt-curve and lxappearance.
It's not only DarkLook them I have problem with.

Last edited by delor (2008-12-01 09:48:34)

Offline

#9 2009-01-04 17:31:44

userlander
Member
Registered: 2008-08-23
Posts: 413

Re: Theme Problems

This is a known bug. The problem is that the tooltip parameters in the heading of the gtkrc file (/usr/share/themes/Darklooks/gtk-2.0/gtkrc) are all plural (tooltips), while later in the file (lines 181 and 182) they are used in the singular (tooltip no "s").

The fix is to change either the heading items to singular (e.g., change "ntooltips_bg_color" to  "ntooltip_bg_color"), or change tooltip in lines 181 and 182 to be plural:

        bg[NORMAL] = @tooltips_bg_color
        fg[NORMAL] = @tooltips_fg_color

Since the error was complaining only about those specific lines, I changed the lines to plural and that fixed it. I didn't want to break something else by changing the heading and have to keep chasing errors. But looking in the Clearlooks gtkrc file, I think the original spec is rather for the headings to be singular. But I think that's for the developer to sort out in case changing that breaks something else. Not sure what's taking him/her/them so long to update it since it's such an easy fix.

Last edited by userlander (2009-01-04 17:37:49)

Offline

Board footer

Powered by FluxBB