系統啟動後 conky經常這麼黑一塊 但是偶爾又正常

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
linuxmm9
帖子: 214
注册时间: 2017-08-19 10:12
系统: linux

系統啟動後 conky經常這麼黑一塊 但是偶爾又正常

#1

帖子 linuxmm9 » 2017-11-11 17:17

系統啟動後 conky經常這麼黑一塊 但是偶爾又正常 不知道哪裡出了問題 請幫忙看看

代码: 全选

# Use Xft?
use_xft yes
xftfont SecretCode:size=13
xftalpha 0.8
text_buffer_size 2048

imlib_cache_size 4096

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
background yes
# Create own window instead of using desktop (required in nautilus)
own_window yes 
own_window_type desktop
own_window_class Conky
own_window_transparent yes
own_window_argb_visual no
own_window_argb_value 500
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
default_outline_color #000000

# Minimum size of text area
minimum_size 375 0
maximum_width 380

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 1

# border width
border_width 0

# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color black
own_window_colour grey

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 95
gap_y 0

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none

# mixer (device)
mixer "pcm"

TEXT
${color #FFFFFF}${goto 0}${voffset 50}${alignc}${font GE Inspira:Regular:size=88}${time %H} ${color #FF0000}${time %M}
${color #FF0000}${goto 228}${voffset -55}${font GE Inspira:size=45}${time %m}${color #FFFFFF}${font GE Inspira:size=18}${goto 297}${voffset 0}${time %Y}
${goto 0}${voffset 6}${alignc}${execpi 300 DJS=`date +%_d`; cal -s | sed '1d' | sed '/ /!d' | sed 's/$/   /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed '1{s/^/\$\{color #FFC0CB}${goto 35}${font SecretCode:size=21}/;s/$/\$\{color #FFC0CB}${goto 0}${voffset 15}${alignc}${font SecretCode:size=21}/}'| sed 's/^/  /' | sed /" $DJS "/s/" $DJS "/" "'${color #00FF00}${font SecretCode:Bold:size=21}'"$DJS"'${color FFFFFF}${font SecretCode:size=21}'" "/}
${color #FFC0CB}${goto 265}${voffset -470}${font OtherSpace:Regular:size=25}s
${color #000000}${goto 41}${voffset 950}${font Ships:size=180}Y
附件
有時啟動後又沒有背景
有時啟動後又沒有背景
2017-11-11-170844_1920x1080_scrot.png
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 系統啟動後 conky經常這麼黑一塊 但是偶爾又正常

#2

帖子 vickycq » 2017-11-11 19:49

您可以尝试将 own_window_argb_visual 设置为 yes 以使用真透明,并将 own_window_argb_value 设置为 0 (取值范围 0-255)
注意 使用 conky 的真透明模式时,需要有混成管理器运作(从图中的面板判断您已经启用了混成)
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
linuxmm9
帖子: 214
注册时间: 2017-08-19 10:12
系统: linux

Re: 系統啟動後 conky經常這麼黑一塊 但是偶爾又正常

#3

帖子 linuxmm9 » 2017-11-12 14:23

vickycq 写了:您可以尝试将 own_window_argb_visual 设置为 yes 以使用真透明,并将 own_window_argb_value 设置为 0 (取值范围 0-255)
注意 使用 conky 的真透明模式时,需要有混成管理器运作(从图中的面板判断您已经启用了混成)
好的 我試試看 謝謝
回复