将启动器显示模式设置为Intellihide
从Ubuntu 12.04(精确穿山甲)开始,Unity停止支持Unity发射器的Intellihide显示模式。 但是,Ubuntu Tweak仍然可以更改设置以使其成为Intellihide,并且它运行良好(至少在Unity 2D中),除非您打开外观首选项。 这就是我一直用来将模式设置为Intellihide的方法。
我想知道,我可以用这种方式设置Intellihide的命令(比如使用gsettings
等),因为那时我不需要安装Ubuntu Tweak来改变启动器设置。
用于调整启动器隐藏模式的gsettings命令将是:
gsettings set com.canonical.Unity2d.Launcher hide-mode 2
请注意,此命令仅适用于Unity-2D, 而不适用于Unity-3D。
此命令支持的参数及其执行的操作:
0: Never hide; The launcher is always visible. 1: Auto hide; The launcher will disappear if it not actively used. 2: Intellihide; The launcher will disappear only if there is an active window over it.