Installation of Conky Help

Forum rules
Before you post please read how to get help
Level 1
Level 1
Posts: 2
Joined: Fri Oct 19, 2012 7:21 pm

Installation of Conky Help

Postby htblinux » Fri Oct 19, 2012 7:23 pm

So, I am new to Linux. I thought I understood everything about Conky when I was installing it however it doesn't seem to be working. This is what I am getting when I try to run it.

Conky: can't open /sys/class/power_supply/BAT0/uevent: No such file or directory
Conky: can't open /proc/acpi/battery/BAT0/state: No such file or directory

Please help.

User avatar
Level 4
Level 4
Posts: 375
Joined: Fri Nov 26, 2010 9:55 am

Re: Installation of Conky Help

Postby d00med » Fri Oct 19, 2012 9:05 pm

It appears you're using a conky theme that has elements your install doesn't support.

Try the below if you haven't already.

Code: Select all

sudo apt-get install conky-all

If you have installed conky-all, try a different config.

Code: Select all

background yes
use_xft yes
xftfont cure:size=6
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
#own_window_type override
own_window_hints undecorated,below,skip_taskbar,skip_pager
double_buffer yes
minimum_size 170 170
maximum_width 150
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
#stippled_borders yes
default_color 333333
default_shade_color 010101
default_outline_color 333333
alignment top_right
gap_x 18
gap_y 3
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
${font cure:size=6}${color 999999}PROCESSORS$color
${font cure:size=6}${color 333333}${cpugraph cpu1 25, 150 89bb01 89bb01}$color
CPU1: ${cpu cpu1}% ${color 333333}${cpubar cpu1}$color
CPU2: ${cpu cpu2}% ${color 333333}${cpubar cpu2}$color
${font cure:size=6}${color 999999}MEMORY$color
${font cure:size=6}RAM $alignc $mem / $memmax $alignr $memperc%
${color 333333}$membar$color
${font cure:size=6}${color 999999}DISK$color
Root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar 6 /}
${font cure:size=6}${color 999999}TOP PROCESSES$color
${font cure:size=6}${top_mem name 1}${alignr}${top mem 1}%
${top_mem name 2}${alignr}${top mem 2}%
$font${top_mem name 3}${alignr}${top mem 3}%
$font${top_mem name 4}${alignr}${top mem 4}%
$font${top_mem name 5}${alignr}${top mem 5}%
${font cure:size=6}${color 999999}NETWORK$color
${color 333333}${downspeedgraph eth1 25, 150 89bb01 89bb01}$color
DL: ${downspeed eth1} $alignr total: ${totaldown eth1}
${color 333333}${upspeedgraph eth1 25, 150 89bb01 89bb01}$color
UL: ${upspeed eth1} $alignr total: ${totalup eth1}

Level 1
Level 1
Posts: 2
Joined: Fri Oct 19, 2012 7:21 pm

Re: Installation of Conky Help

Postby htblinux » Sat Oct 20, 2012 10:58 am


Thank you. That worked for me!

User avatar
Level 8
Level 8
Posts: 2309
Joined: Tue May 29, 2012 10:12 pm
Location: Tunisia

Re: Installation of Conky Help

Postby Zorba » Sun Oct 28, 2012 7:56 pm

Code: Select all

# Conky-Linux Mint
# author: Brahim Salem-Tunisia
# telephone: 00216 97 95 72 72

background yes
update_interval 1
total_run_times 0

cpu_avg_samples 2
net_avg_samples 2
temperature_unit celsius

double_buffer yes
no_buffers yes
text_buffer_size 2048

gap_x 10
gap_y 40
minimum_size 190 350
maximum_width 320
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
alignment tr

draw_shades yes
draw_outline yes
draw_borders no
draw_graph_borders yes

override_utf8_locale yes
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5
uppercase no

default_color Olivedrab3   
color1 Grey      
color2 Olivedrab3   
color3 Yellow   
color4 Olivedrab3   
color5 DDDDDD
color6 AAAAAA
color7 888888
color8 666666


