conky设置自启动,登陆后壁纸挡住了conky

如题所示,具体的问题就是,我自己设置conky自启动之后,在系统登陆之后,桌面上的conky被桌面壁纸给挡住了;这里先给出conky配置文件:

--[[
Conky, a system monitor, based on torsmo

Any original torsmo code is licensed under the BSD license

All code written since the fork of torsmo is licensed under the GPL

Please see COPYING for details

Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2019 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

#own_window_hints='undecorated,below,above,sticky,skip_taskbar,skip_pager'
#own_window_transparent= true,

]]

conky.config = {
    alignment = 'top_right',
    background = true,
    border_width = 1,
    cpu_avg_samples = 2,
    default_color = 'blue',
    default_outline_color = 'white',
    default_shade_color = 'white',
    double_buffer = true,
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    extra_newline = false,
    font = 'Fira Code Regular:size=12',
    gap_x = 60,
    gap_y = 60,
    minimum_height = 5,
    minimum_width = 5,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_x = true,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type= 'override',
    own_window_argb_visual=true,
    own_window_argb_value=0, 
    show_graph_range = false,
    show_graph_scale = false,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    use_xft = true,
}

conky.text = [[
${font LCD:style=Bold:pixelsize=25}${alignc}${time %I:%M:%S}
${font LCD:style=Bold:pixelsize=12}${time %Y年%b%d日 星期%a}${alignc}
${color pink}系统信息:$color  ${exec whoami}'system: $kernel $machine 
$hr
${color pink}系统运行时间:$color $uptime
${color pink}CPU使用频率(MHz)$color $freq
${color pink}内存使用量:$color $mem/$memmax - $memperc% ${membar 4}
${color pink}交换空间使用量:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color pink}CPU状态$color $cpu% ${cpubar 4}
${color pink}进程数:$color $processes  ${color pink}正在运行数:$color $running_processes
${color pink}有线地址:$color ${addr enp3s0}
上行:$color ${upspeed enp3s0} ${color pink} - 下行:$color ${downspeed enp3s0}
${color pink}无线地址:$color ${addr wlp2s0}
上行:$color ${upspeed wlp2s0} ${color pink} - 下行:$color ${downspeed wlp2s0}
$hr
${color pink}Name              PID     CPU%   MEM%
${color pink} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color pink} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color pink} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color pink} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
$color $hr
${color pink}文件系统状态:
$color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color pink}电池状态:${color} $battery
]]

和系统自启动的设置截图:

conky启动设置

然后是壁纸设置截图:

系统版本是debian11,使用的是xfce桌面管理器;
希望有经验的大佬帮我看看这个到底是什么情况引起的,在此先提前谢过各位。

我记得是受这几个选项的影响 。

我用的KDE ,没有写own_window_type= ‘override’,只有以下四项,工作正常。
你可以参考一下

     own_window = true,                                                       
     own_window_transparent = true,                                           
     own_window_argb_visual = true,                                           
     own_window_hints = 'undecorated,skip_taskbar,below,skip_pager',

配置是在网上搜索后对着抄的,也是反复调整才生效。

感谢回复,我也试过你这个方法,但是我用这个方法的时候我觉得有一个我自己没办法解决的问题——就是这个方法,它虽然能够不被遮挡并且是透明的,但是它和override模式一样,会在桌面上方挡住一部分,就类似于手机的第三方护眼应用使用的遮罩效果一样,我怕哪天自己不小心把其它应用缩得很小,然后不小心把应用拖到了那个区域,然后就在也没办法移动其它应用了(被conky挡住了),虽然说override模式也是这个样子;

另外,由于我的壁纸是每隔一段时间就切换的,我不知道哪种颜色能够在不断变化的壁纸当中相对来说比较清晰的显示并且符合美化设计,所以我最终选择回到override模式(哪怕它背景颜色是黑色的);

现在的问题是——如果我真的打算回到override模式,有没有办法能够让他在机器启动登陆后不被壁纸给遮挡住,因为在登陆的一瞬间,我瞥见了override启动了,然后又被壁纸给遮挡住了。

你看我的,根本没有 own_window_type 这一项啊,谈何 override .

可能相关的文档:
From conky(1) — conky-all — Debian testing — Debian Manpages:

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.

From Window Configuration · brndnmtthws/conky Wiki · GitHub:

Generally black flickering may occur, Conky is designed to draw to the root desktop window. However, there are several other applications which like drawing to the root desktop window. Because of this, Conky has two options available to get around this problem:

  • You can try enabling double-buffer. Conky’s double-buffer option uses the X double-buffer extension to provide a flicker-free Conky. This can be done by adding double_buffer = true to your conky config file. If the double buffer is not working you X11 installation is likely not loading the double buffer extension. Open up the Xorg configuration file (usually /etc/X11/xorg.conf) with your favourite text editor, and find the line that says: Section "Module". Then, after that line, add: Load "dbe", restart Xorg (my preferred method is the good-ole control+alt+backspace) and enjoy.
  • Conky can run in windowed mode, meaning that instead of drawing the the root window it draws to it’s own window. You can move this window around and resize it by right-clicking or left-clicking on the window while holding down the Alt key. This can be accomplished by running Conky with the ‘-o’ parameter, or by adding the following to your conky config file: own_window = true

针对 Cinnamon 和 XFCE 的参考配置

conky.config = {
    own_window = true,
    own_window_type = 'normal',
    own_window_transparent = false,
    own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
    own_window_argb_visual = true, own_window_argb_value = 192,

    double_buffer = true,
}

感谢回复;如果是配置了own_windows_type=‘override’,系统启动登陆后conky还是会被壁纸挡住,我没有使用相关文档的第一个方案,因为我的系统里面找不到xorg.conf文档;

唯独你给出的参考配置文件方案,设置开机自启动后,系统登陆后,conky不会被壁纸挡住;

我现在在考虑这会不是版本问题,因为我用的是系统仓库里面的conky版本是1.11.6,我打算到官网上面下最新的然后自己编译安装。