Linux就是这样,上游一出点什么奇怪的变动,下游程序就要受影响。。最近滚了一下后,不知道mesa还是xf86-intel-video哪个玩了什么新花样,所有gtk应用[主要是gnome组件]全部自带大黑框特效。尼码看着蛋疼啊。。。。后来找到解决办法了。。。对你正在用的主题路径下的个gtk-widget.css文件做如下修改:

这里我是

/usr/share/themes/Numix-ArchBlue/gtk-3.0/gtk-widgets.css

.window-frame, .window-frame:backdrop {
    box-shadow: 0 0 0 black; /* removes shadow completely */
    border-style: none;
    margin: 1; /* this retains the ability to resize with the mouse, if 1px is too narrow, set some higher values */
    border-radius: 0;
}

这面这个是一个老外在archlinux论坛给我回复时候贴的,多谢这位老兄了~不过其实我自己在他之前也搞定了,下面贴上我的~~

.window-frame {
    border: none;
    border-radius: 0 0 0 0;
    box-shadow: none;
    /* below is orgin data
    border-radius: 2px 2px 0 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19),
                    0 6px 6px rgba(0, 0, 0, 0.23),
                    0 0 0 1px mix(shade(@titlebar_bg_color, 0.7), @titlebar_fg_color, 0.21);
    above is orgin data*/
/* this is used for the resize cursor area */
    margin: 2px;
}

  

 

相关文章:

  • 2022-12-23
  • 2021-11-29
  • 2021-10-01
  • 2021-06-12
  • 2021-11-21
  • 2021-09-08
  • 2021-11-12
猜你喜欢
  • 2021-05-29
  • 2022-01-01
  • 2021-12-19
  • 2021-08-25
  • 2021-09-12
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案