NM-Applet not following GTK theme

Hello,
I've recently switched from WICD to NetworkManager for my network management, and I have noticed that NetworkManager, refuses to follow my GTK theme, I figured I'm missing a dependency for something, considering it is the only app that doesn't follow it, but I can't figure out what it is.... I've done some searching, and I haven't found anything relating to the issue.
I am running AwesomeWM, but I don't believe that to be causing the problem... nm-applet runs beautifully aside of the GTK theme not showing up. Now, it doesn't really bug me that it doesn't show the theme, since it looks fine until you click on it... but I figured there may be a solution.
My GTK theme is a varient of the GNOME Crux theme, which I do have installed properly...
You can see the difference in styles here...
Now, I have noticed when I start NM-Applet via terminal, I get the following GDK errors.
[18:26][burchettm@NOVA-FD][~]$ nm-applet --sm-disable
(nm-applet:6440): Gdk-CRITICAL **: gdk_visual_get_red_pixel_details: assertion `GDK_IS_VISUAL (visual)' failed
(nm-applet:6440): Gdk-CRITICAL **: gdk_visual_get_green_pixel_details: assertion `GDK_IS_VISUAL (visual)' failed
(nm-applet:6440): Gdk-CRITICAL **: gdk_visual_get_blue_pixel_details: assertion `GDK_IS_VISUAL (visual)' failed
** Message: applet now removed from the notification area
** Message: applet now embedded in the notification area
Now, I don't know if those GDK errors are the problems with my GTK theme not following the app, but I figured it was worth mentioning.
Any ideas?
Thanks,
Matt
Last edited by themattbeballin (2011-07-14 23:36:48)

stqn wrote:I don't think so. All posts about this on this forum point to installing a Gtk3 theme.
Gah. That sucks. I really like the Crux theme... wonder if I can make or find a port of it... Might look at that when I get back to town... I just symlinked Adwaita's gtk-3.0 into my ~/.config for now.
Last edited by themattbeballin (2011-07-15 02:30:52)

Similar Messages

  • Apps not using gtk theme

    Strange thing happens:
    I have installed some applications (firefox, pidgin, clementine, vlc) when gnome was not even installed (through xterm), and they seem to ignore the gtk theme I'm using.
    What should I do?

    It's the theme from Linux Mint. I've basically copied the folders to /usr/share/themes and .themes.
    Everything works fine except for these apps which were installed before gnome. I'm guessing it's all about some configurations that were made.
    EDIT: changed the theme but the issue is still there.
    Last edited by bogdan2011 (2012-06-29 22:41:27)

  • Running GNOME apps in Xfce; not detecting GTK+ theme

    I primarily use Xfce4 as my desktop environment, but with some GNOME apps such as file-roller and gedit. It appears that GNOME apps no longer detect the current GTK+ theme while using Xfce. They just use the horrible, blocky default theme. This seems to have started after an update about a month ago, and reinstalling the system didn't fix it. Has anyone else had this problem? Any help is appreciated.

    Kinux wrote:
    I had the same problem. Searching the forums, the solution for me was to :
    pacman -S gnome-themes-standard
    And then a symbolic link to gtk3 theme :
    ln -s /usr/share/themes/Adwaita/gtk-3.0 ~/.config/
    This way the new gedit or fileroller use the Adwaita theme while normal Xfce programs use the one I set in Appearance settings.
    Hope this helps you too.
    Hi,my friend, You are right! Thank you very much!!!

  • I have consolidate my folders related to the video I am in the progress of working on.  Premiere elements does not follow their new location.  How do I syn them back up all at once so premiere doesn't ask me for their location when I open the project

    I have consolidate my folders related to the video I am in the progress of working on.  Premiere elements does not follow their new location.  How do I syn them back up all at once so premiere doesn't ask me for their location when I open the project

    This is the Photoshop Elements forum, not the Premiere Elements forum, located here:
    https://forums.adobe.com/community/premiere_elements
    When you open the project, it should ask you where the first file is located. After you tell it where it is, it should be able to find the rest of them if they are located near the first one.  Then save the file.  If you move the files again, you will have to relink them again.

  • [solved] Fluxbox + LXappearance gtk theme not changing in certain prog

    I'm using fluxbox with LXappearance, which is working great, except that gedit and empathy don't change their gtk theme. All the other programs on my computer do change to the theme I pick in LXappearance. Does anyone know if there is a reason for this? (maybe its gnome or ubuntu related?)
    Its not a huge deal, but the behavior is sorta weird. I don't get any error messages or anything either.
    Last edited by Meskarune (2011-05-13 12:11:53)

    Those programs appear to be set to use GTK 3 themes now, which seem not to be compatible with GTK 2 themes (and vice-versa). I had the same problem, so had to specify a theme in .config/gtk-3.0/settings.ini but of course it's still not a match for the apps that use the GTK 2 theme instead.

  • How to force Eclipse so it will not use my gtk theme?

    Hello,
       I am using a very dark setup / gtk theme - anyone knows how I can force Eclipse so it will bypass my theme settings and use standard swing look and feel?
    Best regards,
    Mike.
    Last edited by praavDa (2009-04-27 10:15:30)

    I doubt you can get Eclipse to use a Swing look and Feel, but you can find a lighter GTK theme and do this:
    $ GTK2_RC_FILES=/my/other/gtkrc eclipse

  • Nm-applet not saving passwords

    I have OpenBox (without gnome), and nm-applet. When I try to connect to an encrypted wireless network it just keeps asking for a password, over and over. This is the message that comes up in the terminal with me trying to connect:
    ** Message: No keyring secrets found for <net name>/802-11-wireless-security; asking user.
    It was working yesterday, but then I installed then uninstalled KDE4.6 and it did not work.
    As a side note, does anyone know of a reason why nm-applet would not use the regular GTK theme? It looks really annoying right now.

    johnislarry wrote:
    So I managed to find a solution to my problem. I don't know if it will help anybody else, but maybe it will. I changed two things. The first was creating a file
    /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla
    and writing the following lines to it:
    [nm-applet]
    Identity=unix-group:network
    Action=org.freedesktop.NetworkManager.*
    ResultAny=yes
    ResultInactive=no
    ResultActive=yes
    That can also be found here https://wiki.archlinux.org/index.php/Ne … ermissions and it allows users in the group "network" to use nm-applet functionalities. The second thing I changed was commenting out a "no-auto-default" line in /etc/NetworkManager/NetworkManager.conf.
    After these changes I am able to use nm-applet as a regular user for connecting to both secured and unsecured networks.
    Thank you very much for this.  I was experiencing these same issues, and this seems to have fixed the problem.

  • GTK theme, FF buttons problem

    Hello,
    I recently moved to Macchiato gtk theme, which is very nice. Sadly it has a problem with Firefox/Thunderbird buttons that I'm unable to fix. Explained by images:
    no mouse over button:
    (if you look closer, you'll see that text is barely visible, but bg/fg colors are almost same)
    mouse over button:
    I tried playing with gtkrc, no luck. I'm using gtk-engine-murrine svn as of Feb 26.
    Help please.
    gtkrc for convenience
    # Macchiato
    # by Jesse L. Kay
    # Last revision: 29 December 2008
    # Set GtkSettings color scheme property.
    # This can be overriden (via an xsetting) with eg. the gnome-appearance-properties.
    gtk_color_scheme = "fg_color:#323232\nbg_color:#D3CAAA\nbase_color:#DED4B3\ntext_color:#323232\nselected_bg_color:#9C9478\nselected_fg_color:#fff\ntooltip_bg_color:#ebeab8\ntooltip_fg_color:#323232"
    style "murrine-default"
    # Style Properties
    GtkButton ::child-displacement-x = 1
    GtkButton ::child-displacement-y = 1
    GtkButton ::default-border = { 0, 0, 0, 0 }
    GtkCheckButton ::indicator-size = 14
    GtkPaned ::handle-size = 6
    GtkRange ::trough-border = 1
    GtkRange ::slider-width = 8
    GtkRange ::stepper-size = 13
    GtkScale ::slider-length = 14
    GtkScale ::slider-width = 8
    GtkScale ::stepper-size = 13
    GtkScale ::trough-side-details = 0
    GtkScrollbar ::min-slider-length = 30
    GtkMenuBar ::internal-padding = 0
    GtkExpander ::expander-size = 16
    GtkToolbar ::internal-padding = 1
    GtkTreeView ::expander-size = 12
    GtkTreeView ::vertical-separator = 0
    GtkOptionMenu ::indicator-size = 0
    GtkMenu ::horizontal-padding = 0
    GtkMenu ::vertical-padding = 0
    GtkScrolledWindow::scrollbar-spacing = 3
    GtkNotebook::tab-curvature = 3
    GtkNotebook::tab-overlap = 4
    # Glow the tasklist by changing the color, instead of overlaying it with a rectangle
    WnckTasklist ::fade-overlay-rect = 0
    #WnckTasklist ::fade-loop-time = 5.0
    #WnckTasklist ::fade-opacity = 0.7
    xthickness = 1
    ythickness = 1
    fg[NORMAL] = @fg_color
    fg[PRELIGHT] = @fg_color
    fg[SELECTED] = @selected_fg_color
    fg[INSENSITIVE] = darker (@bg_color)
    fg[ACTIVE] = shade (0.60, @fg_color) #pidgin tabs, unselected tabs
    bg[NORMAL] = @bg_color
    bg[ACTIVE] = shade (0.60, @bg_color)
    bg[PRELIGHT] = shade (0.6, @bg_color)
    bg[SELECTED] = @selected_bg_color
    bg[INSENSITIVE] = shade (1.03,@bg_color)
    base[NORMAL] = @base_color
    base[PRELIGHT] = @base_color
    base[SELECTED] = @selected_bg_color
    base[INSENSITIVE] = @bg_color
    base[ACTIVE] = @selected_bg_color
    text[NORMAL] = @text_color
    text[PRELIGHT] = @text_color
    text[SELECTED] = @selected_fg_color
    text[INSENSITIVE] = @text_color
    text[ACTIVE] = @text_color
    # window background
    bg_pixmap[NORMAL] = "window-bg.png"
    engine "murrine"
    animation = TRUE # FALSE = disabled, TRUE = enabled
    colorize_scrollbar = TRUE # FALSE = disabled, TRUE = enabled
    contrast = 0.8 # 0.8 for less contrast, more than 1.0 for more contrast on borders
    glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
    gradient_shades = {1.09,1.01,1.01,0.9} # default: {1.1,1.0,1.0,1.1}
    gradients = TRUE # FALSE = disabled, TRUE = enabled
    highlight_ratio = 1.0 # set highlight amount for buttons or widgets
    lightborder_ratio = 1.3 # sets lightborder amount for buttons or widgets
    lightborderstyle = 1 # 0 = lightborder on top side, 1 = lightborder on all sides
    listviewheaderstyle = 2 # 0 = flat, 1 = glassy, 2 = raised
    listviewstyle = 1 # 0 = nothing, 1 = dotted
    menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
    menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
    menuitemstyle =0 # 0 = flat, 1 = glassy, 2 = striped
    menustyle = 0 # 0 = no vertical menu stripe, 1 = display vertical menu stripe
    reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow
    rgba = TRUE # FALSE = disabled, TRUE = enabled
    roundness = 0 # 0 = squared, 1 = old default, more will increase roundness
    scrollbarstyle = 0 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
    sliderstyle = 0 # 0 = nothing added, 1 = handles
    stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
    # style = MURRINE # engine style options: CANDIDO, CLEARLOOKS, MIST, MURRINE, NODOKA
    toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient
    style "murrine-wide"
    xthickness = 2
    ythickness = 2
    style "murrine-wider"
    xthickness = 3
    ythickness = 3
    style "murrine-dark"
    bg[NORMAL] = shade(0.2,@bg_color)
    bg[SELECTED] = shade(0.9,@selected_bg_color)
    bg[PRELIGHT] = shade (0.5, @selected_bg_color)
    bg[ACTIVE] = mix (0.5, @selected_bg_color, shade(0.2,@bg_color))
    bg[INSENSITIVE] = shade(0.2,@bg_color)
    fg[NORMAL] = mix (0.9, '#ffffef', @fg_color)
    fg[PRELIGHT] = mix (0.8, '#ffffef', @fg_color)
    fg[SELECTED] = mix (0.8, '#ffffef', @fg_color)
    fg[ACTIVE] = mix (0.8, '#ffffef', @fg_color)
    fg[INSENSITIVE] = mix (0.9, '#ffffef', @fg_color)
    style "murrine-button"
    xthickness = 3
    ythickness = 3
    text[NORMAL] = "#000000"
    text[PRELIGHT] = shade (0.20, @bg_color)
    text[ACTIVE] = "#000000"
    bg[NORMAL] = @bg_color
    bg[PRELIGHT] = shade (1.20, @bg_color)
    bg[ACTIVE] = @bg_color
    fg[NORMAL] = @bg_color
    style "murrine-toolbar" = "murrine-dark"
    bg[SELECTED] = "#363330"
    bg[NORMAL] = "#363330"
    bg[PRELIGHT] = "#363330"
    bg[ACTIVE] = "#363330"
    engine "murrine"{
    gradient_shades = {1.0,0.9,0.9,0.75}
    profile = MURRINE
    style "murrine-notebook-bg" = "murrine-default"
    bg[NORMAL] = shade (1.05, @bg_color)
    bg[ACTIVE] = shade (0.95, @bg_color)
    xthickness = 2
    style "murrine-notebook" = "murrine-notebook-bg"
    xthickness = 2
    style "murrine-tasklist"
    xthickness = 3
    ythickness = 3
    style "murrine-panel" = "murrine-dark" {
    xthickness = 3
    ythickness = 3
    bg[NORMAL] = "#4D453F"
    bg[PRELIGHT] = shade (0.5, @bg_color)
    bg[ACTIVE] = "#45413E"
    fg[NORMAL] = @bg_color
    fg[PRELIGHT] = @bg_color
    fg[ACTIVE] = @bg_color
    engine "murrine" {
    roundness = 1
    rgba = TRUE
    highlight_ratio = 1.0
    reliefstyle = 2
    contrast = 0.8
    style "murrine-menu" = "murrine-dark"
    xthickness = 3
    ythickness = 3
    bg[NORMAL] = "#363330"
    text[NORMAL] = @bg_color
    text[PRELIGHT] = @selected_fg_color
    style "murrine-menu-item" = "murrine-dark"
    xthickness = 3
    ythickness = 3
    bg[NORMAL] = "#363330"
    engine "murrine" {
    roundness = 0
    contrast = 0.2
    style "murrine-separator-menu-item"
    GtkSeparatorMenuItem::horizontal-padding = 0
    GtkWidget::wide-separators = 1
    GtkWidget::separator-width = 1
    GtkWidget::separator-height = 1
    xthickness = 1
    ythickness = 0
    style "murrine-treeview"
    # Based on the default style so that the colors from the button
    # style are overriden again.
    style "murrine-treeview-header" = "murrine-button"
    xthickness = 2
    ythickness = 1
    GtkWidget::focus-line-width = 0
    engine "murrine" {
    # SZ07: This is added to tell the theme how to color checkmarks and radio items that are not in menus.
    style "murrine-radiocheck" = "murrine-default"
    text[NORMAL] = shade (1.15, @bg_color) # Color for checks/radio items.
    text[PRELIGHT] = @selected_fg_color # Color for selected checks/radio items.
    engine "murrine"{
    style "murrine-tooltips"
    xthickness = 4
    ythickness = 4
    bg[NORMAL] = @tooltip_bg_color
    fg[NORMAL] = @tooltip_fg_color
    style "murrine-progressbar"
    xthickness = 1
    ythickness = 1
    fg[PRELIGHT] = @selected_fg_color
    bg[SELECTED] = "#9C9478"
    style "murrine-comboboxentry"
    style "murrine-spinbutton"
    style "murrine-scale"
    bg[PRELIGHT] = shade(0.9,@bg_color)
    style "murrine-hscale" = "murrine-scale"
    style "murrine-vscale" = "murrine-scale"
    style "murrine-scrollbar"
    bg[NORMAL] = shade (1.0, @bg_color)
    engine "murrine" {
    #highlight_ratio = 1.3
    scrollbar_color = "#9C9478"
    #glazestyle = 0
    roundness = 1
    rgba = FALSE
    GtkRange ::trough-border = 3
    style "murrine-hscrollbar" = "murrine-scrollbar"
    style "murrine-vscrollbar" = "murrine-scrollbar"
    style "murrine-menubar" = "murrine-dark"
    bg[NORMAL] = "#363330"
    engine "murrine"{
    gradient_shades = {1.0,0.9,0.9,0.75}
    style "murrine-frame"
    #Uncomment for dark statusbars. Breaks some apps.
    bg[ACTIVE] = shade(0.2,@bg_color)
    fg[NORMAL] = mix (1.5, @fg_color, '#ffffff')
    fg[PRELIGHT] = mix (1.4, @fg_color, '#ffffff')
    style "murrine-frame-title" = "murrine-frame"
    fg[NORMAL] = lighter (@fg_color)
    style "murrine-nautilus-location"
    bg[NORMAL] = mix(0.60, shade (1.05,@bg_color), @selected_bg_color)
    # Matches
    # murrine default style is applied to every widget
    class "GtkWidget" style "murrine-default"
    # Increase the x/ythickness in some widgets
    class "GtkRange" style "murrine-default"
    class "GtkFrame" style "murrine-frame"
    class "GtkSeparator" style "murrine-wide"
    class "GtkEntry" style "murrine-wider"
    class "GtkStatusbar" style "murrine-default"
    class "GtkToolbar" style "murrine-toolbar"
    class "GtkMenuBar" style:highest "murrine-menubar"
    class "*HandleBox" style "murrine-toolbar"
    widget_class "*HandleBox" style "murrine-toolbar"
    class "GtkSpinButton" style "murrine-spinbutton"
    class "GtkScale" style "murrine-scale"
    class "GtkVScale" style "murrine-vscale"
    class "GtkHScale" style "murrine-hscale"
    class "GtkScrollbar" style "murrine-scrollbar"
    class "GtkVScrollbar" style "murrine-vscrollbar"
    class "GtkHScrollbar" style "murrine-hscrollbar"
    class "GtkButton" style "murrine-button"
    class "GtkRadioButton*" style "murrine-radiocheck" # SZ07: Added for the checkmarks/radio
    class "GtkCheckButton" style "murrine-radiocheck" # SZ07: Added for the checkmarks/radio
    # General matching following, the order is choosen so that the right styles override each other
    # eg. progressbar needs to be more important then the menu match.
    widget_class "*<GtkNotebook>*<GtkEventBox>" style "murrine-notebook-bg"
    widget_class "*<GtkStatusbar>*" style "murrine-wider"
    widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "murrine-notebook-bg"
    widget_class "*<GtkNotebook>*<GtkLayout>" style "murrine-notebook-bg"
    widget_class "*<GtkNotebook>" style "murrine-notebook"
    widget_class "*<GtkComboBoxEntry>*" style "murrine-comboboxentry"
    widget_class "*<GtkCombo>*" style "murrine-comboboxentry"
    widget_class "*<GtkMenu>*" style "murrine-menu"
    widget_class "*<GtkMenuItem>*" style "murrine-menu-item"
    widget_class "*<GtkSeparatorMenuItem>*" style "murrine-separator-menu-item"
    widget_class "*<GtkFrame>" style "murrine-frame"
    widget_class "*.<GtkFrame>.<GtkLabel>" style "murrine-frame-title"
    widget_class "*.<GtkTreeView>*" style "murrine-treeview"
    widget_class "*<GtkStatusbar>*" style "murrine-wider"
    widget_class "*<GtkProgressBar>" style "murrine-progressbar"
    # Treeview header
    widget_class "*.<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
    widget_class "*.<GtkCTree>.<GtkButton>" style "murrine-treeview-header"
    widget_class "*.<GtkList>.<GtkButton>" style "murrine-treeview-header"
    widget_class "*.<GtkCList>.<GtkButton>" style "murrine-treeview-header"
    widget_class "*<GtkToolbar>.*" style "murrine-toolbar"
    #Panel
    widget "*PanelWidget*" style "murrine-panel"
    widget "*PanelApplet*" style "murrine-panel"
    widget "*fast-user-switch*" style "murrine-panel" # Workaround for Fast User Switch applet
    class "PanelApp*" style "murrine-panel"
    class "PanelToplevel*" style "murrine-panel"
    #The panel menubar
    widget_class "*Panel*<GtkMenuBar>*" style:highest "murrine-panel"
    # The window of the tooltip is called "gtk-tooltip"
    widget "gtk-tooltip*" style "murrine-tooltips"
    # Special cases and work arounds
    # Fixes toolbars inside frames. Will be overridden later.
    style "murrine-toolbar-flat" = "murrine-default"
    xthickness = 3
    ythickness = 3
    engine "murrine"
    toolbarstyle = 0
    widget_class "*.*.*.*.*.*Toolbar*" style "murrine-toolbar-flat"
    widget_class "*.*.*.*.*.*HandleBox*" style "murrine-toolbar-flat"
    #Undo for Epiphany (FIXME find a better way to do this)
    #widget_class "*EphyToolbar*" style "pixmap-toolbar"
    #widget_class "*EphyToolbar*.*.*.*" style "murrine-toolbar"
    # Workarounds for Evolution
    widget_class "*.ETable.ECanvas" style "murrine-treeview-header"
    widget_class "*.ETree.ECanvas" style "murrine-treeview-header"
    #Firefox isn't nice to dark themes, so unset the dark stuff.
    #widget "MozillaGtkWidget*Toolbar*" style "murrine-default"
    #widget "MozillaGtkWidget*Frame*" style "murrine-default"
    #Thunderbird too. But since Thunderbird uses the same theming engine as FF2, things are worse for us.
    # Special case the nautilus-extra-view-widget
    # ToDo: A more generic approach for all applications that have a widget like this.
    widget "*.nautilus-extra-view-widget" style : highest "murrine-nautilus-location"
    # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
    style "murrine-text-is-fg-color-workaround"
    text[NORMAL] = @fg_color
    text[PRELIGHT] = @fg_color
    text[SELECTED] = @selected_fg_color
    text[ACTIVE] = @fg_color
    text[INSENSITIVE] = darker (@bg_color)
    widget_class "*.<GtkComboBox>.<GtkCellView>" style "murrine-text-is-fg-color-workaround"
    style "murrine-text-is-fg-color-workaround-dark"
    #Make it work with this theme!
    text[NORMAL] = mix (1.5, @fg_color, '#ffffff')
    text[PRELIGHT] = mix (1.4, @fg_color, '#ffffff')
    widget_class "*Toolbar*.<GtkComboBox>.<GtkCellView>" style "murrine-text-is-fg-color-workaround-dark"
    style "murrine-menuitem-text-is-fg-color-workaround"
    #text[NORMAL] = @fg_color
    #text[PRELIGHT] = @selected_fg_color
    #text[SELECTED] = @selected_fg_color
    #text[ACTIVE] = @fg_color
    #text[INSENSITIVE] = darker (@bg_color)
    #Make it work with this theme!
    text[NORMAL] = mix (1.5, @fg_color, '#ffffff')
    text[PRELIGHT] = mix (1.4, @fg_color, '#ffffff')
    widget "*.gtk-combobox-popup-menu.*" style "murrine-menuitem-text-is-fg-color-workaround"
    # Work around the usage of GtkLabel inside GtkListItems to display text.
    # This breaks because the label is shown on a background that is based on the
    # base color set.
    style "murrine-fg-is-text-color-workaround"
    fg[NORMAL] = @text_color
    fg[PRELIGHT] = @text_color
    fg[ACTIVE] = @selected_fg_color
    fg[SELECTED] = @selected_fg_color
    fg[INSENSITIVE] = darker (@bg_color)
    widget_class "*<GtkListItem>*" style "murrine-fg-is-text-color-workaround"
    # The same problem also exists for GtkCList and GtkCTree
    # Only match GtkCList and not the parent widgets, because that would also change the headers.
    widget_class "*<GtkCList>" style "murrine-fg-is-text-color-workaround"
    #Rhythmbox toolbar near the search entry. Use default + wide so that it doesn't turn dark.
    style "murrine-rhythmbox-header" = "murrine-default"
    xthickness = 3
    ythickness = 3
    engine "murrine" {
    widget "*RBSourceHeader*" style:highest "murrine-rhythmbox-header"
    widget "*HeaderToolbar*" style:highest "murrine-rhythmbox-header"
    widget "*FooterToolbar*" style:highest "murrine-rhythmbox-header"
    widget "*swt*toolbar*" style "murrine-default"
    #Evolution toolbar
    style "murrine-evo-new-button-workaround" = "murrine-dark"
    engine "murrine"
    toolbarstyle = 0
    widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround"
    # RSC: Fix for CPU frequency applet
    style "applet-text" = "murrine-panel"
    fg[NORMAL] = @bg_color
    widget_class "*CPUFreqApplet*" style:highest "applet-text"

    Hello,
    I recently moved to Macchiato gtk theme, which is very nice. Sadly it has a problem with Firefox/Thunderbird buttons that I'm unable to fix. Explained by images:
    no mouse over button:
    (if you look closer, you'll see that text is barely visible, but bg/fg colors are almost same)
    mouse over button:
    I tried playing with gtkrc, no luck. I'm using gtk-engine-murrine svn as of Feb 26.
    Help please.
    gtkrc for convenience
    # Macchiato
    # by Jesse L. Kay
    # Last revision: 29 December 2008
    # Set GtkSettings color scheme property.
    # This can be overriden (via an xsetting) with eg. the gnome-appearance-properties.
    gtk_color_scheme = "fg_color:#323232\nbg_color:#D3CAAA\nbase_color:#DED4B3\ntext_color:#323232\nselected_bg_color:#9C9478\nselected_fg_color:#fff\ntooltip_bg_color:#ebeab8\ntooltip_fg_color:#323232"
    style "murrine-default"
    # Style Properties
    GtkButton ::child-displacement-x = 1
    GtkButton ::child-displacement-y = 1
    GtkButton ::default-border = { 0, 0, 0, 0 }
    GtkCheckButton ::indicator-size = 14
    GtkPaned ::handle-size = 6
    GtkRange ::trough-border = 1
    GtkRange ::slider-width = 8
    GtkRange ::stepper-size = 13
    GtkScale ::slider-length = 14
    GtkScale ::slider-width = 8
    GtkScale ::stepper-size = 13
    GtkScale ::trough-side-details = 0
    GtkScrollbar ::min-slider-length = 30
    GtkMenuBar ::internal-padding = 0
    GtkExpander ::expander-size = 16
    GtkToolbar ::internal-padding = 1
    GtkTreeView ::expander-size = 12
    GtkTreeView ::vertical-separator = 0
    GtkOptionMenu ::indicator-size = 0
    GtkMenu ::horizontal-padding = 0
    GtkMenu ::vertical-padding = 0
    GtkScrolledWindow::scrollbar-spacing = 3
    GtkNotebook::tab-curvature = 3
    GtkNotebook::tab-overlap = 4
    # Glow the tasklist by changing the color, instead of overlaying it with a rectangle
    WnckTasklist ::fade-overlay-rect = 0
    #WnckTasklist ::fade-loop-time = 5.0
    #WnckTasklist ::fade-opacity = 0.7
    xthickness = 1
    ythickness = 1
    fg[NORMAL] = @fg_color
    fg[PRELIGHT] = @fg_color
    fg[SELECTED] = @selected_fg_color
    fg[INSENSITIVE] = darker (@bg_color)
    fg[ACTIVE] = shade (0.60, @fg_color) #pidgin tabs, unselected tabs
    bg[NORMAL] = @bg_color
    bg[ACTIVE] = shade (0.60, @bg_color)
    bg[PRELIGHT] = shade (0.6, @bg_color)
    bg[SELECTED] = @selected_bg_color
    bg[INSENSITIVE] = shade (1.03,@bg_color)
    base[NORMAL] = @base_color
    base[PRELIGHT] = @base_color
    base[SELECTED] = @selected_bg_color
    base[INSENSITIVE] = @bg_color
    base[ACTIVE] = @selected_bg_color
    text[NORMAL] = @text_color
    text[PRELIGHT] = @text_color
    text[SELECTED] = @selected_fg_color
    text[INSENSITIVE] = @text_color
    text[ACTIVE] = @text_color
    # window background
    bg_pixmap[NORMAL] = "window-bg.png"
    engine "murrine"
    animation = TRUE # FALSE = disabled, TRUE = enabled
    colorize_scrollbar = TRUE # FALSE = disabled, TRUE = enabled
    contrast = 0.8 # 0.8 for less contrast, more than 1.0 for more contrast on borders
    glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
    gradient_shades = {1.09,1.01,1.01,0.9} # default: {1.1,1.0,1.0,1.1}
    gradients = TRUE # FALSE = disabled, TRUE = enabled
    highlight_ratio = 1.0 # set highlight amount for buttons or widgets
    lightborder_ratio = 1.3 # sets lightborder amount for buttons or widgets
    lightborderstyle = 1 # 0 = lightborder on top side, 1 = lightborder on all sides
    listviewheaderstyle = 2 # 0 = flat, 1 = glassy, 2 = raised
    listviewstyle = 1 # 0 = nothing, 1 = dotted
    menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
    menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
    menuitemstyle =0 # 0 = flat, 1 = glassy, 2 = striped
    menustyle = 0 # 0 = no vertical menu stripe, 1 = display vertical menu stripe
    reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow
    rgba = TRUE # FALSE = disabled, TRUE = enabled
    roundness = 0 # 0 = squared, 1 = old default, more will increase roundness
    scrollbarstyle = 0 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
    sliderstyle = 0 # 0 = nothing added, 1 = handles
    stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
    # style = MURRINE # engine style options: CANDIDO, CLEARLOOKS, MIST, MURRINE, NODOKA
    toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient
    style "murrine-wide"
    xthickness = 2
    ythickness = 2
    style "murrine-wider"
    xthickness = 3
    ythickness = 3
    style "murrine-dark"
    bg[NORMAL] = shade(0.2,@bg_color)
    bg[SELECTED] = shade(0.9,@selected_bg_color)
    bg[PRELIGHT] = shade (0.5, @selected_bg_color)
    bg[ACTIVE] = mix (0.5, @selected_bg_color, shade(0.2,@bg_color))
    bg[INSENSITIVE] = shade(0.2,@bg_color)
    fg[NORMAL] = mix (0.9, '#ffffef', @fg_color)
    fg[PRELIGHT] = mix (0.8, '#ffffef', @fg_color)
    fg[SELECTED] = mix (0.8, '#ffffef', @fg_color)
    fg[ACTIVE] = mix (0.8, '#ffffef', @fg_color)
    fg[INSENSITIVE] = mix (0.9, '#ffffef', @fg_color)
    style "murrine-button"
    xthickness = 3
    ythickness = 3
    text[NORMAL] = "#000000"
    text[PRELIGHT] = shade (0.20, @bg_color)
    text[ACTIVE] = "#000000"
    bg[NORMAL] = @bg_color
    bg[PRELIGHT] = shade (1.20, @bg_color)
    bg[ACTIVE] = @bg_color
    fg[NORMAL] = @bg_color
    style "murrine-toolbar" = "murrine-dark"
    bg[SELECTED] = "#363330"
    bg[NORMAL] = "#363330"
    bg[PRELIGHT] = "#363330"
    bg[ACTIVE] = "#363330"
    engine "murrine"{
    gradient_shades = {1.0,0.9,0.9,0.75}
    profile = MURRINE
    style "murrine-notebook-bg" = "murrine-default"
    bg[NORMAL] = shade (1.05, @bg_color)
    bg[ACTIVE] = shade (0.95, @bg_color)
    xthickness = 2
    style "murrine-notebook" = "murrine-notebook-bg"
    xthickness = 2
    style "murrine-tasklist"
    xthickness = 3
    ythickness = 3
    style "murrine-panel" = "murrine-dark" {
    xthickness = 3
    ythickness = 3
    bg[NORMAL] = "#4D453F"
    bg[PRELIGHT] = shade (0.5, @bg_color)
    bg[ACTIVE] = "#45413E"
    fg[NORMAL] = @bg_color
    fg[PRELIGHT] = @bg_color
    fg[ACTIVE] = @bg_color
    engine "murrine" {
    roundness = 1
    rgba = TRUE
    highlight_ratio = 1.0
    reliefstyle = 2
    contrast = 0.8
    style "murrine-menu" = "murrine-dark"
    xthickness = 3
    ythickness = 3
    bg[NORMAL] = "#363330"
    text[NORMAL] = @bg_color
    text[PRELIGHT] = @selected_fg_color
    style "murrine-menu-item" = "murrine-dark"
    xthickness = 3
    ythickness = 3
    bg[NORMAL] = "#363330"
    engine "murrine" {
    roundness = 0
    contrast = 0.2
    style "murrine-separator-menu-item"
    GtkSeparatorMenuItem::horizontal-padding = 0
    GtkWidget::wide-separators = 1
    GtkWidget::separator-width = 1
    GtkWidget::separator-height = 1
    xthickness = 1
    ythickness = 0
    style "murrine-treeview"
    # Based on the default style so that the colors from the button
    # style are overriden again.
    style "murrine-treeview-header" = "murrine-button"
    xthickness = 2
    ythickness = 1
    GtkWidget::focus-line-width = 0
    engine "murrine" {
    # SZ07: This is added to tell the theme how to color checkmarks and radio items that are not in menus.
    style "murrine-radiocheck" = "murrine-default"
    text[NORMAL] = shade (1.15, @bg_color) # Color for checks/radio items.
    text[PRELIGHT] = @selected_fg_color # Color for selected checks/radio items.
    engine "murrine"{
    style "murrine-tooltips"
    xthickness = 4
    ythickness = 4
    bg[NORMAL] = @tooltip_bg_color
    fg[NORMAL] = @tooltip_fg_color
    style "murrine-progressbar"
    xthickness = 1
    ythickness = 1
    fg[PRELIGHT] = @selected_fg_color
    bg[SELECTED] = "#9C9478"
    style "murrine-comboboxentry"
    style "murrine-spinbutton"
    style "murrine-scale"
    bg[PRELIGHT] = shade(0.9,@bg_color)
    style "murrine-hscale" = "murrine-scale"
    style "murrine-vscale" = "murrine-scale"
    style "murrine-scrollbar"
    bg[NORMAL] = shade (1.0, @bg_color)
    engine "murrine" {
    #highlight_ratio = 1.3
    scrollbar_color = "#9C9478"
    #glazestyle = 0
    roundness = 1
    rgba = FALSE
    GtkRange ::trough-border = 3
    style "murrine-hscrollbar" = "murrine-scrollbar"
    style "murrine-vscrollbar" = "murrine-scrollbar"
    style "murrine-menubar" = "murrine-dark"
    bg[NORMAL] = "#363330"
    engine "murrine"{
    gradient_shades = {1.0,0.9,0.9,0.75}
    style "murrine-frame"
    #Uncomment for dark statusbars. Breaks some apps.
    bg[ACTIVE] = shade(0.2,@bg_color)
    fg[NORMAL] = mix (1.5, @fg_color, '#ffffff')
    fg[PRELIGHT] = mix (1.4, @fg_color, '#ffffff')
    style "murrine-frame-title" = "murrine-frame"
    fg[NORMAL] = lighter (@fg_color)
    style "murrine-nautilus-location"
    bg[NORMAL] = mix(0.60, shade (1.05,@bg_color), @selected_bg_color)
    # Matches
    # murrine default style is applied to every widget
    class "GtkWidget" style "murrine-default"
    # Increase the x/ythickness in some widgets
    class "GtkRange" style "murrine-default"
    class "GtkFrame" style "murrine-frame"
    class "GtkSeparator" style "murrine-wide"
    class "GtkEntry" style "murrine-wider"
    class "GtkStatusbar" style "murrine-default"
    class "GtkToolbar" style "murrine-toolbar"
    class "GtkMenuBar" style:highest "murrine-menubar"
    class "*HandleBox" style "murrine-toolbar"
    widget_class "*HandleBox" style "murrine-toolbar"
    class "GtkSpinButton" style "murrine-spinbutton"
    class "GtkScale" style "murrine-scale"
    class "GtkVScale" style "murrine-vscale"
    class "GtkHScale" style "murrine-hscale"
    class "GtkScrollbar" style "murrine-scrollbar"
    class "GtkVScrollbar" style "murrine-vscrollbar"
    class "GtkHScrollbar" style "murrine-hscrollbar"
    class "GtkButton" style "murrine-button"
    class "GtkRadioButton*" style "murrine-radiocheck" # SZ07: Added for the checkmarks/radio
    class "GtkCheckButton" style "murrine-radiocheck" # SZ07: Added for the checkmarks/radio
    # General matching following, the order is choosen so that the right styles override each other
    # eg. progressbar needs to be more important then the menu match.
    widget_class "*<GtkNotebook>*<GtkEventBox>" style "murrine-notebook-bg"
    widget_class "*<GtkStatusbar>*" style "murrine-wider"
    widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "murrine-notebook-bg"
    widget_class "*<GtkNotebook>*<GtkLayout>" style "murrine-notebook-bg"
    widget_class "*<GtkNotebook>" style "murrine-notebook"
    widget_class "*<GtkComboBoxEntry>*" style "murrine-comboboxentry"
    widget_class "*<GtkCombo>*" style "murrine-comboboxentry"
    widget_class "*<GtkMenu>*" style "murrine-menu"
    widget_class "*<GtkMenuItem>*" style "murrine-menu-item"
    widget_class "*<GtkSeparatorMenuItem>*" style "murrine-separator-menu-item"
    widget_class "*<GtkFrame>" style "murrine-frame"
    widget_class "*.<GtkFrame>.<GtkLabel>" style "murrine-frame-title"
    widget_class "*.<GtkTreeView>*" style "murrine-treeview"
    widget_class "*<GtkStatusbar>*" style "murrine-wider"
    widget_class "*<GtkProgressBar>" style "murrine-progressbar"
    # Treeview header
    widget_class "*.<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
    widget_class "*.<GtkCTree>.<GtkButton>" style "murrine-treeview-header"
    widget_class "*.<GtkList>.<GtkButton>" style "murrine-treeview-header"
    widget_class "*.<GtkCList>.<GtkButton>" style "murrine-treeview-header"
    widget_class "*<GtkToolbar>.*" style "murrine-toolbar"
    #Panel
    widget "*PanelWidget*" style "murrine-panel"
    widget "*PanelApplet*" style "murrine-panel"
    widget "*fast-user-switch*" style "murrine-panel" # Workaround for Fast User Switch applet
    class "PanelApp*" style "murrine-panel"
    class "PanelToplevel*" style "murrine-panel"
    #The panel menubar
    widget_class "*Panel*<GtkMenuBar>*" style:highest "murrine-panel"
    # The window of the tooltip is called "gtk-tooltip"
    widget "gtk-tooltip*" style "murrine-tooltips"
    # Special cases and work arounds
    # Fixes toolbars inside frames. Will be overridden later.
    style "murrine-toolbar-flat" = "murrine-default"
    xthickness = 3
    ythickness = 3
    engine "murrine"
    toolbarstyle = 0
    widget_class "*.*.*.*.*.*Toolbar*" style "murrine-toolbar-flat"
    widget_class "*.*.*.*.*.*HandleBox*" style "murrine-toolbar-flat"
    #Undo for Epiphany (FIXME find a better way to do this)
    #widget_class "*EphyToolbar*" style "pixmap-toolbar"
    #widget_class "*EphyToolbar*.*.*.*" style "murrine-toolbar"
    # Workarounds for Evolution
    widget_class "*.ETable.ECanvas" style "murrine-treeview-header"
    widget_class "*.ETree.ECanvas" style "murrine-treeview-header"
    #Firefox isn't nice to dark themes, so unset the dark stuff.
    #widget "MozillaGtkWidget*Toolbar*" style "murrine-default"
    #widget "MozillaGtkWidget*Frame*" style "murrine-default"
    #Thunderbird too. But since Thunderbird uses the same theming engine as FF2, things are worse for us.
    # Special case the nautilus-extra-view-widget
    # ToDo: A more generic approach for all applications that have a widget like this.
    widget "*.nautilus-extra-view-widget" style : highest "murrine-nautilus-location"
    # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
    style "murrine-text-is-fg-color-workaround"
    text[NORMAL] = @fg_color
    text[PRELIGHT] = @fg_color
    text[SELECTED] = @selected_fg_color
    text[ACTIVE] = @fg_color
    text[INSENSITIVE] = darker (@bg_color)
    widget_class "*.<GtkComboBox>.<GtkCellView>" style "murrine-text-is-fg-color-workaround"
    style "murrine-text-is-fg-color-workaround-dark"
    #Make it work with this theme!
    text[NORMAL] = mix (1.5, @fg_color, '#ffffff')
    text[PRELIGHT] = mix (1.4, @fg_color, '#ffffff')
    widget_class "*Toolbar*.<GtkComboBox>.<GtkCellView>" style "murrine-text-is-fg-color-workaround-dark"
    style "murrine-menuitem-text-is-fg-color-workaround"
    #text[NORMAL] = @fg_color
    #text[PRELIGHT] = @selected_fg_color
    #text[SELECTED] = @selected_fg_color
    #text[ACTIVE] = @fg_color
    #text[INSENSITIVE] = darker (@bg_color)
    #Make it work with this theme!
    text[NORMAL] = mix (1.5, @fg_color, '#ffffff')
    text[PRELIGHT] = mix (1.4, @fg_color, '#ffffff')
    widget "*.gtk-combobox-popup-menu.*" style "murrine-menuitem-text-is-fg-color-workaround"
    # Work around the usage of GtkLabel inside GtkListItems to display text.
    # This breaks because the label is shown on a background that is based on the
    # base color set.
    style "murrine-fg-is-text-color-workaround"
    fg[NORMAL] = @text_color
    fg[PRELIGHT] = @text_color
    fg[ACTIVE] = @selected_fg_color
    fg[SELECTED] = @selected_fg_color
    fg[INSENSITIVE] = darker (@bg_color)
    widget_class "*<GtkListItem>*" style "murrine-fg-is-text-color-workaround"
    # The same problem also exists for GtkCList and GtkCTree
    # Only match GtkCList and not the parent widgets, because that would also change the headers.
    widget_class "*<GtkCList>" style "murrine-fg-is-text-color-workaround"
    #Rhythmbox toolbar near the search entry. Use default + wide so that it doesn't turn dark.
    style "murrine-rhythmbox-header" = "murrine-default"
    xthickness = 3
    ythickness = 3
    engine "murrine" {
    widget "*RBSourceHeader*" style:highest "murrine-rhythmbox-header"
    widget "*HeaderToolbar*" style:highest "murrine-rhythmbox-header"
    widget "*FooterToolbar*" style:highest "murrine-rhythmbox-header"
    widget "*swt*toolbar*" style "murrine-default"
    #Evolution toolbar
    style "murrine-evo-new-button-workaround" = "murrine-dark"
    engine "murrine"
    toolbarstyle = 0
    widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround"
    # RSC: Fix for CPU frequency applet
    style "applet-text" = "murrine-panel"
    fg[NORMAL] = @bg_color
    widget_class "*CPUFreqApplet*" style:highest "applet-text"

  • What's the correct way to make QT4/KDE4 apps use my GTK theme?

    I tried going to Computer -> System Settings -> Appearance and setting the widget style to GTK+ (instead of the default oxygen) but my computer crashes.  If I load xterm from kdm and try to run kwin for example, I get the following error message.
    "QGtkStyle cannot be used together with the GTK_Qt engine."
    and then it segfaults.
    http://wiki.archlinux.org/index.php/Uni … d_GTK_apps 
    This page says to use QGtkStyle, which comes bundled with QT 4.5.  I assume that is what I do with the previous procedure, but obviously that is giving me problems.  Any ideas?
    Fyi, this just started happening tonight when I rebooted my computer.  I've had it set to GTK+ for a while and my KDE apps rendered with my GTK theme, but when I rebooted it segfaulted loading the desktop and I haven't been able to get it to work since.  Any ideas?

    Maybe you should try typing "qtconfig" in the terminal. You can choose GTK+ then. Works for me. I didn't install anything special except the QT applications I use (including QTcreator), so I think "qtconfig" should be available when you have QT installed.
    Also look out for a ".kde" directory (?) in your home folder (even when you don't use KDE it might be that you have it). It could be that you've got some contradictory settings in some configuration files that are read when QT apps are started. I'm not sure on this one, though.

  • Xfce4 Does Not change icon theme

    Hi arch community,
       I have installed xfce4, Liking it. But when I wanted to change the icons, I wanted to  use the Cheser icon theme, so I followed the instuctions here:
    http://docs.xfce.org/xfce/xfce4-settings/appearance
    Under the icon section.
    I could not change the icon theme, but I could change everything else such as fonts and gtk theme.
    Here's what I have tried:
    -Deleting ~/.config directory
    -Log out, then back in.
    -Changing the permissions of ~/.icons to username
    -Rebooted
    EDIT:
    This was somehow solved by a hard reboot,because the logon manager failed to work,I think the cleanup removed/corruped one of the files, then changed my icons!
    Call me crazy, but that's how I did it.
    Last edited by Ahad12 (2013-08-02 15:29:29)

    I am having the exact same problem. It is even worse because it has happened to me in class before.
    The other day, after coming to class I opened up my MBP from sleep intending to work on some things for class. As a general practice I hit the mute key as soon as I open the Mac. This always worked well with my Powerbook. However the system did not mute and the connection noises from iChat played out. This upset the teacher who glared at me for the rest of the class.
    This is not an isolated incident either. I have had the tool bar and the translucent icon disagree a number of times.
    I have found that if I hit the mute key twice it will generally correct the problem. But it is annoying. I hope someone at Apple is listening (in more than one way it would seem)
    Macbook Pro   Mac OS X (10.4.6)  

  • Setting the GTK theme for Chromium

    Hello,
    Apparently my Chromium installation does not correctly follow my GTK theme settings although it should according to the Chromium settings. There I defined that Chromium should use my GTK theme.
    Screenshot of the settings in Chromium and Gnome Tweak Tool: http://i.imgur.com/LK1a4fd.png
    Screenshot of how Chromium looks like: http://i.imgur.com/xL6Qi3y.png
    Look at the buttons of the context menu for example. They do not look like as if they would follow the GTK theme.
    Any ideas are appreciated.

    Toggling between classic and GTK theme does not make any difference.
    [orschiro@thinkpad ~]$ cat ~/.gtkrc-2.0
    # DO NOT EDIT! This file will be overwritten by LXAppearance.
    # Any customization should be done in ~/.gtkrc-2.0.mine instead.
    gtk-theme-name="Zukitwo"
    gtk-icon-theme-name="Faenza-Dark"
    gtk-font-name="Droid Sans 10"
    gtk-cursor-theme-name="Adwaita"
    gtk-cursor-theme-size=24
    gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
    gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
    gtk-button-images=1
    gtk-menu-images=1
    gtk-enable-event-sounds=0
    gtk-enable-input-feedback-sounds=0
    gtk-xft-antialias=1
    gtk-xft-hinting=1
    gtk-xft-hintstyle="hintfull"
    gtk-xft-rgba="rgb"
    gtk-color-scheme="tooltip_fg_color:#000000\nlink_color:#08c\nbase_color:#F7F7F7\nselected_fg_color:#f5f5f5\ntext_color:#2c2c2c\nbg_color_dark:#3f3f3f\ntext_color_dark:#FFF\nbg_color:#d4d4d4\ntooltip_bg_color:#F5F5B5\nselected_bg_color:#6699CC\nfg_color:#2c2c2c\n"
    include "/home/orschiro/.gtkrc-2.0.mine"
    [orschiro@thinkpad ~]$ cat ~/.gtkrc.mine
    cat: /home/orschiro/.gtkrc.mine: No such file or directory
    Why does it not exist? Is it not created by one of the theme choosing apps?
    [orschiro@thinkpad ~]$ ls ~/.config/gtk-2.0
    total 4
    -rw-r--r-- 1 orschiro users 292 Sep 16 19:06 gtkfilechooser.ini

  • Gtk overscroll overlay issue on gtk-theme-flatstudio

    Hi,
    I find the gtk theme gtk-theme-flatstudio in AUR and I apply it.
    When I scroll in gtk application such as evince and rhythmbox, opaque bar appears top and bottom.
    http://www.pixentral.com/pics/170zqsCOf … b7lGD1.png
    Same report on AUR comment and I search fix, but I can't find...
    That problem doesn't appears Adwaita.
    So I want to remove that opaque bar and replace by transparent effect like Adwaita.
    Any ideas for fix?
    Mod note: Please read the etiquette regarding pasting images -- https://wiki.archlinux.org/index.php/Fo … s_and_code --  WorMzy
    Last edited by WorMzy (2015-05-28 13:24:15)

    mmjam22 wrote:Same report on AUR comment and I search fix, but I can't find...
    That was me, it's been driving me crazy since the update.
    Chazza wrote:This may not be a satisfactory fix for your problem, but you can disable the overlay scrollbars if you so wish: https://wiki.archlinux.org/index.php/GT … scrollbars
    I would be fine with disabling it, but I don't think that's what the wiki is referring to. The issue isn't that the scrollbar doesn't show unless hovered over, it's with the overscroll shading being opaque.
    Using a different theme is always an option, but flatstudio just looks so nice...
    Edit:
    I just figured out a workaround. Pasting the following into ~/.config/gtk-3.0/gtk.css:
    https://gist.github.com/epedroni/03e605 … le-gtk-css
    restores the stock Adwaita overshoot look (dark).
    To get rid of it completely, use this instead:
    https://gist.github.com/epedroni/746d75 … le-gtk-css
    It's a bit of a nasty hack, but it solves the issue. I don't know enough about GTK3 theming to fix FlatStudio itself and I don't have the time to look into it right now unfortunately, but I hope this helps anyone who has this problem in the future.
    Last edited by eddy_hunter (2015-05-31 14:59:38)

  • Openbox Theme from GTK theme [beta]

    Something like this surely exists, here is my version..
    Creates an Openbox Theme from your chosen GTK Theme ... ..in 1), 2), 3)...
    1) you need to launch your theme changing from a script like this (instead of calling your GTK switcher directly)
    #!/bin/bash
    # call your gtk theme switcher and as it quits create a matching openbox theme
    # command for gtk theme switcher
    lxappearance
    # path to auto openbox theme generator script
    ~/bin/auto-openbox-theme
    # launch obconf (so you can select the newly made theme)
    obconf
    exit
    2) For that to work you also need this next script in ~/bin/auto-openbox-theme and made executable
    #!/bin/bash
    # Looks for the current GTK theme and automatically creates a matching Openbox theme
    # The script fails on themes not following the Clearlooks convention..
    # ..future improvements will account for this - for now the script politely fails on such themes.
    # function used to see if script is generating empty results from GTK it can't handle yet
    function emptycheck {
    if [ -s $myfile ]
    then
    echo "$myfile has data."
    else
    echo "$myfile is empty."
    xmessage "Sorry this gtk is not handled yet. You should not select the generated Openbox Theme this time."
    exit
    fi
    # main script #
    # copy ~/.gtkrc-2.0 to a new file and remove all data except theme name line (!d = don't delete)
    sed /gtk-theme-name/!d ~/.gtkrc-2.0 > ~/.gtk-match-openbox-info
    # remove string before gtk theme name and return info to this file (-i)
    sed -i s/gtk-theme-name=// ~/.gtk-match-openbox-info
    # strip off all (/g) speach marks (\") and return info to this file (-i)
    sed -i s/\"//g ~/.gtk-match-openbox-info
    # place the theme name in a variable
    mygtktheme=$(cat ~/.gtk-match-openbox-info)
    # copy file called mygtktheme to a new file
    sed /gtk_color_scheme/!d ~/.themes/"$mygtktheme"/gtk-2.0/gtkrc > ~/.gtk-match-openbox-info
    # strip the line down to just colours
    sed -i s/gtk_color_scheme\ =\ \"// ~/.gtk-match-openbox-info
    sed -i s/gtk-color-scheme\ =\ \"// ~/.gtk-match-openbox-info
    sed -i s/fg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/bg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/base_color\:#// ~/.gtk-match-openbox-info
    sed -i s/text_color\:#// ~/.gtk-match-openbox-info
    sed -i s/selected_bg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/selected_fg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/tooltip_bg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/tooltip_fg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/\"//g ~/.gtk-match-openbox-info
    # force \n to be a true line break so colours on individual lines
    sed -i s/\n/\\n/g ~/.gtk-match-openbox-info
    sed -i 's/\\//g' ~/.gtk-match-openbox-info
    # store some colours for use in Openbox theme
    # don't delete (!d) line number n and place it in a text file colournX
    # where X is used later to aid production of Openbox theme
    sed '1!d' ~/.gtk-match-openbox-info > /tmp/colour1V
    sed '2!d' ~/.gtk-match-openbox-info > /tmp/colour2W
    sed '3!d' ~/.gtk-match-openbox-info > /tmp/colour3X
    sed '4!d' ~/.gtk-match-openbox-info > /tmp/colour4Y
    sed '5!d' ~/.gtk-match-openbox-info > /tmp/colour5Z
    # check if we have empty data from unhandled GTK themes
    myfile="/tmp/colour1V"
    emptycheck
    myfile="/tmp/colour2W"
    emptycheck
    myfile="/tmp/colour3X"
    emptycheck
    myfile="/tmp/colour4Y"
    emptycheck
    myfile="/tmp/colour5Z"
    emptycheck
    # hold the above in varibles
    myV=$(cat /tmp/colour1V)
    myW=$(cat /tmp/colour2W)
    myX=$(cat /tmp/colour3X)
    myY=$(cat /tmp/colour4Y)
    myZ=$(cat /tmp/colour5Z)
    # make Openbox theme by replacing VWXYZ in template with colours
    sed s/VVVVVV/$myV/g ~/.themes/obthemetemplate/openbox-3/TEMPLATE > /tmp/obtheme
    sed -i s/WWWWWW/$myW/g /tmp/obtheme
    sed -i s/XXXXXX/$myX/g /tmp/obtheme
    sed -i s/YYYYYY/$myY/g /tmp/obtheme
    sed s/ZZZZZZ/$myZ/g /tmp/obtheme > ~/.themes/obthemetemplate/openbox-3/themerc
    # update rc.xml
    #urxvt -e /usr/bin/obconf
    3) AND you need this folder in your ~/.themes/ folder - download it, extract and copy to ~/.themes
    4) (optional but welcome) Post your fails, post your abusive and constructive criticism, and post your "hey why don't you use this 5million times better version here?"'s
    thanks, bye

    Works fine here. Thanks for the script, it's quite handy and I got at last a nice OB theme witch fits with the murrina chrome gtk theme

  • KDE4 Quirk Fixes: Desktop Servicemenus & GTK Themes

    Since I have spent quite some time with frustration trying to get kde 4.2 to work properly, I finally solved 2 of my most annoying problems. I figured this might help someone else out, so it couldn't hurt to post. Note that both of these are rather hackish solutions, but until better ways come about, they work just fine for me and probably will for you. I'm not sure which of these are caused by actual bugs as opposed to something I don't understand yet, so I will hold off on reporting them until I'm sure.
    Servicemenus:
    If you've noticed that you -can't- unzip/unrar/untar for some reason ONLY on the desktop (presumably in folderview as well, since the desktop is just a folderview plugin of sorts), I seem to have figured out why and how to work around it. I noticed at random that somehow my Root Actions Servicemenu was working, which no right click menus had been before. I was baffled. In looking around for a solution with the hope of getting my others to work, I removed the ark* servicemenus from /usr/share/kde4/services/ServiceMenus/  (the kdemod4 servicemenus folder. it may be diff for normal kde4) and installed extract-compress-servicemenu-kde4 from AUR. Good news -- on logging out and in, i had a compress menu on right click. Buuuuuuuut...no extract. Which renders it virtually useless for me. After all sorts of looking around, comparing, trial and error, it seems that (confirmed by doing it to 4 different non-working servicemenus) the argument %F is not accepted in 4.2 servicemenus on the desktop/folderview and they just don't show up at all. Replacing %F with %U in the servicemenus and logging out and in.. magic! Being able to extract files without manually opening konqueror or Ark, via right click! With the desktop backend and easy servicemenus working, the desktop is finally useful again. YAY. I confirmed this by doing the same thing to 4 different previously-not-working servicemenus, which had been converted from KDE3 via this:
    #sudo cp /opt/kde/share/apps/konqueror/servicemenus/* /usr/share/kde4/services/ServiceMenus/  use this line to copy from kdemod3 dir to kdemod4 dir
    #copy your other servicemenus to the corresponding dir above
    cd /usr/share/kde4/services/ServiceMenus/ #for kdemod4
    sudo sed -i "s/\[Desktop Entry\]/\[Desktop Entry\]\nType=Service/" *
    sudo sed -i "s/ServiceTypes\=/ServiceTypes\=KonqPopupMenu\/Plugin\,/" *
    This helpful botch of a previously good script (tweaked to fit my system, pathetically hardcoded to take from kdemod3 and give to kdemod4) was taken from here:
    http://www.kde-look.org/content/show.ph … tent=80131
    SO:
    1) Convert the servicemenu from kde3 if it's not a kde4 one already with the above stuff.
    2) Replace %F with %U. Another argument may suffice. Note that this could possibly screw stuff up if you attempt to do multiple files, but as a workaround, at least it makes things work!
    3) log out and in
    GTK Themes:
    It seems that systemsettings->appearance->colors->options->apply colors to non-kde4 apps screws up the colors on the system for gtk apps. Gtk-qt-engine didn't work for me whatsoever (ended in an ugly flat theme) when installed and activated in systemsettings/appearance with qtcurve-kde4, and gtk-kde4 turned the text green and screwed up some things. I couldn't fix the former, but disabling what seems to be the logical setting to use in the settings manager seems to fix the text problems, and somehow they were the colors they should have been.
    Alternatively, use identical (qtcurve or oxygen) themes on gnome/gtk and kde4/qt and use lxappearance as said in the wiki to set them to be the same, using the color disabling given above.
    Last edited by FrozenFox (2009-02-01 10:51:11)

    Hi, I'm working on this issue also, over at Chakra CCR.
    Here is what I figured out so far:
    Problem:
    1. awn-settings is searching for the icons of its gui.
    2. If one of them is missing, it tries to substitute it with the icon named "gtk-missing-image"
    3. If it doesn't find this neither, the error happens and awn-settings won't start.
    All this happens in /usr/share/avant-window-navigator/awn-settings/awnClass.py lines 1017 - 1047
    As soon as I substituted both occurences of "gtk-missing-image" with "folder" (or any random kde icon) there, it works.
    When you open awn-settings then, you'll see, that "Task-Manager" and "Advanced" have the folder as their icon.
    The according errors in the commandline are:
    Could not locate the following icon: gtk-execute
    Could not locate the following icon: gtk-properties
    Now for a kde-version of awn, all we have to figure out is
    1. where those two icons get called (through the "safe_load_icon()" method) and replace their names with their kde equivalents.
    2. Maybe replace the fallback icon with something more meaningfull than "folder"
    Last edited by Caldazar (2012-06-21 16:49:48)

  • Swing components in applet not working in web browser

    Hi Guys,
    I've created an applet which makes use of some swing components, but unfortunately, not all of them function properly in my web browser (internet explorer or Mozilla Firefox). Its mainly the buttons; the last buttons works and displays the correct file within the broswer, but the first 5 buttons do not work...
    any help please on how I can sort this problem out?
    Heres the code for my applet:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.applet.*;
    public class MainAppWindow extends JApplet
    int gapBetweenButtons = 5;
    final JPanel displayPanel = new JPanel(new BorderLayout());
    public void init()
       //Panel for overall display in applet window.
       JPanel mainPanel = new JPanel(new BorderLayout());
       mainPanel.add(new JLabel(new ImageIcon(getClass().getResource("images/smalllogo2.gif"))),BorderLayout.NORTH);
       //sub mainPanel which holds all mainPanels together.
       JPanel holdingPanel = new JPanel(new BorderLayout());
       //Panel for displaying all slide show and applications in.
       displayPanel.setBackground(Color.white);
       displayPanel.add(new JLabel(new ImageIcon(getClass().getResource("images/IntroPage.jpg"))),BorderLayout.CENTER);
       displayPanel.setPreferredSize(new Dimension(590,400));
       JPanel buttonPanel = new JPanel(new GridLayout(6,1,0,gapBetweenButtons));
       buttonPanel.setBackground(Color.white);
       JButton button1 = new JButton("User guide");
       button1.addActionListener(
         new ActionListener() {
              public void actionPerformed(ActionEvent e)
                   if(displayPanel.getComponents().length > 0)displayPanel.removeAll(); // If there are any components in the mainPanel, remove them and then add label
                   displayPanel.setBackground(Color.white);
                   displayPanel.add(new JLabel(new ImageIcon("images/UserGuide.jpg")));
                   displayPanel.revalidate(); // Validates displayPanel to allow changes to occur onto it, allowing to add different number images/applicaions to it.
       JButton button2 = new JButton("What is a Stack?");
       button2.addActionListener(
       new ActionListener() {
               public void actionPerformed(ActionEvent e)
                   if(displayPanel.getComponents().length > 0)displayPanel.removeAll();
                   displayPanel.setBackground(Color.white);
                   displayPanel.add(new JLabel(new ImageIcon("images/WhatIsAStack.jpg")));
                   displayPanel.revalidate();
       JButton button3 = new JButton("STACK(ADT)");
       button3.addActionListener(
       new ActionListener() {
             public void actionPerformed(ActionEvent e)
                   if(displayPanel.getComponents().length > 0)displayPanel.removeAll();
                   displayPanel.setBackground(Color.white);
                   displayPanel.add(new JLabel(new ImageIcon("images/StackADT.jpg")));
                   displayPanel.revalidate();
       JButton button4 = new JButton("Stacks in the Real World");
       button4.addActionListener(
       new ActionListener() {
             public void actionPerformed(ActionEvent e)
                   if(displayPanel.getComponents().length > 0)displayPanel.removeAll();
                   displayPanel.setBackground(Color.white);
                   displayPanel.add(new JLabel(new ImageIcon("images/StacksInTheRealWorld.jpg")));
                   displayPanel.revalidate();
       JButton button5 = new JButton("DEMONSTRATION");
       button5.addActionListener(
       new ActionListener() {
             public void actionPerformed(ActionEvent e)
                 if(displayPanel.getComponents().length > 0)displayPanel.removeAll();
                 Demonstration app = new Demonstration();
                 JPanel appPanel = app.createComponents();//gets the created components from Demonstration application.
                 appPanel.setBackground(Color.pink);
               displayPanel.add(appPanel);
               displayPanel.revalidate();
       JButton button6 = new JButton("Towers Of Hanoi");
       button6.addActionListener(
       new ActionListener() {
             public void actionPerformed(ActionEvent e)
                     if(displayPanel.getComponents().length > 0)displayPanel.removeAll();
                     TowerOfHanoi app = new TowerOfHanoi();
                     JPanel appPanel = app.createComponents();//gets the created components from Towers of Hanoi
                     JPanel mainPanel = new JPanel();//panel used to centralise the application in center
                     mainPanel.add(appPanel);
                     mainPanel.setBackground(Color.pink); //sets mainPanel's background color for 'Towers Of Hanoi'
                     displayPanel.add(mainPanel);
                     displayPanel.revalidate();
       //adding buttons to the buttonPanel.
       buttonPanel.add(button1);
       buttonPanel.add(button2);
       buttonPanel.add(button3);
       buttonPanel.add(button4);
       buttonPanel.add(button5);
       buttonPanel.add(button6);
       JPanel p = new JPanel(); // Used so that the buttons maintain their default shape
       p.setBackground(Color.white);
       p.add(buttonPanel);
       holdingPanel.add(p,BorderLayout.WEST);
       holdingPanel.add(displayPanel,BorderLayout.CENTER);
       //Positioning of holdingPanel in mainPanel.
       mainPanel.add(holdingPanel,BorderLayout.CENTER);
       //indent mainPanel so that its not touching the applet window frame.
       mainPanel.setBorder(BorderFactory.createEmptyBorder(10,20,10,20));
       mainPanel.setBackground(Color.white);
       mainPanel.setPreferredSize(new Dimension(850,600)); //size of applet window
       mainPanel.setOpaque(false); // Needed for Applet
       this.setContentPane(mainPanel);
    }

    Thanks for the response. I don't quite understand what you're talking about though. I have, in my humble knowledge, done nothing with packages. I have put the applet class (WiaRekenToolActiz.class is the applet class) in the jar file wia_actiz_archive.jar. From what I read on the tutorial, java looks for the applet class in all the jar files specified. Since I put my CODEBASE as the main url, I thought it baiscally didn't matter where you out the html file.
    I shall include the complete html page complete with applet tag to perhaps illuminate a bit more what I mean...
    <html>
    <head>
    <title>Wia Rekenmodule hello!</title>
    </head>
    <body bgcolor="#C0C0C0">
    <applet
    CODEBASE= "http://www.creativemathsolutions.nl/test"
    ARCHIVE= "Actiz/wia_actiz_archive.jar, Generic/wia_archive.jar"
    CODE="WiaRekenToolActiz.class" 
    WIDTH=915 HEIGHT=555
    >
    <PARAM NAME = naam VALUE = "Piet Janssen">
    <PARAM NAME = gebdag VALUE = "01">
    <PARAM NAME = gebmaand VALUE = "06">
    <PARAM NAME = gebjaar VALUE = "1970">
    <PARAM NAME = geslacht VALUE = "man">
    <PARAM NAME = dienstjaren VALUE = "10">
    <PARAM NAME = salaris VALUE = "56500">
    <PARAM NAME = deeltijdpercentage VALUE = "100">
    <PARAM NAME = accountnaam VALUE = "Zorginstelling 'De Zonnebloem'">
    </applet>
    </body>
    </html>

Maybe you are looking for