Page 1 of 1
Conky in Mint 12 ME with Cinnamon [SOLVED]
Posted: Mon Feb 27, 2012 2:15 pm
by edtheuniquegeek
Has anything changed with the way Conky runs in Mint 12 from Mint 11? Would running Cinnamon cause any issues?
The reason I ask is because I was running this in Mint 11:
http://www.webupd8.org/2011/06/conky-lu ... ystem.html
And now I can't. This is what I see when I throw this command in the terminal:
conky -c ~/.conky/conkyrc_lunatico
Code: Select all
ed@ed-xps-mint12 ~ $ conky -c ~/.conky/conkyrc_lunatico
Conky: forked to background, pid is 27195
ed@ed-xps-mint12 ~ $
Conky: desktop window (1000021) is subwindow of root window (142)
Conky: window type - override
Conky: drawing to created window (0x3e00001)
Conky: drawing to double buffer
Can someone please tell me what is going on?
Re: Conky in Mint 12 ME with Cinnamon
Posted: Tue Feb 28, 2012 7:21 am
by edtheuniquegeek
BUMP
Can anyone help me with this, please?
Re: Conky in Mint 12 ME with Cinnamon
Posted: Tue Feb 28, 2012 12:18 pm
by Oscar799
Moved here by moderator
Re: Conky in Mint 12 ME with Cinnamon
Posted: Tue Feb 28, 2012 6:31 pm
by edtheuniquegeek
I have done a little bit of troubleshooting.
I logged into Mint 12 under a Gnome Classic session and the Conky theme works fine. Interestingly enough it does not work under the new Gnome (3?). So, this leads me to believe that Cinnamon is the culprit and custom Conky themes do not work in that environment.
I would love to know a fix. Anyone have a solution?
Re: Conky in Mint 12 ME with Cinnamon
Posted: Wed Feb 29, 2012 1:46 pm
by edtheuniquegeek
I've completed some more troubleshooting. Instead of putting the custom Conky theme config files under ~/.conky I created ~/.conkyrc and place the config files in there. Now when I run Conky I get this message:
Code: Select all
Conky: invalid configuration file '/home/ed/.conkyrc'
Conky: missing text block in configuration; exiting
***** Imlib2 Developer Warning ***** :
This program is calling the Imlib call:
imlib_context_free();
With the parameter:
context
being NULL. Please fix your program.
Here is the config file I am trying to use:
Code: Select all
#==============================================================================
# conkyrc_lunatico
#
# Date : 22/06/2011
# author : DCM
# version : v0.2
# license : Distributed under the terms of GNU GPL version 2 or later
# This version is a modification of conkyrc_orange found at
# http://gnome-look.org/content/show.php?content=137503&forumpage=0
#
#==============================================================================
background yes
update_interval 1
cpu_avg_samples 2
net_avg_samples 2
temperature_unit fahrenheit
double_buffer yes
no_buffers yes
text_buffer_size 2048
gap_x 10
gap_y 10
minimum_size 180 500
maximum_width 180
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 no
draw_outline no
draw_borders no
draw_graph_borders no
override_utf8_locale yes
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5
uppercase no
default_color FFFFFF
color1 DDDDDD
color2 AAAAAA
color3 888888
color4 00EE00
color5 EF5A29
lua_load ~/.conkyrc/conky_lunatico.lua
lua_draw_hook_post main
TEXT
${font Ubuntu:size=7,weight:bold}${color4}SYSTEM ${hr 2}
${offset 10}${font Ubuntu:size=7,weight:normal}${color1}$sysname $kernel
${offset 10}${font Ubuntu:size=7,weight:normal}${color1}$nodename
${offset 10}${font Ubuntu:size=7,weight:normal}${color1}Uptime: $uptime
#${offset 10}${font Ubuntu:size=7,weight:normal}${color1}$machine
${voffset 14}
${offset 65}${cpugraph 20,110 666666 666666}${voffset -15}
${offset 45}${font Ubuntu:size=7,weight:bold}${color}CPU
${offset 55}${font Ubuntu:size=7,weight:normal}${color4}${top name 1}${alignr}${top cpu 1}%
${offset 55}${font Ubuntu:size=7,weight:normal}${color1}${top name 2}${alignr}${top cpu 2}%
${offset 55}${font Ubuntu:size=7,weight:normal}${color2}${top name 3}${alignr}${top cpu 3}%
${offset 55}${font Ubuntu:size=7,weight:normal}${color3}${top name 4}${alignr}${top cpu 4}%
${offset 55}${font Ubuntu:size=7,weight:normal}${color3}${top name 5}${alignr}${top cpu 5}%
${voffset 36}
${offset 45}${font Ubuntu:size=7,weight:bold}${color}MEM
${offset 55}${font Ubuntu:size=7,weight:normal}${color4}${top_mem name 1}${alignr}${top_mem mem 1}%
${offset 55}${font Ubuntu:size=7,weight:normal}${color1}${top_mem name 2}${alignr}${top_mem mem 2}%
${offset 55}${font Ubuntu:size=7,weight:normal}${color2}${top_mem name 3}${alignr}${top_mem mem 3}%
${offset 55}${font Ubuntu:size=7,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem 4}%
${offset 55}${font Ubuntu:size=7,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem 5}%
${voffset 16}
${offset 65}${diskiograph 20,110 666666 666666}${voffset -15}
${offset 45}${font Ubuntu:size=7,weight:bold}${color}DISK
#${offset 55}${diskiograph 20,150 666666 666666}${voffset -30}
${offset 55}${font Ubuntu:size=7,weight:normal}${color}Free: ${fs_free /}
${voffset 65}
${offset 10}${font Ubuntu:size=7,weight:bold}${color}ETHERNET WIRELESS
${alignr}${wireless_essid wlan0}
${offset 10}${color2}${addr eth0}${alignr}${addr wlan0}
${alignc}${gw_ip}
${offset 10}${color2}${alignc}${nameserver}
${offset 10}${color}Up: $color2${upspeed eth0} ${alignr}${color}Down: $color2${downspeed wlan0}
${offset 10}${color}Down: $color2${downspeed eth0} ${alignr}${color}Down: $color2${downspeed wlan0}
#${voffset 5}
#${offset 10}${font Ubuntu:size=7,weight:bold}${color}Wireless Signal
#${offset 10}${color5}${wireless_link_bar wlan0}
#${color4}Waiting Messages
${voffset 15}${font Ubuntu:size=7,weight:bold}${color}GMail
${color4}${execi 60 python ~/.conkyrc/scripts/gmail.py}
${voffset 5}${font Ubuntu:size=7,weight:bold}${color}Battery Life Remaining
#${color4}${battery_time}
${color4}${execi 60 cat /proc/acpi/battery/BAT*/state | awk '{if ($0 ~ "present rate:"){rate = $3} if($0 ~ "remaining capacity:"){cap = $3}} END {printf "%d hours %d minutes\n" ,(cap / rate), (((cap % rate) / rate) * 60)}'}
#${voffset 2}
${color4}${hr 2}
And what is interesting is that there is a TEXT block.
Re: Conky in Mint 12 ME with Cinnamon
Posted: Fri Mar 02, 2012 7:28 am
by edtheuniquegeek
Someone over at the Ubuntuforums.org was able to assist me. In order to make it work the line
Needed to be changed to:
Also, I wasn't putting the full path to the config file. I was typing this in the terminal:
conky -c ~/.conkyrc
When I should have been typing this:
conky -c ~/.conkyrc/conkyrc_lunatico
Now it's working.
Re: Conky in Mint 12 ME with Cinnamon [SOLVED]
Posted: Thu Nov 29, 2012 3:53 am
by dentex
Hi everyone.
I'm running Mint 14 Cinnamon Ed.
The fix works OK, but when I click the "show desktop button" conky disapperas.
now: when I click again it comes back with all other windows, but if I click something else AND THEN "show desktop", conky stays hidden...
just my 2cents.
Re: Conky in Mint 12 ME with Cinnamon [SOLVED]
Posted: Thu Nov 29, 2012 7:41 am
by edtheuniquegeek
I haven't had the chance to load Mint 14 yet to be able to troubleshoot. I may try to load it on my laptop this weekend and see what happens.