Knighthana
文章95
标签138
分类7

文章归档

xfwm的标题栏自助设置

xfwm的标题栏自助设置

XFWM Theme Title Bar Cannot Be Customized

Yesterday I said tommorrow ... (Sorry, I am sleepy)

Yesterday I tried to solve the problem on my WSL X environment.

I have downloaded the OS-X like xfwm theme from Github:B00merang-Project.

But the theme has a fixed title bar setting. The title bar looks like CHM|0, but I am used to operate on CMH|*.

Finally I found a solution on Xfce Wiki.

howto

按钮布局

也可以为特定主题定义固定的按钮布局。但需要提醒应该避免强制特定的按钮布局或者标题对齐及其他降低用户选择的设定(除非主题真的需要那样,比如下面会提到的 b5 主题)

config file looks like

1
2
3
4
5
6
7
8
9
# button_layout :
# O = Option menu
# T = Stick
# H = hide
# S = shade
# M = maximize
# C = close
# | = title
button\_layout=OTS|HMC

现实的例子是,B5 主题只使用了关闭按钮。也就是 themerc 文件中写的是button_layout=C|

Solution:

Edit "~/.themes/themename/xfwm4/themerc"

Comment button_layout=CHM|0

Problem solved.

window screenshot
fullscreen screenshot

Icons from McMojave-circle McMojave-circle GitHub Page

Knighthana @ XDU

2019/05/20