网上找了一圈都没找到解决方法,然后想试试命令行看行不行,结果还真试出来了;

思路:使用命令行随便换一个布局即可

1.先来看看Latte-Dock有哪些命令

$ latte-dock --help
Usage: latte-dock [options]

Options:
  -h, --help                   Displays help on commandline options.
  --help-all                   Displays help including Qt specific options.
  -v, --version                Displays version information.
  -r, --replace                Replace the current Latte instance.
  -d, --debug                  Show the debugging messages on stdout.
  --cc, --clear-cache          Clear qml cache. It can be useful after system
                               upgrades.
  --default-layout             Import and load default layout on startup.
  --available-layouts          Print available layouts
  --layout <layout_name>       Load specific layout on startup.
  --import-layout <file_name>  Import and load a layout.
  --import-full <file_name>    Import full configuration.
  --single                     Single layout memory mode. Only one layout is
                               active at any case.
  --multiple                   Multiple layouts memory mode. Multiple layouts
                               can be active at any time based on Activities
                               running.

2.然后看看都安装了哪些布局

latte-dock --available-layouts

3.随便切换一个

latte-dock --layout <上面列出的布局名称>

补充:如果上面的方法还没用就去下载一个布局然后使用命令行本地安装下载的布局

latte-dock --import-layout <你下载的布局>