Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-02-24 18:38:49

marsdenf
Member
Registered: 2014-10-25
Posts: 10

[SOLVED] Xubuntu 14.04 window buttons, etc have all turned blue

normally I use greybird theme (and bluebird window manager) but I tried a few others.  When I went back to greybird , found all the window buttons on the panel have turned dark blue.  They used to be black except for a minimized or active window.  Also the bars on system load monitor, sensor plugin, and network monitor on the panel are blue.  Also, desktop notifications are all blue.  These all used to be black.  How to get it back?

Last edited by marsdenf (2016-02-25 00:15:13)

Offline

#2 2016-02-24 19:57:03

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,023

Re: [SOLVED] Xubuntu 14.04 window buttons, etc have all turned blue

Can you post a screenshot? It might help having something to see.

Do you have any GTK overrides in place? Look at the ~/.gtkrc-2.0 and ~/.config/gtk-3.0/settings.ini files.

Can you run the following commands in a terminal window and post back the results:

xfconf-query -c xsettings -p /Net/ThemeName
xfconf-query -c xfwm4 -p /general/theme
xfconf-query -c xfce4-notifyd -p /theme

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2016-02-24 20:21:35

marsdenf
Member
Registered: 2014-10-25
Posts: 10

Re: [SOLVED] Xubuntu 14.04 window buttons, etc have all turned blue

Here is the output of the commands you suggested:

marsdenf@marsdenf-Z170X-Gaming-3:~$ xfconf-query -c xsettings -p /Net/ThemeName
Greybird
marsdenf@marsdenf-Z170X-Gaming-3:~$ xfconf-query -c xfwm4 -p /general/theme
Bluebird
marsdenf@marsdenf-Z170X-Gaming-3:~$ xfconf-query -c xfce4-notifyd -p /theme
Greybird
marsdenf@marsdenf-Z170X-Gaming-3:~$

Here is .gtkrc-2.0  (I don't know what a GTK override looks like):

# Custom styles

style "gtk-theme-config-panel" {
    bg[NORMAL] = "#204a87"
    bg[PRELIGHT] = shade(1.1,"#204a87")
    bg[ACTIVE] = shade(0.9,"#204a87")
    bg[SELECTED] = shade(0.97,"#204a87")
    fg[NORMAL] = "#fcfcfc"
    fg[PRELIGHT] = "#fcfcfc"
    fg[SELECTED] = "#fcfcfc"
    fg[ACTIVE] = "#fcfcfc"
}

widget "*PanelWidget*" style "gtk-theme-config-panel"
widget "*PanelApplet*" style "gtk-theme-config-panel"
widget "*fast-user-switch*" style "gtk-theme-config-panel"
widget "*CPUFreq*Applet*" style "gtk-theme-config-panel"
widget "*indicator-applet*" style "gtk-theme-config-panel"
class "PanelApp*" style "gtk-theme-config-panel"
class "PanelToplevel*" style "gtk-theme-config-panel"
widget_class "*PanelToplevel*" style "gtk-theme-config-panel"
widget_class "*notif*" style "gtk-theme-config-panel"
widget_class "*Notif*" style "gtk-theme-config-panel"
widget_class "*Tray*" style "gtk-theme-config-panel"
widget_class "*tray*" style "gtk-theme-config-panel"
widget_class "*computertemp*" style "gtk-theme-config-panel"
widget_class "*Applet*Tomboy*" style "gtk-theme-config-panel"
widget_class "*Applet*Netstatus*" style "gtk-theme-config-panel"
widget "*gdm-user-switch-menubar*" style "gtk-theme-config-panel"
widget "*Xfce*Panel*" style "gtk-theme-config-panel"
class "*Xfce*Panel*" style "gtk-theme-config-panel"

In  /home/marsdenf/.config/gtk-3.0/  there are two files:  " bookmarks " and " gtk.css "  .  There is no " settings.ini " file. 
Here is gtk.css:

/* Custom styles */

/* select-off
@define-color selected_bg_color #398ee7;
@define-color selected_fg_color #fff;
@define-color theme_selected_bg_color @selected_bg_color;
@define-color theme_selected_fg_color @selected_fg_color;
select-off */

/* panel-on */
@define-color panel_bg_color #204a87;
@define-color panel_fg_color #fcfcfc;

PanelWidget,
PanelApplet,
PanelToplevel,
PanelSeparator,
PanelApplet > GtkMenuBar.menubar,
PanelApplet > GtkMenuBar.menubar.menuitem,
PanelMenuBar.menubar,
PanelMenuBar.menubar.menuitem,
PanelAppletFrame,
UnityPanelWidget,
.gnome-panel-menu-bar,
.unity-panel {
    background-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color,1.2)),to(shade(@panel_bg_color,0.8)));
    color: @panel_fg_color;
}

.unity-panel.menuitem,
.unity-panel .menuitem {
    color: @panel_fg_color;
}

.unity-panel.menubar.menuitem:hover,
.unity-panel.menubar .menuitem *:hover {
    border-color: shade(@panel_bg_color, 0.7);
    border-image: none;
    background-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color, 0.97)),to(shade(@panel_bg_color, 0.82)));
    color: @panel_fg_color;
}