${color1}${font :Bold:size=14} $alignc ${time %H}:${time %M}
${color}${font :Bold:size=14} $alignc ${time %h} ${time %e} - ${time %Y}${font :Bold:size=08}
$alignc(${time %A})
${color8}$alignc Uptime: $uptime
${color1}Linux ${color}Mint ${color1}$alignc from freedom came elegance
${color3}$sysname $kernel $nodename    $machine
${color4}CPU & Memory:
${color5}Overall:${color}$alignr${cpubar 8,145} ${color5}$cpu%@${freq_g cpu}GHz
${color7}Core1: ${color}${cpubar cpu1 7,76} ${color7}${cpu cpu1}% $alignr${color7}${cpu cpu2}%${color}${cpubar cpu2 7,76}${color7} :Core2
${color7}Core3: ${color}${cpubar cpu3 7,76} ${color7}${cpu cpu3}% $alignr${color7}${cpu cpu4}%${color}${cpubar cpu4 7,76}${color7} :Core4
${color}${cpugraph 15,320 000000 ff0000}
${color5}RAM ${alignr}${color7}$mem / $memmax ($memperc%)
${color}${membar 8}
${color5}SWAP ${alignr}${color7}$swap / $swapmax ($swapperc%)
${color4}${swapbar 8}
${color5}Highest CPU & Memory $alignr CPU% MEM%
${color6}${top name 1}$alignr${top cpu 1} ${top mem 1}
${color7}${top name 2}$alignr${top cpu 2} ${top mem 2}
${color8}${top name 3}$alignr${top cpu 3} ${top mem 3}
${color8}${top name 4}$alignr${top cpu 4} ${top mem 4}
${image ~/.conky/logo.png -p 0,2 -s 75x75}
$alignc${color}CPU: ${color1}${hwmon 0 temp 1}°C  ${color}GPU: ${color1}${execi 60 nvidia-settings -t -q GPUCoreTemp} °C  ${color}HDD1: ${color1}${hddtemp /dev/sda} °C  ${color}HDD2: ${color1}${hddtemp /dev/sdb} °C
${color4}Battery Status $hr
${color1}${alignr} ${battery BAT0} $alignr
${color2}${battery_bar BAT0}
${color6}Linux:${color1}(${fs_type})${alignr}${color5}${fs_size /}>${color6}${fs_used /}${color}${alignr}${fs_bar 8,75} ${color7}(${fs_used_perc /}%)
${color6}SDA1:${color1}(${fs_type /media/Windows})${alignr}${color5}${fs_size /media/Windows}>${color6}${fs_used /media/Windows}${color}${alignr}${fs_bar 8,75 /media/Windows} ${color7}(${fs_used_perc /media/Windows}%)
${color6}SDA2:${color1}(${fs_type /media/Backup})${alignr}${color5}${fs_size /media/Backup}>${color6}${fs_used /media/Backup}${color}${alignr}${fs_bar 8,75 /media/Backup} ${color7}(${fs_used_perc /media/Backup}%)
${color6}SDA3:${color1}(${fs_type /media/Storage})${alignr}${color5}${fs_size /media/Storage}>${color6}${fs_used /media/Storage}${color}${alignr}${fs_bar 8,75 /media/Storage} ${color7}(${fs_used_perc /media/Storage}%)
${color7}HDD Read-> ${alignc}${color2}${diskio_read}/s ${alignr}${color3}${diskio_write}/s ${color7}<-HDD Write
${color2}${diskiograph_read 10,150 000000 ff0000} ${alignr}${color3}${diskiograph_write 10,150 000000 ff0000}$color
${color4}Lan:${color} ${alignr}${color7}IP: ${addr eth0}
${color7}Download: ${color2}${downspeed eth0} k/s ${alignr} $alignr${color7}Upload: ${color3} ${upspeed eth0} k/s
${color2}${downspeedgraph eth0 10,150} ${alignr}${color3}${upspeedgraph eth0 10,150}
${color7}Total:${color2}${totaldown eth0} ${alignr}${color7}Total:${color3}${totalup eth0}
${color4}ppp0 (${addr ppp0}) ${hr 2}$color
Down: $color${downspeed ppp0} k/s ${alignr}Up: ${upspeed ppp0} k/s
${downspeedgraph ppp0 25,140 000000 ff0000} ${alignr}${upspeedgraph ppp0
25,140 000000 00ff00}$color
${color4}Wifi:${alignr}${color7}IP: ${addr wlan0}
${color7}ESSID:${color1}${wireless_essid wlan0} ${color7}Rate:${color1}${wireless_bitrate wlan0} ${alignr}${color7}Quality:${color1}${wireless_link_qual_perc wlan0}%${color}${wireless_link_bar 8,80 wlan0}
${color7}Download: ${color2}${downspeed wlan0}KB/s ${color3} $alignr${color7}Upload: ${alignr}${color3}${upspeed wlan0}KB/s
${color2}${downspeedgraph wlan0 10,150} ${alignr}${color3}${upspeedgraph wlan0 10,150}
${color7}Total:${color2}${totaldown wlan0} ${alignr}${color7}Total:${color3}${totalup wlan0}

Screenshot.jpg (543.65 KiB) Viewed 877 times

Return to “Compiz, Conky, Docks, & Widgets”

Who is online

Users browsing this forum: No registered users and 0 guests