我想移除XFCE面板中按钮后面的颜色。
我试图修改文件/usr/share/themes/Greybird/gtk-2.0/apps/xfce-panel.rc,在按钮后面有一个奇怪的白色。我想让它变得透明。
我想我只需要处理代码的这一部分:
style "window-buttons" = "theme-panel"
{
xthickness = 3
ythickness = 3
bg[ACTIVE] = @bg_color_dark
bg[PRELIGHT] = @bg_color_dark
bg[SELECTED] = @bg_color_dark
fg[NORMAL] = @bg_color_dark
fg[ACTIVE] = @bg_color_dark
fg[PRELIGHT] = @bg_color_dark
engine "murrine" {
contrast = 0.0
gradient_shades = { 1.0, 0.9, 0.8, 0.7 }
roundness = 0.5
reliefstyle = 0
textstyle = 1
text_shade = 0.2
}
}我该修改什么?
发布于 2013-04-22 11:18:23
不需要文件编辑。
首先,确保在设置中启用了排序器(主菜单>>设置>>窗口管理器调整>>组合器)。
然后,右键单击面板,打开面板的首选项,打开选项卡外观,将不透明度设置为0。
最后,打开窗口按钮插件设置,并取消选中显示平面按钮。
有关更多信息,请阅读面板首选项对话框。
发布于 2016-03-05 20:18:35
O.S. UbuntuStudio 15.10 x386
这对我有用。创建一个文件~/.gtkrc-2.0并使用以下内容保存:
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"
在面板1(我添加的)中,我禁用了标签按钮:

您需要向左拖动到Alpha0:

来自这个Ubuntu论坛线程
只有我有一个问题,重启时我看到一条消息:

https://askubuntu.com/questions/284104
复制相似问题