Announcement

Collapse
No announcement yet.

Chromium menu suddenly now Oxygen-ish?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Chromium menu suddenly now Oxygen-ish?

    I just noticed this yesterday:



    It's from my Oneiric laptop. I am unsure of why this is happening, although I'm certainly not complaining! Now I just to figure it out, and try to get my Precise laptop to do the same.

    #2
    Re: Chromium menu suddenly now Oxygen-ish?

    Found it. The Gtk+ Appearance page in System Settings | Application Appearance writes its configuration to ~/.gtkrc-2.0-kde4. However, the GTK2_RC_FILES environment variable that tells the Gtk+ engine where to find its theme contains ~/.gtkrc-2.0 instead. This was easy to fix; I created a symbolic link:

    Code:
    ln -s ~/.gtkrc-2.0-kde4 ~/.gtkrc-2.0
    My Oneiric box already includes the "kde4" file in the environment variable; that's why Chromium on that box was picking up the theme.

    Need to figure out where to report this bug.


    For the curious, the way I figured out the theme wasn't getting loaded (aside from the obvious visual differences) is by checking which files were associated with Chromium's processes. On the Oneiric box, I ran

    Code:
    lsof | grep chromium | grep oxygen
    which produced the following output:

    Code:
    chromium- 2140 sriley mem REG 8,1 145981528 1967617 /usr/share/icons/oxygen/icon-theme.cache
    chromium- 2140 sriley mem REG 8,1 1385440 1311256 /usr/lib/gtk-2.0/2.10.0/engines/liboxygen-gtk.so
    On the Precise box, the same command produced no output. Next, I compared the output of

    Code:
    find -iname '*gtkrc*'
    on box boxes, which was the same. Finally, I compared the output of

    Code:
    env | grep -i gtk
    and that's when I realized the difference.

    Comment

    Working...
    X