Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-08-03 18:07:26

Vastone
Member
Registered: 2011-08-03
Posts: 50

[Solved] 4.8 Panel backgrounds...

I am using a panel and have it set as transparent, and it looks great...

When I hover over any one icon on the panel, it has a white background that does not match the theme I am trying to attain

Is there anyway to change that to a transparent background?

Thanks

Last edited by Vastone (2011-08-17 18:31:30)

Offline

#2 2011-08-04 19:07:05

Vastone
Member
Registered: 2011-08-03
Posts: 50

Re: [Solved] 4.8 Panel backgrounds...

Anyone know where the settings are that control the backgrounds of the xfce4-panel when they are hovered over?

Thanks

Offline

#3 2011-08-05 00:02:42

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] 4.8 Panel backgrounds...

Hi again.
Are you referring to the background icon color when you hover your mouse over a launcher icon on the panel? It looks like this is controlled by the paramater/value pair:

gtk_color_scheme    = "bg_color_dark:#686868\ntext_color_dark:#FFF"

in the /usr/share/themes/*/gtk-2.0/gtkrc file.

Unfortunately, changing this value changes the drop-down menu background color as well.

I'm not sure how to make it transparent, but I came across this promising article: http://ubuntu4beginners.blogspot.com/20 … panel.html - though its for regular ubuntu. Maybe there is something in there that can help?

Also, have a look at the last post of this topic on ubuntuforums: http://ubuntuforums.org/showthread.php?t=1751413. The guy states that he is the author of the greybird theme (the default xubuntu 11.04 theme). Maybe you could contact him and ask.

And please post back if you find anything.


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

#4 2011-08-05 00:21:26

Vastone
Member
Registered: 2011-08-03
Posts: 50

Re: [Solved] 4.8 Panel backgrounds...

Hey ToZ

Yes, that is what I am referring to...

I use a theme called SlicknesS and have had to edit it to correct background issues with it, meaning I am very familiar with how it works.  I can go into the gtkrc file and edit anywhere and see the changes everywhere except for these panel/launcher/icons when hovered over...

I have scoured the web and tried several suggestions to gtkrc-2.0 and I have gone all through everything within the xfce4-settings-editor but nothing seems to touch the mouseover hover background of these images...

This also impacts if you change a Launcher to Show label instead of icon.. The label then is a solid unreadable white when hovered over. That in itself removes it as an icon problem

I will look through that gtkrc file, but I think it is as that last guy is saying, that it is a bug within the xfce4-indicator-plugin.. Or I just have not found the right setting for it for the local gtkrc-2.0 ... 

I will look at the first post and see if I can glean anything from it...

Thanks!

Offline

#5 2011-08-05 00:49:20

Vastone
Member
Registered: 2011-08-03
Posts: 50

Re: [Solved] 4.8 Panel backgrounds...

The other thought I have on this is that by changing to a different theme, every setting changes except for these same panel/launcher/hover icons ... Which indicates that it is not controlled by a gtrkc file...

Offline

#6 2011-08-05 01:29:50

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] 4.8 Panel backgrounds...

Hmmm, it does for me. When I change appearance themes (Xubuntu 11.04), the panel icon hover background changes colour and shape depending on the theme.

EDIT: You're using crunchbang xfce, right? Do you have anything in your ~/.gtkrc-2.0 or ~/.gtkrc.mine files?

Last edited by ToZ (2011-08-05 01:36:10)


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

#7 2011-08-05 01:38:19

Vastone
Member
Registered: 2011-08-03
Posts: 50

Re: [Solved] 4.8 Panel backgrounds...

Are you 4.6 or 4.8?

Offline

#8 2011-08-05 02:01:21

Vastone
Member
Registered: 2011-08-03
Posts: 50

Re: [Solved] 4.8 Panel backgrounds...

ToZ wrote:

Hmmm, it does for me. When I change appearance themes (Xubuntu 11.04), the panel icon hover background changes colour and shape depending on the theme.

EDIT: You're using crunchbang xfce, right? Do you have anything in your ~/.gtkrc-2.0 or ~/.gtkrc.mine files?

Yes I am on #! 4.8 Xfce

Nothing at all...

I have put some things in there to test and have seen the changes within Xfce but none to the panel/icons/hover area...

Offline

#9 2011-08-05 03:05:10

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] 4.8 Panel backgrounds...

Vastone wrote:

Are you 4.6 or 4.8?

4.8.1


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

#10 2011-08-05 03:07:36

Vastone
Member
Registered: 2011-08-03
Posts: 50

Re: [Solved] 4.8 Panel backgrounds...

ToZ wrote:
Vastone wrote:

Are you 4.6 or 4.8?

4.8.1

This is definitely a strange one...

I see that there is an update in debian-unstable right now for xfce4-indicator-plugin, so if that is the issue, it may be resolved soon

Offline

#11 2011-08-05 03:20:04

Vastone
Member
Registered: 2011-08-03
Posts: 50

Re: [Solved] 4.8 Panel backgrounds...

ToZ wrote:
Vastone wrote:

Are you 4.6 or 4.8?

4.8.1

I am running

xfce4-panel 4.8.5 on (Xfce 4.8.0)

Offline

#12 2011-08-06 19:58:10

Vastone
Member
Registered: 2011-08-03
Posts: 50

Re: [Solved] 4.8 Panel backgrounds...

I have found further information on this issue...

For whatever reason, the panel is stripping the transparency layer for the icons when it loads them..

I was noticing strange shadows of some of the icons in the panel, so I opened up one of the images within gimp and stripped the transparency layer... and sure enough, it is the exact image that the panel is using ...

This only happens on the xfce4-panel... I use these same icons anywhere else and the transparency is fine...

Also of note,  I added the Applications Menu to my panel and used one of my icons... It does work correctly..

So whatever the box is that is drawn around Launchers when hovered over is what is stripping the transparency out

Offline

#13 2011-08-08 02:09:23

Vastone
Member
Registered: 2011-08-03
Posts: 50

Re: [Solved] 4.8 Panel backgrounds...

I think this may be somewhere in the draw wireframe that the hover puts around icons.. It does also happen on icons I use from a widget within GMusicBrowser..

I have searched everywhere I can for settings on this but have yet to find anything.

Offline

#14 2011-08-14 16:36:50

Vastone
Member
Registered: 2011-08-03
Posts: 50

Re: [Solved] 4.8 Panel backgrounds...

I finally found exactly where it was at... I had been focusing on anything panel related to all gtrkc files I was looking at..  I then switched to a very basic xfce theme that put a light blue background..  I then traced that to

style "button"

bg[PRELIGHT]    = "cce2ff"

Now that I traced the where... in the theme I use it was this...

Prelight = file "/button/button-prelight.png"


I simply commented that line out and it was fixed...

That is what I had been asking for all along, was the where...  and a process of elimination
finally got me to it...

Too much focus on panel and not the button area...

Offline

#15 2011-08-14 18:28:53

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] 4.8 Panel backgrounds...

Don't you just love it when all that hard work pays off? Was this statement in the gtk-2.0/gtkrc file? I'm using the greybird theme and I can't find that statement/section.


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

#16 2011-08-14 18:34:26

Vastone
Member
Registered: 2011-08-03
Posts: 50

Re: [Solved] 4.8 Panel backgrounds...

ToZ wrote:

Don't you just love it when all that hard work pays off? Was this statement in the gtk-2.0/gtkrc file? I'm using the greybird theme and I can't find that statement/section.


The actual statement that made the difference in the SlicknesS theme I use is in a panel.rc file that is called from the SlicknesS gtkrc file

In yours, it will most likely be under

style "button"

bg[PRELIGHT] = /path/filename

or

style "button"

bg[PRELIGHT] = #color 

I am only speculating...

I will install greybird and have a look..

Last edited by Vastone (2011-08-14 18:37:36)

Offline

#17 2011-08-14 18:36:38

Vastone
Member
Registered: 2011-08-03
Posts: 50

Re: [Solved] 4.8 Panel backgrounds...

ToZ wrote:

Don't you just love it when all that hard work pays off? Was this statement in the gtk-2.0/gtkrc file? I'm using the greybird theme and I can't find that statement/section.

And yes it was in the .themes/SlicknesS/gtk-2.0/gtkrc file but as I said the panel has a separate file in this theme

And it was worth the hard work!

Thanks

Offline

#18 2011-08-14 18:57:33

Vastone
Member
Registered: 2011-08-03
Posts: 50

Re: [Solved] 4.8 Panel backgrounds...

ToZ wrote:

Don't you just love it when all that hard work pays off? Was this statement in the gtk-2.0/gtkrc file? I'm using the greybird theme and I can't find that statement/section.


All right, I am looking at greybird now and it is a little more complex...  Give me a bit of time and I may be able to figure it out..

Also, the creators of greybird at shimmer are very helpful, they are on the forums here, on irc and at their site...

Offline

#19 2011-08-15 23:17:50

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] 4.8 Panel backgrounds...

Thanks. Yeah, I can't find anything in the panel.rc file. I'll keep looking.


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

#20 2011-08-15 23:45:00

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] 4.8 Panel backgrounds...

Ok, so I downloaded the new version off of git and its a little different. Of note, is that the git version has the following extra data in the apps/panel.rc file in the style "theme-panel" = "murrine-dark" section:

	
bg[NORMAL]	= shade (0.7, @bg_color_dark)
bg[ACTIVE]	= shade (0.5, @bg_color_dark)
bg[PRELIGHT]	= shade (0.35, @bg_color_dark)
bg[SELECTED]	= shade (0.5, @bg_color_dark)

This makes a significant change in the hover colour - mostly invisible but still a trace left (notice the "bg[PRELIGHT]" statement!). I think I need to play around with these values a little to see what I can get.


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

#21 2011-08-16 00:02:56

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] 4.8 Panel backgrounds...

I'm finding that the final effect of changing those values is highly dependent on the colours of the background image. I am unable to get true transparency.


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

#22 2011-08-16 06:24:31

Vastone
Member
Registered: 2011-08-03
Posts: 50

Re: [Solved] 4.8 Panel backgrounds...

If your looking for transparency, this is the thread...

angstrom put up an alternative method to get a transparent background...

I used it and it works great...

http://forum.xfce.org/viewtopic.php?pid=22652#p22652

Offline

#23 2011-08-17 18:23:53

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [Solved] 4.8 Panel backgrounds...

Thanks. That mostly worked. I noticed that when I depressed the button the semi-transparent background returned while the button was pressed, so I added the following to the code snippet:

                image
                {
                        function                = BOX
                        recolorable             = TRUE
                        state                   = ACTIVE
                        file                    = "panel-button-hover.png"
                        border                  = { 1, 1, 0, 0 }
                        stretch                 = TRUE
                }

just below the existing image block and that got rid of all semi-transparency. It is now fully transparent.

Thanks.


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

#24 2011-08-17 18:26:12

Vastone
Member
Registered: 2011-08-03
Posts: 50

Re: [Solved] 4.8 Panel backgrounds...

ToZ wrote:

Thanks. That mostly worked. I noticed that when I depressed the button the semi-transparent background returned while the button was pressed, so I added the following to the code snippet:

                image
                {
                        function                = BOX
                        recolorable             = TRUE
                        state                   = ACTIVE
                        file                    = "panel-button-hover.png"
                        border                  = { 1, 1, 0, 0 }
                        stretch                 = TRUE
                }

just below the existing image block and that got rid of all semi-transparency. It is now fully transparent.

Thanks.

Sure...

All of this as a very long way around an issue that should be easier to solve...

Offline

Board footer

Powered by FluxBB