【经验分享】deepin15.10 修改标题拦 宽度
Tofloor
poster avatar
59******91@qq.com
deepin
2019-05-20 18:47
Author
本帖最后由 thething 于 2019-5-20 10:57 编辑

                                

个人感觉还是deepin自带的主题还是很漂亮的,但是美中不足的的地方就是deepin默认主题的标题拦实在太宽,感觉标题拦“傻大宽”的风格与deepin的精致打磨格格不入,于是尝试手动修改标题拦的宽度。


deepin是不会提供修改标题拦高度的入口的,我们需要从修改配置文件入手。


步骤如下:

Ctrl+ Alt + T   打开终端


切换到主题目录下,输入命令

        cd /usr/share/aurorae/themes

ls 可以看到deepin自带的两个默认主题

        deepin deepin-dark


deepin的亮色主题为例,切换目录下

        cd deepin/

编辑配置文件

        sudo deepin-editor deepinrc


在配置文件中找到如下几行

标题拦高度主要取决于这三个值,它们的值分别对应:标题栏高度、按钮,默认是取40

       TitleHeight=40
       ButtonWidth=40
       ButtonHeight=40

只要修改它们的值使自己满意即可,这里可以参考我的设置


这样设置也就是长方形的按钮,这样可以避免按钮太小导致很难点到

Ctrl+ S  保存 退出

重新打开一个窗口,或者注销、再登录,就能看到效果。

这样就窄了些



同样的你可以修改配置文件中的其他值,来设置出自己想要的效果,当然了前提是懂一些简单的英语。

Reply Favorite View the author
All Replies
1 / 2
To page
jianguo922
deepin
2019-05-20 20:25
#1
我觉得应该吧标题栏去掉节省更多空间
Reply View the author
古一
deepin
2019-05-20 20:50
#2
https://bbs.deepin.org/post/178254
我觉得应该吧标题栏去掉节省更多空间

去掉的话争议很大,像unity桌面,改成能配置就更好了,不过感觉这个工作量很大,deepin一时实现不了
Reply View the author
jianguo922
deepin
2019-05-20 21:32
#3
https://bbs.deepin.org/post/178254
去掉的话争议很大,像unity桌面,改成能配置就更好了,不过感觉这个工作量很大,deepin一时实现不了 ...

各有所需吧!
Reply View the author
SiyerBOBO
deepin
2019-05-20 21:33
#4
那个标题字体也贼难看
Reply View the author
59******91@qq.com
deepin
2019-05-20 23:32
#5
https://bbs.deepin.org/post/178254
那个标题字体也贼难看

这个是随系统字体的,如果你看不顺眼,那你就把思源黑体换回微软雅黑好了
Reply View the author
59******91@qq.com
deepin
2019-05-20 23:44
#6
https://bbs.deepin.org/post/178254
我觉得应该吧标题栏去掉节省更多空间

去当然是是去得掉的,但是标题拦是有必要存在的。
Reply View the author
srwth
deepin
2019-05-21 00:39
#7
mark。。。。。备用。。
Reply View the author
kasuo405
deepin
2019-06-07 18:47
#8
标题栏的字体大小可以调吗?
Reply View the author
st******ra@outlook.com
deepin
2019-06-07 20:44
#9
好帖刘明! 学习了! 谢谢!
Reply View the author
deepintor
deepin
2019-06-07 21:09
#10
cd /usr/share/aurorae/themes
cd:目录 “/usr/share/aurorae/themes” 不存在

没有那个目录啊
Reply View the author
Comments
lbygljq
2020-05-21 20:23
我也没有那个目录,我的系统上deepin15.11
cherie5172
deepin
2019-06-07 21:26
#11
太棒啦你
Reply View the author
cherie5172
deepin
2019-06-07 21:37
#12
您好深色主题最后一个指令是啥?想改深色的
Reply View the author
海天鹰
deepin
2019-06-08 07:12
#13
复制一套改比较好
Reply View the author
Kenkaku
deepin
2019-06-08 12:25
#14
https://bbs.deepin.org/post/178254
cd /usr/share/aurorae/themes
cd:目录 “/usr/share/aurorae/themes” 不存在

你没安装dde-kwin吧
Reply View the author
jhw
deepin
2019-06-08 13:59
#15
感谢分享,大力支持。
Reply View the author
cand_boy
deepin
2019-07-07 04:15
#16
安装了dde-kwin,还是提示/aurorae/themes不存在
Reply View the author
kukei
deepin
2019-07-07 06:36
#17
https://bbs.deepin.org/post/178254
安装了dde-kwin,还是提示/aurorae/themes不存在

我是升级到15.10.2后找不到这个目录的
Reply View the author
kasuo405
deepin
2019-07-19 23:24
#18
我的15.10.2版本也找不到目录/usr/share/aurorae/themes
Reply View the author
haypin
deepin
2019-07-20 20:16
#19
我的也找不到,15.11版本的
Reply View the author
caonima
deepin
2019-07-20 20:28
#20
haypin 发表于 2019-7-20 12:16
我的也找不到,15.11版本的

找不到就自己建一个呗,
Reply View the author
1 / 2
To page