Conky doesn't work properly - Linux Mint Cinnamon

Forum rules
Before you post please read how to get help

Conky doesn't work properly - Linux Mint Cinnamon

Postby YongQing on Fri Jun 08, 2012 11:08 pm

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?
YongQing
Level 1
Level 1
 
Posts: 14
Joined: Sun Jun 03, 2012 12:54 am

Linux Mint is funded by ads and donations.
 

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

Postby hyuga on Sat Jun 09, 2012 12:05 am

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
hyuga
Level 1
Level 1
 
Posts: 5
Joined: Tue Jun 05, 2012 4:18 pm
Location: Argentina

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

Postby YongQing on Sat Jun 09, 2012 12:27 am

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
YongQing
Level 1
Level 1
 
Posts: 14
Joined: Sun Jun 03, 2012 12:54 am

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

Postby hyuga on Sat Jun 09, 2012 1:11 am

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.
hyuga
Level 1
Level 1
 
Posts: 5
Joined: Tue Jun 05, 2012 4:18 pm
Location: Argentina

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

Postby wyrdoak on Sun Jun 10, 2012 12:12 am

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
-Dell Mini Netbook-Atom CPU-N270-1.60ghz; 16gbs mini ePCI PATA SSD
RAM- 1gbs-(Maya-Xfce) LInux 3.2.0.57-generic(i686)
SolydX (32bit)
User avatar
wyrdoak
Level 6
Level 6
 
Posts: 1313
Joined: Thu May 19, 2011 1:32 pm
Location: USA

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

Postby YongQing on Mon Jun 18, 2012 10:12 pm

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?
YongQing
Level 1
Level 1
 
Posts: 14
Joined: Sun Jun 03, 2012 12:54 am

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

Postby compazter on Wed Jun 20, 2012 8:52 pm

Same problem here with maya cinnamon 64bit. But when i delete .conkyrc it works normal. I love conky, so please anybody help me
compazter
Level 1
Level 1
 
Posts: 7
Joined: Mon Jun 11, 2012 7:24 pm

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

Postby YongQing on Thu Jun 21, 2012 12:13 pm

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.
YongQing
Level 1
Level 1
 
Posts: 14
Joined: Sun Jun 03, 2012 12:54 am

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

Postby homerscousin on Fri Jun 22, 2012 8:49 pm

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.
i5 3570k, ASRock z77 Extreme 4, 8 Gb Ripjaws 1600, Antec 430w psu, HVR 1600 tv tuner, custom case- marble top, oak face. Carver & DCM Time Window sound system. Mint 14 KDE.
homerscousin
Level 5
Level 5
 
Posts: 541
Joined: Fri May 25, 2012 2:43 pm
Location: Somewhere on planet Earth (mostly)

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

Postby homerscousin on Fri Jun 22, 2012 9:17 pm

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.
i5 3570k, ASRock z77 Extreme 4, 8 Gb Ripjaws 1600, Antec 430w psu, HVR 1600 tv tuner, custom case- marble top, oak face. Carver & DCM Time Window sound system. Mint 14 KDE.
homerscousin
Level 5
Level 5
 
Posts: 541
Joined: Fri May 25, 2012 2:43 pm
Location: Somewhere on planet Earth (mostly)

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

Postby Garvan on Fri Jun 22, 2012 10:02 pm

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.php?p=591674#p591674 above and make sure that this script is not working. If it works, then there must be something different in your script.

Garvan
Desktop: Dell, Intel Core 2 Duo E7500 @ 2.93GHz, 2GiB RAM, Lubuntu 14.04 (trusty)
Notebook: HP 14 Notebook PC 14-r003TX, i5-4210U @ 1.7 GHz, 4GB RAM, Linux Mint 17
Notebook: DELL latitude E5520, i5-2520M @ 2.50 GHz, 4GB RAM, Windows 7
User avatar
Garvan
Level 4
Level 4
 
Posts: 277
Joined: Sun May 29, 2011 3:26 am
Location: Lao PDR

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

Postby homerscousin on Sat Jun 23, 2012 3:02 pm

I fixed it. See viewtopic.php?f=212&t=96932.

Conky is even running on top of Firefox full screen.
i5 3570k, ASRock z77 Extreme 4, 8 Gb Ripjaws 1600, Antec 430w psu, HVR 1600 tv tuner, custom case- marble top, oak face. Carver & DCM Time Window sound system. Mint 14 KDE.
homerscousin
Level 5
Level 5
 
Posts: 541
Joined: Fri May 25, 2012 2:43 pm
Location: Somewhere on planet Earth (mostly)

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

Postby YongQing on Sat Jun 23, 2012 3:43 pm

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.
YongQing
Level 1
Level 1
 
Posts: 14
Joined: Sun Jun 03, 2012 12:54 am

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

Postby homerscousin on Sat Jun 23, 2012 5:15 pm

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.
i5 3570k, ASRock z77 Extreme 4, 8 Gb Ripjaws 1600, Antec 430w psu, HVR 1600 tv tuner, custom case- marble top, oak face. Carver & DCM Time Window sound system. Mint 14 KDE.
homerscousin
Level 5
Level 5
 
Posts: 541
Joined: Fri May 25, 2012 2:43 pm
Location: Somewhere on planet Earth (mostly)

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

Postby zerozero on Sat Jun 23, 2012 9:21 pm

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
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

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

Postby Garvan on Sat Jun 23, 2012 10:02 pm

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
Desktop: Dell, Intel Core 2 Duo E7500 @ 2.93GHz, 2GiB RAM, Lubuntu 14.04 (trusty)
Notebook: HP 14 Notebook PC 14-r003TX, i5-4210U @ 1.7 GHz, 4GB RAM, Linux Mint 17
Notebook: DELL latitude E5520, i5-2520M @ 2.50 GHz, 4GB RAM, Windows 7
User avatar
Garvan
Level 4
Level 4
 
Posts: 277
Joined: Sun May 29, 2011 3:26 am
Location: Lao PDR

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

Postby zerozero on Sat Jun 23, 2012 10:10 pm

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:
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6492
Joined: Tue Jul 07, 2009 2:29 pm

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

Postby YongQing on Thu Jun 28, 2012 8:37 pm

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 =(
YongQing
Level 1
Level 1
 
Posts: 14
Joined: Sun Jun 03, 2012 12:54 am

Linux Mint is funded by ads and donations.
 

Return to Compiz, Conky, Docks, & Widgets

Who is online

Users browsing this forum: No registered users and 1 guest