[Archlinux]在dde中满足topbar的相对更优解/Xfce4-panel/mate-panel in dde
Tofloor
poster avatar
lovesion
deepin
2018-10-19 04:45
Author
写在前面:本人java伪码农一只,持续以archlinux为主力开发系统两年,Ubuntu使用两年,第一次在deepin论坛发帖
在源里已经存在了一个定制性不是很高还有一丢丢bug的deepin-topbar插件(再次感谢开发者!),并不能满足个人的需要,本来是一直使用arch + xfce4的楼主最近被xfce4下网易云音乐的疯狂bug弄得心力交瘁,于是愤而yay -Rscn xfce4 xfce4-goodies,投入了dde的怀抱,但是一直不喜欢dde的自带dock跟launcher,以及没有完美的topbar,在加以思索后,楼主决定自行改变组件搭配方式
先上一张图,上方为mate-panel,下方为xfce4-panel,xfce4的panel什么都好,定制性也是相当的高的,但是有一个问题
楼主自己的wine的软件的图标不能保持透明背景,会破坏队形,显得比较突兀,于是经过考虑顶栏采用了mate-panel,也是很轻量的panel,就是相比xfce4的panel
可定制性差了一点...mate-panel和xfce4-panel都可以独立安装,arch系直接:
yay -S xfce4-panel mate-panel mate-applets xfce4-dockbarx-plugin
Debian系的小伙伴们就自己apt找找咯(AUR懒人大法好=-=)
然后,删除dde自带的launcher跟dock
yay -R dde-dock deepin-launcher
在mate-panel中添加Mate Menu插件,替代launcher(响应速度提升了!提升了有木有!!!!不开特效的小伙伴也不用担心丑了有木有!)
然后,
vim .config/autostart/mate-panel.desktop
(vim不习惯用的小伙伴自行换用自己喜欢的文本编辑器了咯~)
里面键入
[Desktop Entry]
Name=mate-panel
####如果不知道自己的mate-panel路径的宝宝,可以使用whereis mate-panel找一哈~
Exec=/usr/bin/mate-panel
Terminal=false
Type=Application

保存~,开机自启mate-panel就完成了
用同样的方法在 ~/.config/autostart目录下生成一个xfce4-panel.desktop

[Desktop Entry]
Name=xfce4-panel
####如果不知道自己的mate-panel路径的宝宝,可以使用whereis xfce4-panel找一哈~
Exec=/usr/bin/xfce4-panel
Terminal=false
Type=Application


一切准备就绪之后,就可以logout(注销)重登录(login)啦~然后开始定制属于自己的top-bar跟panel吧!
对于dde的精简,个人只保留了deepin-screenshot(深度截图),然后
sudo pacman -Rdd deepin-extra全部咔嚓掉了
开机基本快得立竿见影啦~
对于有的小伙伴网易云音乐打不开的情况,在其启动快捷方式内,将其修改为
env XDG_CURRENT_DESKTOP=Unity netease-cloud-music %U
在dde下基本就没问题了~
新人第一次发帖,希望被友善对待.....萌新瑟瑟发抖
--------following translated by lovesion--------
    Hi,everyone,I m Sie,A java developer with  a poor Xperience :\,My spoken English's poor,either.....


   You guys might have an idea with your dde's topbar & bottem dock
   Would you like to get some familiar feelings just like the old days we using the xfce4 tiny mice?
   Just do the following things

  1.install the mate-panel or the xfce4-panel,you can choose both~Gone with your mind~
     for Arch,Manjaro and other Arch-based distro,
      yay -S mate-panel xfce4-panel mate-applets xfce4-dockbarx-plugin
     for Debian-based,
     sudo apt-get .......  best wishes to you,just look up these in your own repositories~
     Arch is the best!!!!

  2.remove deepin-launcher && dde-dock
     for Arch-based,
     sudo pacman -Rdd deepin-launcher dde-dock
     Other distros
     I m sorry,try to do the similar thing......
3. Add mate-panel.desktop && xfce4-panel.desktop into ~/.config/autostart


#### You can use another editor you like   
vim .config/autostart/mate-panel.desktop
#### Entering the following

[Desktop Entry]
Name=mate-panel

#### If you do not know the Exec path ,  Enter "whereis mate-panel" in your terminal

Exec=/usr/bin/mate-panel
Terminal=false
Type=Application



#### Do the similar things for xfce4-panel

[Desktop Entry]
Name=xfce4-panel

