Results 1 to 8 of 8

Thread: xfce4-panel TOTALLY transparent??? (window buttons, too) (customize via ~/.gtkrc-2.0)

  1. #1
    Join Date
    Dec 2011
    Beans
    Hidden!

    Exclamation xfce4-panel TOTALLY transparent??? (window buttons, too) (customize via ~/.gtkrc-2.0)

    hello,
    i just spent 2 hours searching for documentation on this...


    right now i have a transparent panel background, but the window buttons still have an opaque background when focused. i'd like them to be TOTALLY transparent all the time.
    i guess there must be a way of adding some lines to gtkrc-2.0 that achieve that.

    also, if someone knows where to find documentation on this - how gtk is being used in xfce, particularly the panel. all i found is -this-.

    thanks.
    .
    .
    .
    please stick to the facts and be kind.
    what else can you do when you don't know each other.
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . my avatar

  2. #2
    Join Date
    Feb 2011
    Location
    Somewhere...
    Beans
    1,554
    Distro
    Ubuntu 14.10 Utopic Unicorn

  3. #3
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: xfce4-panel TOTALLY transparent??? (window buttons, too) (customize via ~/.gtkrc-

    If you're using xfce 4.8, then in the Window Buttons properties, check off "Show Flat Buttons".

  4. #4
    Join Date
    Mar 2006
    Beans
    Hidden!

    Question Re: xfce4-panel TOTALLY transparent??? (window buttons, too) (customize via ~/.gtkrc-

    Quote Originally Posted by Toz View Post
    If you're using xfce 4.8, then in the Window Buttons properties, check off "Show Flat Buttons".
    Where ? Can't find that
    No longer participating......

  5. #5
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: xfce4-panel TOTALLY transparent??? (window buttons, too) (customize via ~/.gtkrc-

    Try: Settings Manager -> Panel -> Select the correct panel -> Items tab -> Window Buttons -> Edit button.
    Attached Images Attached Images

  6. #6
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: xfce4-panel TOTALLY transparent??? (window buttons, too) (customize via ~/.gtkrc-

    Ah - the panel has to have "Window Buttons" on it, I looked at one of my panels without this, hence I couldn't find it.
    No longer participating......

  7. #7
    Join Date
    Mar 2012
    Beans
    308

    Re: xfce4-panel TOTALLY transparent??? (window buttons, too) (customize via ~/.gtkrc-

    You should be able to set a transparent background for all window buttons (regardless of state) by using the pixmap theme engine. First, check if the package gtk2-engines-pixbuf is already installed on your system. Then visit this website:

    http://live.gnome.org/GnomeArt/Tutor...s/PixmapEngine

    Use GIMP to create the needed transparent png/xpm file(s).
    GNU/Linux

  8. #8
    Join Date
    Dec 2011
    Beans
    Hidden!

    Re: xfce4-panel TOTALLY transparent??? (window buttons, too) (customize via ~/.gtkrc-

    [thanx toz, flat buttons helps but not 100%]

    thanks brainwash, that was a nudge in the right direction!

    i found a theme that's using pixmap and copied the relevant part (the theme has a separate panel.rc) into some already existing xfce-panel customizations in ~/.gtkrc-2.0.
    plus, i copied the folder with the Panel pixmaps/png's into my homefolder and made all the png's totally transparent (that was just a job of copying & renaming one that already was transparent).

    this added to ~/.gtkrc-2.0:
    Code:
    style "xfcepanel"
    {
    xthickness = 0 # from here until "Modd 10" is not relevant for this forum thread...
    ythickness = 0
    GtkButton::inner-border = {3,1,1,1}
    #XfcePanelWindow::autohide-size = 1
    font_name = "Modd 10" # ...but i left it here to show how these things work.
    engine "pixmap" {
            image {
                function    = BOX
                recolorable    = TRUE
                state        = NORMAL
                }
            image {
                function    = BOX
                recolorable    = TRUE
                state        = PRELIGHT
                file        = "Panel/panel-button-hover.png"
                border        = { 3, 1, 1, 1 }
                stretch        = TRUE
                }
            image {
                function    = BOX
                recolorable    = TRUE
                state        = ACTIVE
                file        = "Panel/panel-button-active.png"
                border        = { 3, 1, 1, 1 }
                stretch        = TRUE
                }
            image {
                function    = BOX
                recolorable    = TRUE
                state        = SELECTED
                file        = "Panel/panel-button-active.png"
                border        = { 3, 1, 1, 1 }
                stretch        = TRUE
                }
            image {
                function    = BOX
                recolorable    = TRUE
                state        = INSENSITIVE
                }
            image {
                function    = ARROW
                recolorable    = TRUE
                arrow_direction    = DOWN
                }
            }
    }
    widget_class "XfcePanelWindow*" style "xfcepanel"
    and the window buttons are totally transparent, it's just the letters. for all themes. but the colors of the letters change according to the theme.
    solved!
    see it here.
    Last edited by ohnonot; May 6th, 2012 at 10:01 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •