Conky 文本与其他文本重叠

Conky 文本与其他文本重叠

conky 的某些文本部分与其自身重叠。如您在第三个气泡表单中看到的,顶部的“磁盘”隐藏在 Root、Home 和 Date 下。

在此处输入图片描述

我希望它看起来像这样:

在此处输入图片描述

我已经使用这个安装了 conky 管理器方法。但我似乎无法修复它。

答案1

在此处输入图片描述

原图:[左图]

# Showing disk partitions: root, home and Data
${voffset 8}
${offset 103}${font Ubuntu:size=10,weight:bold}${color5}HDD[s]
###${offset 120}${diskiograph 33,183 666666 666666}${voffset 12}
${voffset 12}
${offset 105}${font Ubuntu:size=9,weight:bold}${color1}Swap: ${font Ubuntu:size=9,weight:normal}${fs_free /dev/sda3}${alignr}${font Ubuntu:size=9,weight:bold}Used: ${font Ubuntu:size=9,weight:normal}${fs_used /dev/sda3}
 ${offset 105}${font Ubuntu:size=9,weight:bold}${color1}Home: ${font Ubuntu:size=9,weight:normal}${fs_free /}${alignr}${font Ubuntu:size=9,weight:bold}Used: ${font Ubuntu:size=9,weight:normal}${fs_used /}
${offset 105}${font Ubuntu:size=9,weight:bold}${color1}Data:  ${font Ubuntu:size=9,weight:normal}${fs_free /}${alignr}${font Ubuntu:size=9,weight:bold}Used: ${font Ubuntu:size=9,weight:normal}${fs_used /}

# Network data (my desktop have only LAN). ETHERNET ring is mostly useless but looks pretty, main info is in the graphs
${voffset 54}
${offset 103}${font Ubuntu:size=10,weight:bold}${color5}ARPANET

已修复:[右图]

# Showing disk partitions: root, home and Data
${voffset 48}
${offset 103}${font Ubuntu:size=10,weight:bold}${color5}HDD[s]
###${offset 120}${diskiograph 33,183 666666 666666}${voffset 12}
${voffset -5}
${offset 105}${font Ubuntu:size=9,weight:bold}${color1}Swap: ${font Ubuntu:size=9,weight:normal}${fs_free /dev/sda3}${alignr}${font Ubuntu:size=9,weight:bold}Used: ${font Ubuntu:size=9,weight:normal}${fs_used /dev/sda3}
${offset 105}${font Ubuntu:size=9,weight:bold}${color1}Home: ${font Ubuntu:size=9,weight:normal}${fs_free /}${alignr}${font Ubuntu:size=9,weight:bold}Used: ${font Ubuntu:size=9,weight:normal}${fs_used /}
${offset 105}${font Ubuntu:size=9,weight:bold}${color1}Data:  ${font Ubuntu:size=9,weight:normal}${fs_free /}${alignr}${font Ubuntu:size=9,weight:bold}Used: ${font Ubuntu:size=9,weight:normal}${fs_used /}

# Network data (my desktop have only LAN). ETHERNET ring is mostly useless but looks pretty, main info is in the graphs
${voffset 36}
$ {offset 103}${font Ubuntu:size=10,weight:bold}${color5}ARPANET
  • 在此示例中,屏幕截图是我的.conkyrc配置文件的实际视觉反馈,该文件位于~/

当您仔细比较屏幕截图与下面列出的两个示例中的代码时,您会发现,我只更改了参数${voffset},从以下开始:

 # Showing disk partitions: root, home and Data

就您而言,这是相同的参考点,可以从这里开始!下面我的 #HDD[s] 设置的代码中的每个条目都需要重新调整,始终使用参数${voffset xx},就像示例中一样。

  • 我知道,这看起来很困难,但是给它一些时间,你就会成功!

相关内容