Conky doesn't work properly - Linux Mint Cinnamon

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
YongQing

Conky doesn't work properly - Linux Mint Cinnamon

Post by YongQing »

Hi

I'm running Conky in Linux Mint 13 Cinnamon
This is my conky config: http://pastebin.com/XvLHQ1KR

Currently, I have own_window_type set as desktop
When I click on the desktop, conky disappears and I can't bring it back.

If I change own_window_type to normal, it disappears when I click show desktop
If I change it to override, it doesn't even appear

Help please? How can I get conky to show on all desktops and not disappear when I click the desktop or show desktop?
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.
hyuga

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by hyuga »

These settings should work:

Code: Select all

own_window_class Conky
own_window yes
own_window_type desktop # Try also 'normal'
own_window_argb_visual yes
own_window_argb_value 180
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
YongQing

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by YongQing »

I tried it.

Doesn't work.

With own_window_type desktop, it disappears when I click the desktop.
With own_window_type normal, it disappears when I click show desktop.

Just like before.

Thanks for the help tho
hyuga

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by hyuga »

I have these settings and they are working perfectly:

Code: Select all

own_window_class Conky
own_window yes
own_window_type override
#   own_window_argb_visual yes <--- no ARGB visuals
#   own_window_argb_value 180  <--- no ARGB visuals
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
I also had the same problem with 'desktop', but with the above settings everything is now working as it should be.
wyrdoak

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by wyrdoak »

Here's what I had to do to get Conky to show in Lisa Cinnamon

Code: Select all

# Conky settings #
background no
update_interval 1

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
#imlib_cache_size 0

temperature_unit fahrenheit

# Window specifications #

own_window_argb_visual yes
own_window_argb_value 180
own_window_class Conky
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

border_inner_margin 0
border_outer_margin 0

minimum_size 200 250
maximum_width 200

alignment tr
gap_x 10
gap_y 155

# Graphics settings #
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes

# Text settings #
use_xft yes
override_utf8_locale yes
xftfont Ubuntu:size=8
xftalpha 0.8
uppercase no

temperature_unit fahrenheit

default_color FFFFFF

# Lua Load  #
lua_load ~/.lua/clock_rings.lua
lua_draw_hook_pre clock_rings

TEXT
${font Ubuntu:size=42}${time %e}
${goto 80}${font Ubuntu:size=18}${color 339900}${voffset -85}${time %b}
${font Ubuntu:size=10}${color 339900}${voffset 10}${time %A}${color 339900}${hr}
${goto 50}${font Ubuntu:size=15}${color FFFFFF}${voffset -35}${alignc}${time %Y}
${font Ubuntu:size=30}${voffset 10}${alignc}${time %H}:${time %M}:${time %S}
${voffset -20}${font Ubuntu:size=11}${color 339900}${alignc}Kokomo Municipal Airport ${font}
${font Ubuntu:size=13}${color FFFFFF}${alignc}Temp: ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KOKK temperature temperature 30} °F${font}
${hr}${image ~/.conky/logo.png -p 165,10 -s 35x35}
${color FFFFFF}${font Ubuntu:size=8}Uptime: ${uptime_short}${alignr}CPU:${execpi 8 sensors | grep 'Core0' | cut --characters 16-17}°C 
${color FFFFFF}${font Ubuntu:size=8}Processes: ${processes}
${color FFFFFF}${font Ubuntu:size=8}Running: ${running_processes}

${color 339900}${goto 64}${voffset 56}CPU
${color FFFFFF}${goto 64}${cpu cpu0}%
${color 339900}${goto 64}${voffset 54}RAM
${color FFFFFF}${goto 64}${memperc}%
${color 339900}${goto 64}${voffset 54}Swap
${color FFFFFF}${goto 64}${swapperc}%
${color 339900}${goto 64}${voffset 54}Disk
${color FFFFFF}${goto 64}${fs_used_perc /}%
${color 339900}${goto 64}${voffset 54}Net
${color FFFFFF}${goto 64}${downspeed eth0}
${color FFFFFF}${goto 64}${upspeed eth0}


${color 339900}${font Ubuntu:size=8}${alignr}${pre_exec cat /etc/issue.net}  $machine
${color 339900}${font Ubuntu:size=8}${alignr}Kernel: ${kernel}
${hr}
Image
YongQing

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by YongQing »

Hi.

Sorry for the late reply.

@hyuga
Using your settings causes conky to not load at all

@wyrdoak
I used your conkyrc settings. Clicking Show Desktop on Docky or using keyboard shortcut to show desktop hides conky. Clicking Show Desktop on my Cinnamon panel does not hide conky.

How do I get Docky & Keyboard Shortcuts to show desktop in the same manner as Cinnamon?
compazter

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by compazter »

Same problem here with maya cinnamon 64bit. But when i delete .conkyrc it works normal. I love conky, so please anybody help me
YongQing

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by YongQing »

compazter wrote:Same problem here with maya cinnamon 64bit. But when i delete .conkyrc it works normal. I love conky, so please anybody help me
I tried deleting .conkyrc but it's not "normal"
Clicking the desktop makes conky go away.
homerscousin

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by homerscousin »

I just tried as hyuga suggested. Nope. Conky disappears when I click anywhere on the desktop or try to open any icon on the desktop. The only time conky will not disappear is if I have no open windows and click only empty space on the desktop. I just noticed I also have a file named conky_no_x11.conf. Pretty basic file. I wonder if that needs to be looked at, maybe a conflict? I'm editing my original conky.conf file. I have no .conkyrc.

I'm going to start playing with that other file to see if anything changes.
homerscousin

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by homerscousin »

No, not really anything in there to change. Not sure what changes I have made in the last couple days, but conky now disappears with No open windows and just a bare desktop to click on. I went back one step.
User avatar
Garvan
Level 4
Level 4
Posts: 300
Joined: Sun May 29, 2011 3:26 am
Location: Thailand
Contact:

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by Garvan »

homerscousin wrote:No, not really anything in there to change. Not sure what changes I have made in the last couple days, but conky now disappears with No open windows and just a bare desktop to click on. I went back one step.
I suggest you create a .conkyrc file with wyrdoak's settings http://forums.linuxmint.com/viewtopic.p ... 74#p591674 above and make sure that this script is not working. If it works, then there must be something different in your script.

Garvan
Notebook: DELL Latitude E5520, i5-2520M @ 2.50 GHz, 4GB RAM, Linux Mint 17.2 (2011)
Notebook: DELL Latitude 5280, i5-73000 @ 2.7 GHz., 16 GB RAM, Linux Mint 19.2 (2019)
homerscousin

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by homerscousin »

I fixed it. See http://forums.linuxmint.com/viewtopic.php?f=212&t=96932.

Conky is even running on top of Firefox full screen.
YongQing

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by YongQing »

Hi. Thanks for the replies.

I tried wyrdoak's settings and homerscousin's settings. With both settings, conky disappears when I press Super+D to show desktop.

This problem does not arise if I use the "Show Desktop" button on my Cinnamon panel. I think it's because the Super+D show desktop shortcut does something quite different from Cinnamon panel's show desktop.
homerscousin

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by homerscousin »

Hi YongQing. I don't know. I solved my problem by trying every possible combo I could see, and some noone had suggested. Here are 2 suggestions: try toggling the own_window_hints below to above if you haven't already. And why do you have own_window_argb_value set to 180? 0 is fully transparent 255 is opague. So you should have some transparency.
zerozero

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by zerozero »

can you please make this test:
try this code in cinnamon

Code: Select all

#==============================================================================
#                                 conkyrc_grey
#
#  author  : SLK
#  version : v2011011601
#  license : Distributed under the terms of GNU GPL version 2 or later
#  edited as a test for the mint forums
#==============================================================================

background yes
update_interval 1

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 30
minimum_size 190 450
maximum_width 190
own_window yes
own_window_type normal
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 666666



TEXT


${font ubuntu:size=22}i'm a conky
i believe that part of the problems with conky is that cinnamon (and also gnome-shell) have a different way of handling the desktop (the file manager doesn't handle anymore by default the desktop as in for example displaying icons, right-click > this is now an option that can be turned on/off and is relevant for the way conky behaves)

i only tried this on the shell but

Code: Select all

own_window_type normal
gives the expected results (conky appears, stays on the desktop when we click icons, move icons, hit hot-corner)

Image
User avatar
Garvan
Level 4
Level 4
Posts: 300
Joined: Sun May 29, 2011 3:26 am
Location: Thailand
Contact:

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by Garvan »

zerozero wrote:can you please make this test:
<snip>

Code: Select all

own_window_type normal
gives the expected results (conky appears, stays on the desktop when we click icons, move icons, hit hot-corner)
zerozero,

From another thread I realized that many people are using the short-cut keys to minimize all windows. You settings (I just tried them) work with all mouse controls, but when you hit the key combination to minimize all normal windows (set to Ctrl+Win+D on my system - others are using Win+D) the Conky window is minimized and can not be maximized again.

Garvan
Notebook: DELL Latitude E5520, i5-2520M @ 2.50 GHz, 4GB RAM, Linux Mint 17.2 (2011)
Notebook: DELL Latitude 5280, i5-73000 @ 2.7 GHz., 16 GB RAM, Linux Mint 19.2 (2019)
zerozero

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by zerozero »

Garvan,
tks a lot for the input and the correction.
as i said in my post above i only tried that in the shell (and here it works as expected even with nautilus handling the desktop).
it's not solved then because cinnamon has that behavior :roll:
YongQing

Re: Conky doesn't work properly - Linux Mint Cinnamon

Post by YongQing »

Hi zerozero

I've tried every combination and don't have time to try yours. But I'd like to add that, as Garvan put it, keyboard show desktop shortcuts behave differently and is causing the issue. It's not the issue with the conkyrc settings.

So unless a dev figures out a work around, I think this can't be so easily solved =(
Locked

Return to “Compiz, Conky, Docks & Widgets”