Jokul
deepin
2020-09-18 18:34 自己顶贴
Reply Like 0 View the author
titile.ini文件可以如下配置:(其中包括自定义了最大化最小化关闭等按钮图标样式,remake是用户名记得替换成自己当前登录的用户名,要不然目录找不到图标不生效)
[Active]
height=24
//最小化按钮
minimizeIcon.normal=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuixiaohua.svg
minimizeIcon.hover=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuixiaohua.svg
minimizeIcon.press=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuixiaohua.svg
minimizeIcon.disabled=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuixiaohua.svg
//最大化按钮
maximizeIcon.normal=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
maximizeIcon.hover=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
maximizeIcon.press=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
maximizeIcon.disabled=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
//还原按钮
unmaximizeIcon.normal=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
unmaximizeIcon.hover=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
unmaximizeIcon.press=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
unmaximizeIcon.disabled=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
//关闭按钮
closeIcon.normal=/home/remake/.local/share/deepin/themes/deepin/light/icon/close.svg
closeIcon.hover=/home/remake/.local/share/deepin/themes/deepin/light/icon/close.svg
closeIcon.press=/home/remake/.local/share/deepin/themes/deepin/light/icon/close.svg
closeIcon.disabled=/home/remake/.local/share/deepin/themes/deepin/light/icon/close.svg
[Inactive]
height=24
minimizeIcon.normal=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuixiaohua.svg
minimizeIcon.hover=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuixiaohua.svg
minimizeIcon.press=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuixiaohua.svg
minimizeIcon.disabled=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuixiaohua.svg
maximizeIcon.normal=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
maximizeIcon.hover=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
maximizeIcon.press=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
maximizeIcon.disabled=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
unmaximizeIcon.normal=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
unmaximizeIcon.hover=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
unmaximizeIcon.press=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
unmaximizeIcon.disabled=/home/remake/.local/share/deepin/themes/deepin/light/icon/zuidahua.svg
closeIcon.normal=/home/remake/.local/share/deepin/themes/deepin/light/icon/close.svg
closeIcon.hover=/home/remake/.local/share/deepin/themes/deepin/light/icon/close.svg
closeIcon.press=/home/remake/.local/share/deepin/themes/deepin/light/icon/close.svg
closeIcon.disabled=/home/remake/.local/share/deepin/themes/deepin/light/icon/close.svg
https://bbs.deepin.org/post/202371
弄个脚本一键式的
我之前发过贴推荐过建议,你们https://bbs.deepin.org/user/241653 要评估一下,为了给小白方便找优化方案,我又发了一遍具体操作步骤
https://bbs.deepin.org/post/202371
没搞明白你说什么
https://bbs.deepin.org/post/202371
20正式版1002测试无效。不知道是哪里没有弄对还是怎样。
https://bbs.deepin.org/post/202371
可以的 今天更新我又尝试了一遍修改高度 没问题

我的deepin 20.3 下都没有这个(~/.local/share/deepin/themes/)目录。
我的deepin 20.3 下都没有这个(~/.local/share/deepin/themes/)目录。
这个目录是上一步 mkdir创建的,没有的话估计你上一步没做好
deepin默认情况下,安装的软件顶部会有一块很丑的标题栏,部分软件可以通过设置隐藏标题栏,但对于大部分软件默认无法隐去,于是本人扒贴找寻方案,终于找到一个使标题栏变窄的方案,测试过后确实好看了一些,特此分享操作方式:
1、先创建一个目录,如果有就不用了:
如果你是用的默认的白色主题
如果你用的黑色主题
2、进入该目录后创建配置文件:
如果你是用的默认的白色主题
如果你用的黑色主题
新建titlebar.ini文件(使用vi、vim、deepin-edit编辑都可以)
3、加入下面内容并保存:
上面代码中的24为标题栏宽度的像素值,你可以根据自己的喜好自定义调整宽度来满足自己视觉效果。
最后,注销或者重启系统即可生效。