1.安装主题工具:GNOME Tweaks
sudo apt-get update
sudo apt-get install gnome-tweak-tool
2.手动安装dash-to-dock插件
Dash-to-dock不支持3.32以上版本的gnome,git clone dash to dock的仓库
yeats@yeats-virtual-machine:~/Tools$ git clone https://github.com/micheleg/dash-to-dock.git
Cloning into 'dash-to-dock'...
remote: Enumerating objects: 12011, done.
remote: Counting objects: 100% (142/142), done.
remote: Compressing objects: 100% (84/84), done.
remote: Total 12011 (delta 69), reused 106 (delta 58), pack-reused 11869
Receiving objects: 100% (12011/12011), 7.78 MiB | 985.00 KiB/s, done.
Resolving deltas: 100% (7841/7841), done.
yeats@yeats-virtual-machine:~/Tools$ ls
dash-to-dock
3.进入dash-to-dock目录,编译并安装项目
yeats@yeats-virtual-machine:~/Tools$ ls
dash-to-dock
yeats@yeats-virtual-machine:~/Tools$ make -C dash-to-dock install
make: Entering directory '/home/yeats/Tools/dash-to-dock'
glib-compile-schemas ./schemas/
sassc --omit-map-comment _stylesheet.scss stylesheet.css
make: sassc: Command not found
make: *** [Makefile:98: stylesheet.css] Error 127
make: Leaving directory '/home/yeats/Tools/dash-to-dock'
如果编译不成功,可能是gcc的问题,需要安装一下gcc
4.dash-to-dock设置
安装后,按下alt+f2输下r,重启shell
打开设置中的extensions,会出现dash to dock