PanelApplet .button {
    border-color: transparent;
    border-image: none;
    background-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color,1.2)),to(shade(@panel_bg_color,0.8)));
    color: @panel_fg_color;
    box-shadow: none;
    text-shadow: none;
    -unico-inner-stroke-width: 0;
}

PanelApplet .button:active {
    border-color: shade(@panel_bg_color,0.8);
    border-image: none;
    background-image: -gtk-gradient(linear,left top,left bottom,from(shade(shade(@panel_bg_color,1.02),0.9)),to(shade(shade(@panel_bg_color,1.02),0.95)));
    color: @panel_fg_color;
    box-shadow: none;
    text-shadow: none;
    -unico-inner-stroke-width: 0;
}

PanelApplet .button:prelight {
    border-color: transparent;
    border-image: none;
    background-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color,1.2)),to(shade(@panel_bg_color,1.0)));
    color: @panel_fg_color;
    box-shadow: none;
    text-shadow: none;
    -unico-inner-stroke-width: 0;
}

PanelApplet .button:active:prelight {
    border-color: shade(@panel_bg_color,0.8);
    border-image: none;
    background-image: -gtk-gradient(linear,left top,left bottom,from(shade(shade(@panel_bg_color,1.02),1.0)),to(shade(shade(@panel_bg_color,1.02),1.05)));
    color: @panel_fg_color;
    box-shadow: none;
    text-shadow: none;
    -unico-inner-stroke-width: 0;
}

WnckPager,
WnckTasklist {
    background-color: @panel_bg_color;
}

/* panel-on */

/* menu-off
@define-color menu_bg_color #eeeeee;
@define-color menu_fg_color #333333;

GtkTreeMenu.menu,
GtkMenuToolButton.menu,
GtkComboBox .menu {
    background-color: @menu_bg_color;
}

.primary-toolbar .button .menu,
.toolbar .menu,
.toolbar .primary-toolbar .menu,
.menu {
    border-style: none;
    background-image: none;
    background-color: @menu_bg_color;
    color: @menu_fg_color;
    box-shadow: none;
    text-shadow: none;
    -unico-inner-stroke-width: 0;
}

.menu.button:hover,
.menu.button:active,
.menu.button:active:insensitive,
.menu.button:insensitive,
.menu.button {
    background-color: @menu_bg_color;
    background-image: none;
}

GtkTreeMenu .menuitem * {
    color: @menu_fg_color;
}

.menuitem,
.menu .menuitem {
    background-color: transparent;
}

.menu .menuitem:active,
.menu .menuitem:hover {
    background-color: @theme_selected_bg_color;
}

.menuitem.check,
.menuitem.radio,
.menuitem.check:hover,
.menuitem.radio:hover,
.menuitem.check:active,
.menuitem.radio:active {
    background-color: transparent;
}

.menu .menuitem:insensitive,
.menu .menuitem *:insensitive {
    color: mix(@menu_fg_color,@menu_bg_color,0.5);
}

.menuitem.arrow {
    color: alpha(@menu_fg_color, 0.6);
}

.menuitem .entry {
    border-color: shade(@menu_bg_color,0.7);
    border-image: none;
    background-color: @menu_bg_color;
    background-image: none;
    color: @menu_fg_color;
}

.menuitem .accelerator {
    color: alpha(@menu_fg_color,0.6);
}

.menuitem .accelerator:insensitive {
    color: alpha(mix(@menu_fg_color,@menu_bg_color,0.5),0.6);
    text-shadow: none;
}

.menuitem.separator {
    background-color: transparent;
    color: shade(@menu_bg_color, 0.9);
}

.menuitem GtkCalendar,
.menuitem GtkCalendar.button,
.menuitem GtkCalendar.header,
.menuitem GtkCalendar.view {
    border-color: shade(@menu_bg_color,0.8);
    border-image: none;
    background-color: @menu_bg_color;
    background-image: none;
    color: @menu_fg_color;
}

.menuitem GtkCalendar:inconsistent {
    color: mix(@menu_fg_color,@menu_bg_color,0.5);
}

menu-off */


I hope this post isn't too long for this forum

Offline

#4 2016-02-24 20:29:16

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,023

Re: [SOLVED] Xubuntu 14.04 window buttons, etc have all turned blue

Yes. Those two files are overriding your settings (looks like you used gtk-theme-config). Rename them to get them out of the way:

mv ~/.gtkrc-2.0 ~/.gtkrc-2.0.BAK

...and:

mv ~/.config/gtk-3.0/gtk.css ~/.config/gtk-3.0/gtk.css.BAK

Then go back and change your Appearance theme away from and back to Greybird.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2016-02-24 20:44:54

marsdenf
Member
Registered: 2014-10-25
Posts: 10

Re: [SOLVED] Xubuntu 14.04 window buttons, etc have all turned blue

That worked.  Now how do I mark this thread as solved?

Offline

#6 2016-02-24 23:15:45

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,023

Re: [SOLVED] Xubuntu 14.04 window buttons, etc have all turned blue

marsdenf wrote:

That worked.  Now how do I mark this thread as solved?

Hmmm. I was certain we had a "Mark as solved" link available at the top for the originator of the post. Doesn't seem to be there anymore.

I'll look into it.

In the meantime, edit your original post and prepend "[SOLVED]" to the Subject line.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB