[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
2 / 2
To page
avatar
lovesion
deepin
2018-10-21 05:23
#21
https://bbs.deepin.org/post/169954
自定的还不开源?

xfce4的自定义选项很多= =我不知道你怎么会想到开源上去....自己配控件,找applet组合,我说这个自定义....
Reply View the author
avatar
lovesion
deepin
2018-10-21 05:24
#22
https://bbs.deepin.org/post/169954
妈耶,萌新看arch大佬瑟瑟发抖。

别别别,我也是萌新...又不是用arch就是大佬,不过你可以认为....用arch的基本都是大懒鬼...这句话应该不会错.....
Reply View the author
avatar
rainyl
deepin
2018-10-27 19:31
#23
https://bbs.deepin.org/post/169954
别别别,我也是萌新...又不是用arch就是大佬,不过你可以认为....用arch的基本都是大懒鬼...这句话应该不会 ...

大懒鬼还行
Reply View the author
2 / 2
To page