You are not logged in.

#1 2012-10-16 02:57:01

dsplayer14
Member
From: /home/adam
Registered: 2012-06-15
Posts: 27
Website

Small conky glitch

Here is a picture of it. http://i.imgur.com/Lo76I.png I don't know how to explain my problem. Theres a box around conky, and I cant place anything on that part of the desktop.
Here is my .conkyrc:

#Taken from [url]http://www.overclock.net/t/1070545/conky-goes-away-when-clicking-desktop-how-do-i-prevent-solved-lxde-is-the-issue/10[/url]
#User: StupidMonkey
alignment top_right
background no
border_width 1
cpu_avg_samples 2
default_color #0cbcba
default_outline_color #0cbcba
default_shade_color #0cbcba
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=9
gap_x 5
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
double_buffer yes
# Create own window instead of using desktop (requigreen in nautilus)
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
short_units yes

TEXT
${offset 240}${color slate grey}${time %a, } ${color }${time %e %B %G}
${offset 240}${color slate grey}${time %Z,    }${color }${time %H:%M:%S}
${offset 240}${color slate grey}UpTime: ${color }$uptime
${offset 240}${color slate grey}Kern:${color }$kernel
${offset 240}${color slate grey}CPU:${color } $cpu% ${acpitemp}C
${offset 240}${cpugraph 20,130 000000 ffffff}
${offset 240}${color slate grey}Load: ${color }$loadavg
${offset 240}${color slate grey}Processes: ${color }$processes  
${offset 240}${color slate grey}Running:   ${color }$running_processes

