You are not logged in.

#1 2014-10-15 10:53:04

dsar
Member
From: Saint Petersburg
Registered: 2014-10-09
Posts: 44

[SOLVED]google-chrome menu hover setting

EDIT: Solution:  google-chrome AUR (Comment by weirddan455)

----------------------------

Hello everyone,

Does anyone know how to change the setting for the hover in google-chrome menu?
It is completely white for me (I cannot even read the text when a hover something).

I am trying to find something in ~/.config/google-chrome/Default/Preferences
but there are too many settings there...

Does anyone have the same problem?

Regards.

Last edited by dsar (2014-10-16 18:06:52)

Offline

#2 2014-10-16 06:51:51

xhi2018
Member
Registered: 2014-10-16
Posts: 3

Re: [SOLVED]google-chrome menu hover setting

Hello dsar,
hello everyone,

you are not alone - I'm facing exactly the same problem. Sorry so I can't help you, If there is anybody out there who knows a solution - many thanks in advance.

best regards

Offline

#3 2014-10-16 07:37:01

mar04
Member
From: Poland
Registered: 2010-02-08
Posts: 117

Re: [SOLVED]google-chrome menu hover setting

There is a comment in google-chrome's AUR page by weirddan455 explaining what's going on and how to fix it.

Offline

#4 2014-10-16 18:02:15

dsar
Member
From: Saint Petersburg
Registered: 2014-10-09
Posts: 44

Re: [SOLVED]google-chrome menu hover setting

mar04 wrote:

There is a comment in google-chrome's AUR page by weirddan455 explaining what's going on and how to fix it.

Many many thanks my friend!!
That worked wink

Offline

#5 2014-10-16 18:23:33

xhi2018
Member
Registered: 2014-10-16
Posts: 3

Re: [SOLVED]google-chrome menu hover setting

Hello,

in my case I have installed the chromium browser not the google-chrome. Thank you for pointing my head to this comment.

mar04 wrote:

There is a comment in google-chrome's AUR page by weirddan455 explaining what's going on and how to fix it.

After changing in the file /usr/share/themes/Adwaita/gtk-2.0/gtkrc

...
style "menu_item"
{
        xthickness      = 2
        ythickness      = 4
        # HACK: Gtk doesn't actually read this value
        # while rendering the menu items, but Libreoffice
        # does; setting this value equal to the one in
        # fg[PRELIGHT] ensures a code path in the LO theming code
        # that falls back to a dark text color for menu item text
        # highlight. The price to pay is black text on menus as well,
        # but at least it's readable.
        # See https://bugs.freedesktop.org/show_bug.cgi?id=38038
        bg[SELECTED]    = @selected_fg_color                <<<== change this value!! 

        bg[PRELIGHT]    = @selected_bg_color
        fg[PRELIGHT]    = @selected_fg_color
...

change bg[SELECTED]    = @selected_fg_color to bg[SELECTED]    = @selected_bg_color

...
style "menu_item"
{
        xthickness      = 2
        ythickness      = 4

        # HACK: Gtk doesn't actually read this value
        # while rendering the menu items, but Libreoffice
        # does; setting this value equal to the one in
        # fg[PRELIGHT] ensures a code path in the LO theming code
        # that falls back to a dark text color for menu item text
        # highlight. The price to pay is black text on menus as well,
        # but at least it's readable.
        # See https://bugs.freedesktop.org/show_bug.cgi?id=38038
        bg[SELECTED]    = @selected_bg_color

        bg[PRELIGHT]    = @selected_bg_color
        fg[PRELIGHT]    = @selected_fg_color
...

everything is okay - thank you again.. cool

Last edited by xhi2018 (2014-10-16 18:58:40)

Offline

Board footer

Powered by FluxBB