1

i can't get transparency on conk. This is my code:

# -- Conky settings_by_giancarlo64 -- #
background yes
update_interval 1

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
imlib_cache_size 0

own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window yes
own_window_type normal
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 0


border_inner_margin 0
border_outer_margin 0

minimum_size 450 180
maximum_width 450

alignment tr
gap_x 0
gap_y 50

# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no


# -- Lua load -- #
lua_load ./1text.lua 
lua_draw_hook_pre draw_text

#at least one line (empty or not) after TEXT
TEXT
hi

I was looking for solution but nothing i found helped me. Most posts were about adding own_window_argb_visual yes own_window_argb_value 0 But it doesn't work for me. I should also say that its not my theme, i just found it. source: http://giancarlo64.deviantart.com/art/Deep-Blue-Conky-334583765 I don't if it is important but i am using XFCE.

4

2 回答 2

2

在我的情况下有效的是

own_window yes                      # run conky in separate window (no flickering)
own_window_class Conky              # 'Conky' is default value
own_window_type override            # 'override' means not under control of window manager 
own_window_transparent yes          # enable transparency

请注意,我不使用own_window_argb_visualorown_window_argb_value 0你正在做的事情。我.conkyrc在 4 台不同的机器上工作正常(也在我使用 XFCE 的一台机器上)

我记得有一个朋友不得不将其中一个设置更改为,own_window_type normal但这意味着当您进行“显示桌面”操作时,conky 也会最小化。如果你不想要这个,设置,own_window_type dock但反过来又需要你设置gap_xgap_y值来定位你的 conky 窗口。

于 2015-11-12T06:08:24.087 回答
0

尝试将 own_window_type 设置为桌面

于 2015-09-10T04:55:23.663 回答