${offset 240}${color slate grey}Highest CPU:
${offset 240}${color #ddaa00} ${top name 1}${top_mem cpu 1}
${offset 240}${color lightgrey} ${top name 2}${top cpu 2}
${offset 240}${color lightgrey} ${top name 3}${top cpu 3}
${offset 240}${color lightgrey} ${top name 4}${top cpu 4}

${offset 240}${color slate grey}Highest MEM:
${offset 240}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${offset 240}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${offset 240}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${offset 240}${color lightgrey} ${top_mem name 4}${top_mem mem 4}

${offset 240}${color slate grey}MEM:  ${color } $memperc% $mem/$memmax
${offset 240}${membar 3,100}
${offset 240}${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
${offset 240}${swapbar 3,100}
${offset 240}${color slate grey}ROOT:    ${color }${fs_free /}/${fs_size /}
${offset 240}${fs_bar 3,100 /}
${offset 240}${color slate grey}HOME:  ${color }${fs_free /home}/${fs_size /home}
${offset 240}${fs_bar 3,100 /home}
${offset 240}${color slate grey}SLACK:  ${color }${fs_free /mnt/slack}/${fs_size /mnt/slack}
${offset 240}${fs_bar 3,100 /mnt/slack}
${offset 240}${color slate grey}NET: 
${offset 240}${color}Up: ${color }${upspeed eth0} k/s
${offset 240}${upspeedgraph eth0 20,130 000000 ffffff}
${offset 240}${color}Down: ${color }${downspeed eth0}k/s${color}
${offset 240}${downspeedgraph eth0 20,130 000000 ffffff}

It is a new config file I was going to modify a little bit, learn how to use conky, cause I don't really know how. But, I wanted to solve this problem first.


Please excuse my stupidity.

Offline

#2 2012-10-16 03:01:00

FlyingHappy
Member
From: Cincinnati, OH
Registered: 2011-04-18
Posts: 192

Re: Small conky glitch

If I had to take a stab at it right now (and I only know enough to be dangerous) I would say change "background no" to "background yes" on the 4th line.  It won't get rid of the box, but it should move it to the background so you can move stuff there.

Last edited by FlyingHappy (2012-10-16 03:01:32)

Offline

#3 2012-10-16 03:04:53

dsplayer14
Member
From: /home/adam
Registered: 2012-06-15
Posts: 27
Website

Re: Small conky glitch

Didn't seem to work, but thanks for giving me an option. I though it had to do with these lines:

own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
short_units yes

Please excuse my stupidity.

Offline

#4 2012-10-16 03:07:28

FlyingHappy
Member
From: Cincinnati, OH
Registered: 2011-04-18
Posts: 192

Re: Small conky glitch

I'm not sure then, I'm at work or I'd try it out a bit to help.  Have you checked the WIKI for any good leads?  Some very good stuff in there.....  https://wiki.archlinux.org/index.php/Conky

Offline

#5 2012-10-16 11:29:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,554
Website

Re: Small conky glitch

It is from the "own_window" lines.  You can try `own_window no`, but apparently this causes issues for some users.  But `own_window yes` and `own_window_type desktop` should work.

You have told it to create it's own normal window, and that's what it has done.  That is the problem.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2012-10-16 12:12:32

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Small conky glitch

$ man conky

own_window_type

if own_window is yes, you may specify type normal, desktop, dock, panel or override (default: normal).  Desktop windows are special windows that have no window decorations; are always visible on your desktop; do not appear in your pager or taskbar; and are sticky across all workspaces. Panel windows reserve space along a desktop edge, just like panels and taskbars, preventing maximized windows from overlapping them. The edge is chosen based on the alignment option. Override windows are not under the control of the window manager. Hints are ignored. This type of window can be useful  for certain situations.

You have way too many options in there. I think "desktop" is set by default in conky.

It's not a glitch. You deliberately have the window type set to "normal" and the composite manager does its job to draw those border shades (composite effects).


Don't forget to mark the topic as solved (by editing the first post) so that other people (including yourself sometimes) may find useful.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#7 2012-10-16 16:21:33

dsplayer14
Member
From: /home/adam
Registered: 2012-06-15
Posts: 27
Website

Re: Small conky glitch

None of those seem to be working, I tried all of the options for window type, and changed own_window to no, which removed that box, but my icons were gone...


Please excuse my stupidity.

Offline

#8 2012-10-16 16:58:41

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Small conky glitch

I'll just echo what dspider said "something in your desktop effects is drawing a shade around the box".  It's got nothing to do with the conky settings.  I had that once in enlightenment and it turned out I had to unload the dropshadows module.  What kind of de, or wm are you running?

Last edited by bgc1954 (2012-10-16 16:59:25)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#9 2012-10-16 17:10:25

dsplayer14
Member
From: /home/adam
Registered: 2012-06-15
Posts: 27
Website

Re: Small conky glitch

Oh, I seem to have missed that part... Im running Compiz and MATE... No Desktop Manager though.


Please excuse my stupidity.

Offline

#10 2012-10-16 17:20:39

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Small conky glitch

I don't use compositing but there must be a setting for compiz that you can disable dropdown shadows.  Some googling might help or someone with compiz experience may be able to help you.

Edit: I believe settings for compiz are set via ccsm.

Last edited by bgc1954 (2012-10-16 17:23:53)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#11 2012-10-16 17:26:17

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Small conky glitch

dsplayer14 wrote:

No Desktop Manager though.

Desktop Manager? You mean Desktop Environment (DE). And MATE is a DE (it's a GNOME 2 fork).

Compiz is the window manager (WM).


Anyway, it can probably be stripped even more, but get rid of these first:

background no
border_width 1
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders 0

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#12 2012-10-16 17:31:58

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Small conky glitch

DSpider wrote:

Anyway, it can probably be stripped even more, but get rid of these first:

background no
border_width 1
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders 0

But if he does that won't he just end up with a black box displaying his conky.  It looks like he wants his background to show through.  If he strips that stuff out--other than the border stuff--he won't see his background wallpaper.

Last edited by bgc1954 (2012-10-16 17:32:44)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#13 2012-10-16 17:48:42

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Small conky glitch

I think the default settings are fine. You don't explicitly need to set anything else unless you want to, or unless you're posting a template for someone else to edit, like in his case (notice how it starts).


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#14 2012-10-16 18:27:53

dsplayer14
Member
From: /home/adam
Registered: 2012-06-15
Posts: 27
Website

Re: Small conky glitch

Heres my new .conkyrc:

#Taken from [url]http://www.overclock.net/t/1070545/conky-goes-away-when-clicking-desktop-how-do-i-prevent-solved-lxde-is-the-issue/10[/url]
#User: StupidMonkey
alignment top_right
cpu_avg_samples 2
default_color #0cbcba
default_outline_color #0cbcba
default_shade_color #0cbcba
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont DejaVu Sans Mono:size=9
gap_x 5
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
double_buffer yes
# Create own window instead of using desktop (requigreen in nautilus)
own_window no
own_window_type panel
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
short_units yes

TEXT
${offset 240}${color slate grey}${time %a, } ${color }${time %e %B %G}
${offset 240}${color slate grey}${time %Z,    }${color }${time %H:%M:%S}
${offset 240}${color slate grey}UpTime: ${color }$uptime
${offset 240}${color slate grey}Kern:${color }$kernel
${offset 240}${color slate grey}CPU:${color } $cpu% ${acpitemp}C
${offset 240}${cpugraph 20,130 000000 ffffff}
${offset 240}${color slate grey}Load: ${color }$loadavg
${offset 240}${color slate grey}Processes: ${color }$processes  
${offset 240}${color slate grey}Running:   ${color }$running_processes

${offset 240}${color slate grey}CPU:
${offset 240}${color #ddaa00} ${top name 1}${top_mem cpu 1}
${offset 240}${color lightgrey} ${top name 2}${top cpu 2}
${offset 240}${color lightgrey} ${top name 3}${top cpu 3}
${offset 240}${color lightgrey} ${top name 4}${top cpu 4}

${offset 240}${color slate grey}RAM:
${offset 240}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
${offset 240}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${offset 240}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${offset 240}${color lightgrey} ${top_mem name 4}${top_mem mem 4}

${offset 240}${color slate grey}RAM:  ${color } $memperc% $mem/$memmax
${offset 240}${membar 3,100}
${offset 240}${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
${offset 240}${swapbar 3,100}
${offset 240}${color slate grey}ROOT:    ${color }${fs_free /}/${fs_size /}
${offset 240}${fs_bar 3,100 /}
${offset 240}${color slate grey}HOME:  ${color }${fs_free /home}/${fs_size /home}
${offset 240}${fs_bar 3,100 /home}
#${offset 240}${color slate grey}NET: 
#${offset 240}${color}Up: ${color }${upspeed eth0} k/s
#${offset 240}${upspeedgraph eth0 20,130 000000 ffffff}
#${offset 240}${color}Down: ${color }${downspeed eth0}k/s${color}
#${offset 240}${downspeedgraph eth0 20,130 000000 ffffff}

Got a new problem. Can't see desktop icons no matter what I do.
EDIT:
This is a conky problem. When I drag a box across the monitor, I can see them, but when conky updates, they disappear again, so I take it conky is covering the whole screen, how do I change my conkyrc to only cover conkys part of the screen?

Last edited by dsplayer14 (2012-10-16 18:28:59)


Please excuse my stupidity.

Offline

#15 2012-10-16 18:37:47

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Small conky glitch

I had a similair problem awhile back and if you try to run conky as a panel you can't set your gap_y 60 as conky will take up the whole top 60 lines of your screen.  Its got something to do with conky and struts settings in panel mode. IMHO, panel mode should really be used only in a one line conky setup.

Edit:  Also panel mode prevents things from covering your conky.
You could also check here http://crunchbanglinux.org/forums/topic … /page/121/
Seems to be problems running conky with MATE sometimes.  It's a giant thread so maybe it could help.

Last edited by bgc1954 (2012-10-16 19:18:22)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#16 2012-10-16 22:30:06

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Small conky glitch

DSpider wrote:
$ man conky

own_window_type

if own_window is yes, you may specify type normal, desktop, dock, panel or override (default: normal).  Desktop windows are special windows that have no window decorations; are always visible on your desktop; do not appear in your pager or taskbar; and are sticky across all workspaces. Panel windows reserve space along a desktop edge, just like panels and taskbars, preventing maximized windows from overlapping them. The edge is chosen based on the alignment option. Override windows are not under the control of the window manager. Hints are ignored. This type of window can be useful  for certain situations.

... and yours is set to "no".


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#17 2012-10-17 02:43:27

0x001A4
Member
From: Ontario, Canada
Registered: 2008-10-29
Posts: 22

Re: Small conky glitch

dsplayer14 wrote:

Got a new problem. Can't see desktop icons no matter what I do.
EDIT:
This is a conky problem. When I drag a box across the monitor, I can see them, but when conky updates, they disappear again, so I take it conky is covering the whole screen, how do I change my conkyrc to only cover conkys part of the screen?

Try setting maximum_width in your conkyrc

Offline

Board footer

Powered by FluxBB