Exec=/usr/bin/xfce4-panel
Terminal=false
Type=Application



If you do not need so many deepin-tools
yay -Rdd deepin-extra ,I recommend you to keep the deepin-screenshot 'cause it's powerful


If you have any other troubles / problems / questions , post them out~We'll glad to give you our hands~


Be who lives by the codes!     

--------
lovesion

Reply Favorite View the author
All Replies
1 / 2
To page
avatar
lovesion
deepin
2018-10-19 04:50
#1

半成品效果就是这样咯....

Reply View the author
avatar
tr******rt@outlook.com
deepin
2018-10-19 04:56
#2
你的qq是什么版本?
Reply View the author
avatar
lovesion
deepin
2018-10-19 05:01
#3
https://bbs.deepin.org/post/169954
你的qq是什么版本?

AUR里的deepin.com.qq.im
貌似基于qq8.9
Reply View the author
avatar
135******01
deepin
2018-10-19 10:52
#4
比较喜欢kde的全局菜单
Reply View the author
avatar
justforlxz
deepin
2018-10-19 17:04
#5
不说了,今晚我就修topbar的bug
Reply View the author
avatar
152******80
Advanced Packager
2018-10-19 17:13
#6
很漂亮啊,大神
Reply View the author
avatar
yumenawei
deepin
2018-10-19 18:12
#7
https://bbs.deepin.org/post/169954
不说了,今晚我就修topbar的bug

期待呀~
Reply View the author
avatar
chenzhiwei
deepin
2018-10-19 18:27
#8
https://bbs.deepin.org/post/169954
不说了,今晚我就修topbar的bug

日期 indicator 能移动到右边就好了,在中间总感觉怪怪的。
Reply View the author
avatar
funtoo
deepin
2018-10-19 18:32
#9
感觉fbpanel和tint2会是更好的选择,一是轻量,二是依赖简单
Reply View the author
avatar
风吹过的绿洲
deepin
2018-10-19 18:50
#10
这个dock使arch自带的?感觉像是优麒麟开发的
Reply View the author
avatar
pikachuhy
deepin
2018-10-19 19:04
#11
论坛看得太乱了 有博客吗?
Reply View the author
avatar
lovesion
deepin
2018-10-19 21:01
#12
https://bbs.deepin.org/post/169954
不说了,今晚我就修topbar的bug

等一个大佬的修复QAQ
Reply View the author
avatar
lovesion
deepin
2018-10-19 21:01
#13
https://bbs.deepin.org/post/169954
论坛看得太乱了 有博客吗?

好久没用blog,都进不去了....忙太久,过阵子抽空弄个新的开始写.....
Reply View the author
avatar
lovesion
deepin
2018-10-19 21:02
#14
https://bbs.deepin.org/post/169954
这个dock使arch自带的?感觉像是优麒麟开发的

下方的dock是用xfce4的面板自定义制作的,
跟优麒麟....没半毛钱关系....
Reply View the author
avatar
lovesion
deepin
2018-10-19 21:05
#15
https://bbs.deepin.org/post/169954
感觉fbpanel和tint2会是更好的选择,一是轻量,二是依赖简单

恩,但是可定制性感觉不如xfce4,我的配置还是很不错的,相对来说,所以也没抠门到这种地步了啦...
Reply View the author
avatar
lovesion
deepin
2018-10-19 21:06
#16
https://bbs.deepin.org/post/169954
日期 indicator 能移动到右边就好了,在中间总感觉怪怪的。

是可以的哈...mate-panel跟xfce4-panel的插件位置都是可以自己随便想放哪都可以的,
之所以看到在中间......
emmm.....
我自己作的呗
Reply View the author
avatar
lovesion
deepin
2018-10-19 21:07
#17
https://bbs.deepin.org/post/169954
比较喜欢kde的全局菜单

比较喜欢XFCE4的稳定性......kde的话,用不了deepin-wine....
Reply View the author
avatar
风吹过的绿洲
deepin
2018-10-20 05:36
#18
https://bbs.deepin.org/post/169954
下方的dock是用xfce4的面板自定义制作的,
跟优麒麟....没半毛钱关系....

自定的还不开源?
Reply View the author
avatar
rainyl
deepin
2018-10-20 07:51
#19
妈耶,萌新看arch大佬瑟瑟发抖。
Reply View the author
avatar
rainyl
deepin
2018-10-20 07:51
#20
还蛮好看的2333
Reply View the author
1 / 2
To page