Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-04-27 07:52:53

wuwei
Member
From: Italy
Registered: 2017-01-29
Posts: 56

[SOLVED] Window Menu Plugin arrow icon too small

Hi, I'm using in virtualbox Linux Mint 18.1 with Xfce4, adding window menu plugin to the main panel and setting in properties Button Layout = Arrow looks like this:

screenshot2017-04-2709-44-57.php

in the older version of Linux Mint 18 looks better:

screenshot2017-04-2709-51-56.php

Please how to fix it in Linux Mint 18.1?

Thanks.

Last edited by wuwei (2017-04-28 12:23:54)

Offline

#2 2017-04-28 00:41:02

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

Re: [SOLVED] Window Menu Plugin arrow icon too small

I don't have a Mint install to test this and I didn't think it was possible anymore (since gtk-menu-icons stopped working) but I think I stumbled on an alternative.

Assuming that you are using the Mint-Y-Dark theme, create a ~/trans.png file that is 1x1 in size and fully transparent. Then place this snippet in ~/.gtkrc-2.0:

style "my-windowmenu"
{
	engine "pixmap"
        {
		image
                {
                        function                = BOX
                        recolorable             = TRUE
                        state                   = NORMAL
                        file                    = "trans.png"
                        border                  = { 1, 1, 0, 0 }
                        stretch                 = TRUE
                }
        }	
}
widget "*windowmenu*" style "my-windowmenu"

Restart the panel to test.


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 2017-04-28 08:13:27

wuwei
Member
From: Italy
Registered: 2017-01-29
Posts: 56

Re: [SOLVED] Window Menu Plugin arrow icon too small

Your suggestion works fine.
I realized that was depending on gtk theme Mint-Y used in the VM, in the real computer with the older version of Linux Mint 18 I setted up Arc-Darker as gtk theme.
Thanks a lot ToZ!

Offline

Board footer

Powered by FluxBB