如题,遇到这个问题之后,在网上搜索到了一大堆教程,有以下两种主流方案:
- 将配置文件中的windows_own_type的值改为normal
- 安装ubuntu_tweak,取消显示桌面图标
挨个试过,其实并不奏效。无奈之中去conky的Github-Configure Settings逛了一圈,发现了一些东西:
Variable | Explanation |
---|---|
own_window_type | if own_window is yes, you may specify type normal, desktop, dock, panel or override (default: normal). Desktop windows are special windows that have no window decorations; are always visible on your desktop; do not appear in your pager or taskbar; and are sticky across all workspaces. Panel windows reserve space along a desktop edge, just like panels and taskbars, preventing maximized windows from overlapping them. The edge is chosen based on the alignment option. Override windows are not under the control of the window manager. Hints are ignored. This type of window can be useful for certain situations. |
已经尝试过normal、desktop、panel、override的我,最后试了一下dock,解决了。。。
以下是配置方法:
打开CM,点击笔型图标打开配置文件编辑:
把own_window_type 改为dock,搞定。
看看效果:
P.S. :
normal模式下,Super+Ctrl+D会把Conky最小化,因为它自己也是窗口。
desktop模式下,单击桌面也会把Conky弄没,因为它被X的桌面覆盖掉了。
panel模式下。。。是这个效果:
所有最大化的窗口都在它下面。。。
override模式下,Conky的widget会不断叠加绘图层,导致文字重叠。。。
所以都知道以后怎么办了吧?