[Exchange and share] dde-dock配合xfce4-panel实现多显示器多任务栏
Tofloor
poster avatar
fslong
deepin beta test group
2024-06-29 10:22
Author

先上效果:

2024-06-29_10-03.jpg

一、为什么不使用dde-shell

因为dde-shell的bug太多,不能调整位置,只能在左侧第一个屏幕,无法设置在特定屏幕显示,图标显示也不正常。

二、为什么使用xfce4-panel

xfce4-panel可以作为一个单独的组件安装而不需要安装整个 xfce4,当然你安装整个xfce4作为dde崩了时候用的备胎也是极好的。

当然 lxpanel也是可以的,他也可以直接作为一个组建使用(太丑,我不喜欢)

三、实现方法

  1. 卸载dde-shell:sudo apt purge dde-shell

  2. 安装dde-dock:sudo apt install dde-dock

  3. 安装xfce4-panel:sudo apt install xfce4-panel

  4. 设置dde-dock开机自启:nano ~/.config/autostart/dde-dock.desktop然后写入下面内容并保存:

    [Desktop Entry]
    Name=dde-dock
    Exec=dde-dock
    Type=Application
    GenericName=dde-dock
    Terminal=false
    GenericName[zh_CN]=dde-dock
    
    
  5. 设置xfce4-panel开机自启:nano ~/.config/autostart/xfce4-panel.desktop然后写入下面内容并保存:

    [Desktop Entry]
    Name=xfce4-panel
    Exec=xfce4-panel
    Type=Application
    GenericName=xfce4
    Terminal=false
    GenericName[zh_CN]=xfce4-panel
    
    
  6. 重启

  7. 设置dde-dock仅在主屏幕显示,这样就不乱跑了:

    image.png

  8. 拖拽解锁xfce4-panel,设置输出为自动,然后拖拽到副屏

    image.png

Reply Favorite View the author
All Replies
f@deepin
deepin
2024-06-29 10:51
#1

Reply View the author
........
deepin
2024-06-29 11:31
#2
It has been deleted!
fslong
deepin beta test group
2024-06-29 11:46
#3
........ It has been deleted!

确实,但是v23装kde太麻烦,xfce4还是比较省心的。

Reply View the author
........
deepin
2024-06-29 12:31
#4
It has been deleted!
fslong
deepin beta test group
2024-06-29 12:43
#5
........ It has been deleted!

说的是错的,他说的这些linux内核中已经提供了。

对于linux发行版来说,gui界面只是应用软件,linux内核才是系统软件。

而对于windows来说,他的内核是个混合内核(有微内核特征也有宏内核特征),不像linux那样就是个宏内核啥啥都有,所以他需要把一些内核不具备但系统要用的东西跟gui融合一起。

说句题外话,windows的内核已经太古老了,真可谓是屎山。

Reply View the author
........
deepin
2024-06-29 12:50
#6
It has been deleted!
花雨落逝
deepin
2024-06-29 13:55
#7
........ It has been deleted!

glibc:你说啥?

Reply View the author
........
deepin
2024-06-29 16:08
#8
It has been deleted!
........
deepin
2024-06-29 16:42
#9
It has been deleted!
来自Ubuntu的某位用户
deepin
2024-06-29 17:56
#10

当然,面板还可以选择tint2

Reply View the author
fslong
deepin beta test group
2024-06-29 20:55
#11
........ It has been deleted!

是的,所以其实系统软件、应用软件这个分类我觉得本身就有一定的模糊性。

linux在这块跟windows还是非常不一样的,我觉得这些linux发行版的gui界面更像是安卓的xx桌面,就是一个人机交互的界面,提供的功能其实很少的,其他的功能由内核代替了,这点跟windows是不一样的。

Reply View the author
fslong
deepin beta test group
2024-06-29 20:55
#12
来自Ubuntu的某位用户

当然,面板还可以选择tint2

没错哈哈哈

Reply View the author
fslong
deepin beta test group
2024-06-30 18:25
#13
来自Ubuntu的某位用户

当然,面板还可以选择tint2

tint2真香!

Reply View the author
fslong
deepin beta test group
2024-06-30 18:51
#14
来自Ubuntu的某位用户

当然,面板还可以选择tint2

我咋没找到音量的配置项,右下角没有音量、蓝牙、wifi,请问tint2怎么配置这些:

image.png

Reply View the author
没事儿瞎转悠
deepin
2024-07-01 14:37
#15

刚发现dde-dock单行模式的时候,它没过多久就被抛弃了,现在按照这帖子卸载dde-shell装回了dde-dock。发现启动器在缩放1.0时不显的那么小了。

image.png

Reply View the author
fslong
deepin beta test group
2024-07-01 14:59
#16
没事儿瞎转悠

刚发现dde-dock单行模式的时候,它没过多久就被抛弃了,现在按照这帖子卸载dde-shell装回了dde-dock。发现启动器在缩放1.0时不显的那么小了。

image.png

是的,还蛮和谐的

Reply View the author
来自Ubuntu的某位用户
deepin
2024-07-06 20:47
#17
fslong

我咋没找到音量的配置项,右下角没有音量、蓝牙、wifi,请问tint2怎么配置这些:

image.png

请自行安装Blueman,nm-applet,volumeicon(pavucontrol),然后把这些东西设置为“开机自启”

如果你使用Openbox窗口管理器,tint2、fbpanel、bmpanel……这种面板程序可能是绝配

Reply View the author
fslong
deepin beta test group
2024-07-06 20:55
#18
来自Ubuntu的某位用户

请自行安装Blueman,nm-applet,volumeicon(pavucontrol),然后把这些东西设置为“开机自启”

如果你使用Openbox窗口管理器,tint2、fbpanel、bmpanel……这种面板程序可能是绝配

好的,谢谢!

Reply View the author
来自Ubuntu的某位用户
deepin
2024-07-06 21:22
#19
fslong

好的,谢谢!

当然,如果你觉得你配置不好tint2,可以去Github上找别人配置好的tint2配置文件

Reply View the author
来自Ubuntu的某位用户
deepin
2024-07-06 21:27
#20
fslong

好的,谢谢!

顺便告诉你下,如果去Github搜索Hyprland配置文件,会发现很多逆天的Hyprland配置

例如高仿Google Pixel的通知中心、完全模仿Windows 11的Hyprland配置……

Reply View the author