Conky + Cinnamon 1.6.7

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dottimus

Conky + Cinnamon 1.6.7

Post by dottimus »

I've search around on various topics, yet have not found an answer to my particular issue. If you know of one, simply reply with the link and I appreciate the help ahead of time.

I'm using LM 14 with the newest Cinnamon and have tried installing Conky a number of times, however it never shows on the desktop. Before anyone asks, I'm familiar enough with the program to know where the .rc file needs to be placed, etc. Has anyone experienced this same issue or am I experiencing a bug that may be in conflict with other software?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
dottimus

Re: Conky + Cinnamon 1.6.7

Post by dottimus »

I neglected to post the following info in the previous post:

System: Host: Mint Kernel: 3.5.0-17-generic i686 (32 bit) Desktop: Gnome Distro: Linux Mint 14 Nadia

Machine: System: Dell product: Dell DM061
Mobo: Dell model: 0WG864 Bios: Dell version: 2.3.2 date: 03/30/2007

CPU: Dual core Intel Pentium D CPU (-MCP-) cache: 2048 KB flags: (lm nx sse sse2 sse3)
Clock Speeds: 1: 2400.00 MHz 2: 2400.00 MHz

Graphics: Card: Intel 82G965 Integrated Graphics Controller
X.Org: 1.13.0 drivers: intel (unloaded: fbdev,vesa) Resolution: 1600x900@60.0hz
GLX Renderer: Mesa DRI Intel 965G x86/MMX/SSE2 GLX Version: 2.1 Mesa 9.0

Audio: Card-1: Intel 82801H (ICH8 Family) HD Audio Controller driver: snd_hda_intel Sound: ALSA ver: 1.0.25
Card-2: Logitech Webcam B500 driver: USB Audio

Network: Card-1: Intel 82562V 10/100 Network Connection driver: e1000e
IF: eth0 state: down mac: 00:19:d1:e7:8a:dc
Card-2: NetGear WNDA3100v2 802.11abgn [Broadcom BCM4323]
IF: N/A state: N/A mac: N/A
Card-3: D-Link System AirPlus G DWL-G122 Wireless Adapter(rev.C1) [Ralink RT2571W] driver: rt73usb
IF: wlan0 state: up mac: 00:21:91:96:4b:68

Drives: HDD Total Size: 2570.5GB (59.1% used) 1: id: /dev/sda model: ST3250820AS size: 250.0GB
2: USB id: /dev/sdb model: HM320II size: 320.1GB 3: USB id: /dev/sdd model: 001 size: 2000.4GB

Partition: ID: / size: 67G used: 25G (39%) fs: ext4 ID: swap-1 size: 4.22GB used: 0.08GB (2%) fs: swap

RAID: No RAID devices detected - /proc/mdstat and md_mod kernel raid module present

Sensors: None detected - is lm-sensors installed and configured?

Info: Processes: 201 Uptime: 1 day Memory: 1686.0/3961.6MB Client: Shell inxi: 1.8.4[/quote]
lurkatron

Re: Conky + Cinnamon 1.6.7

Post by lurkatron »

could it be the windows specifications in your conky config file? heres mine and it works perfectly

#############################
# - Window specifications - #
#############################
own_window yes
own_window_class Conky
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_argb_visual yes
#own_window_argb_value 100
dottimus

Re: Conky + Cinnamon 1.6.7

Post by dottimus »

It is a possibility, though that's never been an issue before. I'll play around with just that and we'll see what happens. Thanks. ;)
User avatar
twodogs
Level 4
Level 4
Posts: 320
Joined: Sat Jun 09, 2007 9:18 pm

Re: Conky + Cinnamon 1.6.7

Post by twodogs »

dottimus wrote: I'm using LM 14 with the newest Cinnamon
What is the version of Cinnamon you are using (you did not put this in your list of specifications)?

Do 'cinnamon --version' in terminal
also..
Do 'conky --version' in terminal
gibbs1984
Level 5
Level 5
Posts: 825
Joined: Mon Oct 27, 2008 2:40 pm
Location: Hemel Hempstead, England

Re: Conky + Cinnamon 1.6.7

Post by gibbs1984 »

lurkatron wrote:could it be the windows specifications in your conky config file? heres mine and it works perfectly

#############################
# - Window specifications - #
#############################
own_window yes
own_window_class Conky
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_argb_visual yes
#own_window_argb_value 100
Thank you very much as I posted about this problem before so I decided to change my window options to yours and now it's working perfectly fine :)
Linux Mint 20.3 (Cinnamon) 64bit.
Brahim Salem

Re: Conky + Cinnamon 1.6.7

Post by Brahim Salem »

I- instructions:

1- change own_window_type to dock so it looks like this : own_window_type dock

Don't panic when you see your conky alignment messed up( it will move to your left) :D. Just go to step 2.

2- finetune gap_x and gap_y.

I set them like this myself:
gap_x 1030
gap_y 20


3- comment alignment by adding # beforeso it looks like this:
#alignment top_left


II- Sample conkyrc:

Code: Select all

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

background yes
update_interval 1
total_run_times 0

