Rhythmbox 和 Conky 不能一起工作,但它们可以单独工作

Rhythmbox 和 Conky 不能一起工作,但它们可以单独工作

hardy-conky在运行 12.10 的笔记本电脑上使用它,在运行 saucy 13.10 的主电脑上使用它

两者都无法conky同时运行 Rhythm Box。我运行 Rhythm Box,conky 消失了。我关闭 Rhythm Box,conky它又出现了。

程序永远不会崩溃。这很重要。conky进程继续运行,只是由于某种原因消失了。

我运行 conky 的终端没有更新。

这是我的conkyrc

尝试用谷歌搜索,但没有任何关于这个问题的搜索结果,这真是可笑。

我查看了我的代码conkyrc,删除了 if rhythmbox 部分下的所有东西。里面只有一些脚本来查找lyricsdownloader

##################################################################################
## Conky by http://jameshardy88.deviantart.com/art/Conky-JamesHardy88-122466724 ##
##          Modified by Umair - http://www.NoobsLab.com         ##
##################################################################################
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# 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

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type conky
own_window_argb_visual yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

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

# Minimum size of text area
minimum_size 160 0
#maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

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

# 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 15
gap_y 20

# 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 1

# 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

TEXT
${if_running rhythmbox}
${else}
SYSTEM ${hr 2}
${voffset 2}${font OpenLogos:size=16}u${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}   CPU: ${cpu}% ${alignr}${cpubar cpu0 8,60}
${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font Webdings:size=16}~${font}  Battery: ${battery_percent BAT1}% ${alignr}${battery_bar 8,60 BAT1}
${font StyleBats:size=16}q${font}   Uptime: ${alignr}${uptime}
${font StyleBats:size=16}k${font}   Processes: ${alignr}$processes ($running_processes running)

Highest CPU $alignr CPU% MEM%
${hr 1}
${top name 1}$alignr${top cpu 1}${top mem 1}
${top name 2}$alignr${top cpu 2}${top mem 2}
${top name 3}$alignr${top cpu 3}${top mem 3}

HD ${hr 2}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Home:
${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
${font Pie charts for maps:size=14}7${font}

NETWORK ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font}   Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Local Ip: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Public Ip: ${alignr}${execi 1 ~/.conky/ip.sh}${else}
${font PizzaDude Bullets:size=14}4${font}   Network Unavailable
${endif}
${endif}

答案1

我用conky 管理器可通过 https://launchpad.net/~teejee2008/+archive/ppa此 ppa

它包含一组很好的 conky,你可以将 conkyrc: 放入文件夹中来添加更多。conky-manager/themes/{你的 conky 名称}/config/conkyrc。 例如conky-manager/主题/时钟/配置/conkyrc

我已经用了几个月了,它从未对任何其他程序造成任何问题.虽然存在一些小问题(有时 conky 不会自动启动)但很快就会得到修复。

conky-manager 官方网站http://www.teejeetech.in/p/conky-manager.html

如何安装 conky-manager

1.在终端窗口中运行以下命令:

sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get 更新
sudo apt-get 安装 conky-manager

2.然后运行

安装 conky-manager

3. 还可以尝试这个第三方 conky 集。
http://www.mediafire.com/download/5yb5ambg6h4jack/Deluxe_Conky_Theme_Pack.cmtp.7z

相关内容