如何禁用应用菜单中的桌面预览功能
Hey there! I totally get why you're frustrated—having duplicate workspace previews when you don't even use multiple desktops is just unnecessary clutter. Let's get rid of those for you right away.
Here are two straightforward methods, depending on whether you prefer a graphical tool or quick terminal commands:
方法一:图形界面操作(dconf-editor)
- If you don't have
dconf-editorinstalled yet, open your terminal and run:
Enter your password when prompted to finish the installation.sudo apt install dconf-editor - Launch
dconf-editorfrom your app menu. - In the left sidebar, navigate step by step to:
org > gnome > shell > extensions > apps-menu - Look for the setting named
show-workspaces—toggle the switch next to it to Off. The workspace previews in your app menu should disappear immediately.
方法二:终端快捷命令
If you're comfortable using the terminal, this is even faster:
- Open your terminal and run this single command:
Hit enter, and you're done—no need to restart any apps or your system.gsettings set org.gnome.shell.extensions.apps-menu show-workspaces false
万一上面的方法没生效?
If you're using a custom shell extension for your app menu (like Dash to Panel or another third-party menu), head to the extension's settings (you can access these via the GNOME Extensions app or the extension icon in your top bar). Look for an option like "Show workspace previews" or "Workspace indicators" and disable it—most extensions include this toggle to let you turn off the feature.
备注:内容来源于stack exchange,提问作者Wario