cpu_avg_samples 1
net_avg_samples 2
temperature_unit celsius

double_buffer yes
no_buffers yes
text_buffer_size 2048

gap_x 1030
gap_y 20
minimum_size 190 350
maximum_width 320
own_window yes
own_window_type dock
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
border_inner_margin 0
border_outer_margin 0
#alignment top_left 

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
color0 Olivedrab3	
color1 Grey		
color2 Olivedrab3	
color3 Olivedrab3
color4 Olivedrab3	
color5 DDDDDD
color6 AAAAAA
color7 888888
color8 666666
color9 FFFFFF

TEXT
${color1}Linux ${color}Mint ${hr 3} 
${color1}$alignc from freedom came elegance
${color9}${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
${color}$sysname $kernel $nodename    $machine
${color9}CPU & Memory $hr:
${color}CPU Usage:${color0}$alignr${cpubar 8,145} ${color1}$cpu%@${freq_g cpu}GHz
${color}Core1: ${color0}${cpubar cpu1 7,76} ${color1}${cpu cpu1}% $alignr${color1}${cpu cpu2}%${color0}${cpubar cpu2 7,76}${color} :Core2
${color}Core3: ${color0}${cpubar cpu3 7,76} ${color1}${cpu cpu3}% $alignr${color1}${cpu cpu4}%${color0}${cpubar cpu4 7,76}${color} :Core4
${color1}${cpugraph 15,320 000000 ff0000}
${color}RAM ${alignr}${color1}$mem / $memmax ($memperc%)
${color0}${membar 8}
${color}SWAP ${alignr}${color1}$swap / $swapmax ($swapperc%)
${color0}${swapbar 8}
${color}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}

${color9}Temperature: ${color3}CPU: ${color1}${hwmon 0 temp 1}°C

${color4}HDD:
${color1}Linux:${color1}(${fs_type})${alignr}${color5}${fs_size /}>${color6}${fs_used /}${color0}${alignr}${fs_bar 8,75} ${color7}(${fs_used_perc /}%)
${color3}HDD Read-> ${alignc}${color2}${diskio_read}/s ${alignr}${color3}${diskio_write}/s ${color7}<-HDD Write
${color1}${diskiograph_read 10,150 000000 ff0000} ${alignr}${color1}${diskiograph_write 10,150 000000 ff0000}$color

${color9}Battery Status $hr
${color1}${alignr} ${battery BAT0} $alignr
${color0}${battery_bar BAT0}

${color9}Networks $hr:
${color4}Net:${color} ${alignr}${color7}IP: ${addr }
${color3}Download: ${color2}${downspeed } k/s ${alignr} $alignr${color3}Upload: ${color3} ${upspeed } k/s
${color}${downspeedgraph 15,140} ${alignr}${color}${upspeedgraph 15,140}
${color7}Total Download: ${color2}${totaldown } ${alignr}${color7}Total Upload: ${color3}${totalup }
${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}
${color3}Download: ${color2}${downspeed wlan0}KB/s ${color3} $alignr${color3}Upload: ${alignr}${color3}${upspeed wlan0}KB/s
${color}${downspeedgraph wlan0 15,140} ${alignr}${color}${upspeedgraph wlan0 15,140}
${color7}Total:${color2}${totaldown wlan0} ${alignr}${color7}Total:${color3}${totalup wlan0}
${color4}ppp0 (${addr ppp0}) ${hr 2}
${color3}Download: ${color2}${downspeed ppp0} k/s ${alignr} $alignr${color3}Upload: ${color3} ${upspeed ppp0} k/s
${color}${downspeedgraph ppp0 15,140 000000 ff0000} ${alignr}${color}${upspeedgraph ppp0 15,140 000000 00ff00}$color
${color7}Total:${color2}${totaldown ppp0} ${alignr}${color7}Total:${color3}${totalup ppp0}
${color}${hr 3}

${image ~/.conky/logo.png -p 0,15 -s 75x75}
${image ~/.conky/mint-tux.png -p 240,15 -s 80x80}
For more details http://forums.linuxmint.com/viewtopic.p ... 93#p653550
Last edited by Brahim Salem on Sun Feb 24, 2013 12:11 pm, edited 1 time in total.
gibbs1984
Level 5
Level 5
Posts: 825
Joined: Mon Oct 27, 2008 2:40 pm
Location: Hemel Hempstead, England

Re: Conky + Cinnamon 1.6.7

Post by gibbs1984 »

EDIT: Scrap that, found out that as soon as I minimise all the open windows Conky disappears from my desktop :(

Actually, I found a small problem.

The edges of my Conky window would be like a wall to other programs and block the window going past (over) it unless you pushed a little harder.

So I changed the window type of the Conky file and now there's no resistance to the window going over Conky.

From:

Code: Select all

own_window_type normal
To:

Code: Select all

own_window_type desktop
My window properties now look like this:

Code: Select all

#############################
# - Window specifications - #
#############################
own_window yes
own_window_class Conky
own_window_type desktop
#own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_argb_visual yes
#own_window_argb_value 100
Linux Mint 20.3 (Cinnamon) 64bit.
Locked

Return to “Cinnamon”