You are not logged in.

#1 2016-04-26 01:29:42

jmak
Member
Registered: 2016-04-26
Posts: 25

Conky shadow persists [SOLVED]

Hello,

I have a nice transparent conky weather and I want the shadow turned off in conky because this way it looks very bad.

Could anyone help me configure compton.conf so that the shadow could be eliminated from conky.

This is my compton.conf

# Shadow
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
#clear-shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-opacity = 0.4;
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
#shadow-exclude = [ "n:e:xfce4-notifyd", "i:e:Conky" ];
shadow-exclude = [ "i:e:Conky" ];
#shadow-ignore-shaped = false;

# Opacity
menu-opacity = 1.0;
#inactive-opacity = 0.8;
#frame-opacity = 0.7;
inactive-opacity-override = false;
alpha-step = 0.06;

# Fading
fading = false;
# fade-delta = 30;
fade-in-step = 0.03;
fade-out-step = 0.03;
# no-fading-openclose = true;

# Other
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
#refresh-rate = 0;
#vsync = "none";
dbe = false;
paint-on-overlay = false;
sw-opti = false;

# Window type settings
#wintypes:
#{
#  tooltip = { fade = true; shadow = false; opacity = 0.85; };
#};

This is the screenshot what I mean:

https://goo.gl/photos/rwFG3W4ak5PxWU7T9

Last edited by jmak (2016-04-27 01:55:03)

Offline

#2 2016-04-26 02:19:20

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Conky shadow persists [SOLVED]

The `shadow-exclude` requires the window name, so get the window id for the conky by running `xwininfo`. Then use that in your compton.conf with

shadow-exclude = "i:e:window-name";

(Brackets are only needed if there is more than one option)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-04-26 03:51:35

jmak
Member
Registered: 2016-04-26
Posts: 25

Re: Conky shadow persists [SOLVED]

damo wrote:

The `shadow-exclude` requires the window name, so get the window id for the conky by running `xwininfo`. Then use that in your compton.conf with

shadow-exclude = "i:e:window-name";

(Brackets are only needed if there is more than one option)

Thanks a lot. This solved the problem!

Offline

#4 2016-04-26 04:19:05

jmak
Member
Registered: 2016-04-26
Posts: 25

Re: Conky shadow persists [SOLVED]

My joy was too early; I just noticed that this eliminated all shadows not only the conky shadows.

Offline

#5 2016-04-26 05:24:22

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Conky shadow persists [SOLVED]

jmak wrote:

My joy was too early; I just noticed that this eliminated all shadows not only the conky shadows.

What was the code you used? I hope you didn't use the literal "window-name" wink

Post the output of

xwininfo

after clicking on the conky

EDIT: Another reading of `man compton` comes up with

shadow-exclude = "n:e:name-of-the-conky-window";

Using `i:e:Conky` should remove shadows from all window class Conkys, while `n:e:name-of-the-conky-window` should work for a specific conky.

Last edited by damo (2016-04-26 05:35:56)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#6 2016-04-26 12:11:59

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,611

Re: Conky shadow persists [SOLVED]

Set the conky window and class name in the .conkyrc, then exclude that in your compton.conf.

Edit these lines in your .conkyrc to suit your needs:

own_window_class = 'Some_Class',
own_window_title = 'Some_Title',

You can use "conky" for the class and title in all your conkyrc files then exclude conky so none of them will have a shadow.


You must unlearn what you have learned.
    -- yoda

Offline

#7 2016-04-26 12:24:42

jmak
Member
Registered: 2016-04-26
Posts: 25

Re: Conky shadow persists [SOLVED]

When entered xwininfo I get this.

mak@debian:~$ xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

Then, I clicked on the conky window on the desktop and I got this ID: 0x2600002

I entered this ID as you said in compton.conf, this eliminated the shadow - and all shadows inluding the menu shadows.

This is the  whole output:

mak@debian:~$ xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x2600002 (has no name)

  Absolute upper-left X:  1241
  Absolute upper-left Y:  84
  Relative upper-left X:  1241
  Relative upper-left Y:  84
  Width: 355
  Height: 523
  Depth: 32
  Visual: 0x23
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x2600001 (not installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: yes
  Corners:  +1241+84  -84+84  -84-443  +1241-443
  -geometry 355x523-84+84

mak@debian:~$ 

Offline

#8 2016-04-26 13:41:03

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Conky shadow persists [SOLVED]

"(has no name)" - I haven't seen that before. Add the settings as @PackRat suggests and try again.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#9 2016-04-26 14:42:14

jmak
Member
Registered: 2016-04-26
Posts: 25

Re: Conky shadow persists [SOLVED]

PackRat wrote:

Set the conky window and class name in the .conkyrc, then exclude that in your compton.conf.

Edit these lines in your .conkyrc to suit your needs:

own_window_class = 'Some_Class',
own_window_title = 'Some_Title',

You can use "conky" for the class and title in all your conkyrc files then exclude conky so none of them will have a shadow.

I added those lines to my conkyrc file.
It look like this:

# Window specifications #
own_window yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_title 
own_window_argb_visual true
own_window_argb_value 0
own_window_transparent yes
own_window_class = 'conky',
own_window_title = 'conky',

I took out the

shadow-exclude = "i:e:0x2600002";

line from the compton.conf file and the shadows are back, including conky shadows.

Offline

#10 2016-04-26 14:50:44

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Conky shadow persists [SOLVED]

...so what does xwininfo say now?


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#11 2016-04-26 15:01:46

jmak
Member
Registered: 2016-04-26
Posts: 25

Re: Conky shadow persists [SOLVED]

damo wrote:

...so what does xwininfo say now?

The exact same thing:

mak@debian:~$ xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x2400002 (has no name)

  Absolute upper-left X:  1241
  Absolute upper-left Y:  84
  Relative upper-left X:  1241
  Relative upper-left Y:  84
  Width: 355
  Height: 523
  Depth: 32
  Visual: 0x23
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x2400001 (not installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: yes
  Corners:  +1241+84  -84+84  -84-443  +1241-443
  -geometry 355x523-84+84

mak@debian:~$ 

Offline

#12 2016-04-26 15:05:10

jmak
Member
Registered: 2016-04-26
Posts: 25

Re: Conky shadow persists [SOLVED]

Is it possible that because the conky window is transparent the mouse click doesn't detect it?

Offline

#13 2016-04-26 15:41:44

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Conky shadow persists [SOLVED]

I think the code may be incorrect - try using

own_window_class Conky
own_window_title conky

And you are using `own_window_type override`...

Override windows are not under the control of the window manager. Hints are ignored.

Try

own_window_type normal

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#14 2016-04-26 16:23:55

jmak
Member
Registered: 2016-04-26
Posts: 25

Re: Conky shadow persists [SOLVED]

damo wrote:

I think the code may be incorrect - try using

own_window_class Conky
own_window_title conky

And you are using `own_window_type override`...

Override windows are not under the control of the window manager. Hints are ignored.

Try

own_window_type normal

I modified the .conkyrc file as you said, now, it recognizes conky window:

mak@debian:~$ xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x1400002 "= conky"

  Absolute upper-left X:  1241
  Absolute upper-left Y:  84
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 355
  Height: 523
  Depth: 32
  Visual: 0x23
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x1400001 (not installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +1241+84  -84+84  -84-443  +1241-443
  -geometry 355x523-84+84

mak@debian:~$ 

But when I enter the new ID

shadow-exclude = "i:e:0x1400002";

in the compton.conf file, it still eliminates all shadows.

Offline

#15 2016-04-26 16:41:17

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Conky shadow persists [SOLVED]

Don't use "=" or quotes

own_window_class Conky
own_window_title conky

For example, I have a conkyrc with

own_window_title conky

This appears as

[damo@debian ~]$ xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x3200002 "conky"

Don't use the window id hexcode, but the window title, in compton.conf.

EDIT: @Sector11 has kindly added lots of useful comments in the BL conkyrc's, so perhaps use one of them as a template and change the 'TEXT' section to suit.

Last edited by damo (2016-04-26 16:44:40)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#16 2016-04-26 17:26:49

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,611

Re: Conky shadow persists [SOLVED]

damo wrote:

And you are using `own_window_type override`...

Override windows are not under the control of the window manager. Hints are ignored.

Try

own_window_type normal

or

own_window_type desktop

usually works.


You must unlearn what you have learned.
    -- yoda

Offline

#17 2016-04-26 20:47:07

jmak
Member
Registered: 2016-04-26
Posts: 25

Re: Conky shadow persists [SOLVED]

Ok!
I gave up on this.
I've found a similar weather script on the forum and I implemented that one.
That works perfectly.

Offline

#18 2016-04-26 22:37:01

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Conky shadow persists [SOLVED]

From jmak's compton.conf

#shadow-exclude = [ "n:e:xfce4-notifyd", "i:e:Conky" ];
shadow-exclude = [ "i:e:Conky" ];
#shadow-ignore-shaped = false;
jmak wrote:
damo wrote:

The `shadow-exclude` requires the window name, so get the window id for the conky by running `xwininfo`. Then use that in your compton.conf with

shadow-exclude = "i:e:window-name";

(Brackets are only needed if there is more than one option)

Thanks a lot. This solved the problem!

jmak wrote:

My joy was too early; I just noticed that this eliminated all shadows not only the conky shadows.

There is a very simple fix for this.
compton.conf

shadow-exclude = [ "i:e:Conky" ];

And in the conky - any or all conkys:

own_window_class Conky

My compton.conf reads:

## Remove Shadow from CONKY WINDOW ##
## compliments mrpeachy and falldown
# use wininfo to determine window name -OR- in the conky:
#		own_window_class conky_logo
# Then just simply use:
#		shadow-exclude = "i:e:conky_logo";
# Use brackets and comma for more then one window
#		shadow-exclude = ["i:e:conky_logo","i:e:conkyw","i:e:S11","i:e:test"];
#		shadow-exclude = "i:e:Conky";
############## try this #################
shadow-exclude = ["i:e:Conky","i:e:interactiveconky","i:e:click_log","i:e:xfce4-notifyd"];

ALSO: Do not use: override - unless you are fully aware of what that entails.
ie:
override would make the 'hints' useless.
desktop - will disallow moving or resizing the conky and will not allow one conky to sit over another conky

A calendar conky over the button conky:
http://s20.postimg.org/accua4v65/2016_04_26_19_45_46_Scrot11.jpg

I recommend:

own_window_type normal

@jmak
Please post the complete conky if you are still having problems.  At times there are multiple things one must do to fix a problem.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#19 2016-04-27 01:34:49

jmak
Member
Registered: 2016-04-26
Posts: 25

Re: Conky shadow persists [SOLVED]

Now, it seems this one works.

And the shadows behind the other windows also reappeared.

Perhaps because the "own_window_type" changed to "normal".

I don't even know what it was before.

Here is a screenshot.

http://i599.photobucket.com/albums/tt79 … creen.jpeg

Here is the .conkyrc:

# Conky Google Now style #

# Conky settings #
background no
update_interval 1
double_buffer yes
no_buffers yes

# Window specifications #
own_window yes
#own_window_type override
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_title 
own_window_argb_visual true
own_window_argb_value 0
own_window_transparent yes
own_window_class Conky
own_window_title conky

minimum_size 300

# Alignment #
alignment tr
gap_x 100
gap_y 100

border_inner_margin 15
border_outer_margin 0

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

# Text settings #
use_xft yes
xftalpha 0
xftfont Open Sans Light:size=10

override_utf8_locale yes

imlib_cache_size 0
F9F9F9
# Color scheme #
default_color FFFFFF

color1 FF6FC4
color2 FF6FC4
color3 FF6FC4
color4 FF6FC4
color5 FF6FC4
color6 FF6FC4
color7 FF6FC4

TEXT
${execi 300 curl -s "https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20%3D%203534%20and%20u=%27c%27&format=xml&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys" -o ~/.cache/weather.xml}${font Open Sans Light:size=15}${execi 300 grep "yweather:location" ~/.cache/weather.xml | grep -o "city=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}, ${execi 300 grep "yweather:location" ~/.cache/weather.xml | grep -o "region=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}, ${execi 300 grep "yweather:location" ~/.cache/weather.xml | grep -o "country=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}${font}
${font Open Sans Light:size=70}${alignr}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "temp=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}°${font}${voffset -35}
${execi 300 cp -f -T ~/.conky-google-now/$(grep -o -P "<yweather:condition .*?>" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*").png ~/.cache/weather.png}${image ~/.cache/weather.png -p 5,40 -s 74x74}
${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o -m 1 "text=\"[^\"]*\"" | grep -o -m 1 "\"[^\"]*\"" | grep -o -m 1 "[^\"]*" | tr '[a-z]' '[A-Z]' | tr '[:upper:]' '[:lower:]' | sed -e "s/\b\(.\)/\u\1/g"}
${image ~/.conky-google-now/wind.png -p 0,135 -s 15x15}${goto 35}${execi 300 grep -o -P "<yweather:wind .*?>" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} ${execi 300 grep -o -P "<yweather:units .*?>" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}
${image ~/.conky-google-now/humidity.png -p 0,155 -s 15x15}${goto 35}${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "humidity=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}%
${image ~/.conky-google-now/wind.png -p 18,135 -s 1x1	}${goto 35}
${goto 18}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1' | tr '[a-z]' '[A-Z]'}${goto 88}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2' | tr '[a-z]' '[A-Z]'}${goto 158}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3' | tr '[a-z]' '[A-Z]'}${goto 228}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4' | tr '[a-z]' '[A-Z]'}${goto 298}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "day=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5' | tr '[a-z]' '[A-Z]'}
${execi 300 cp -f -T ~/.conky-google-now/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2').png ~/.cache/weather-1.png}${image ~/.cache/weather-1.png -p 0,215 -s 30x30}${execi 300 cp -f -T ~/.conky-google-now/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3').png ~/.cache/weather-2.png}
${image ~/.cache/weather-2.png -p 70,215 -s 30x30}${execi 300 cp -f -T ~/.conky-google-now/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4').png ~/.cache/weather-3.png}${image ~/.cache/weather-3.png -p 140,215 -s 30x30}${execi 300 cp -f -T ~/.conky-google-now/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5').png ~/.cache/weather-4.png}${image ~/.cache/weather-4.png -p 210,215 -s 30x30}${execi 300 cp -f -T ~/.conky-google-now/$(grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==6').png ~/.cache/weather-5.png}${image ~/.cache/weather-5.png -p 280,215 -s 30x30}${voffset 20}${goto 20}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1'}°${goto 90}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°${goto 160}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°${goto 230}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4'}°${goto 300}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "high=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5'}°
${goto 20}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==1'}°${goto 90}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==2'}°${goto 160}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==3'}°${goto 230}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==4'}°${goto 300}${execi 300 grep "yweather:forecast" ~/.cache/weather.xml | grep -o "low=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | awk 'NR==5'}°

${color7}${hr}${color}
${if_existing /proc/net/route wlan0}
${color1}Up:${color} ${color3}${upspeed wlan0}${color}${alignr}${color1}Down:${color} ${color3}${downspeed wlan0}${color}
${upspeedgraph wlan0 75,135 FF8800 FF8800}${alignr}${downspeedgraph wlan0 75,135 FF8800 FF8800}
${color1}Sent:${color} ${color2}${totalup wlan0}${color}${alignr}${color1}Received:${color} ${color2}${totaldown wlan0}${color}
${else}${if_existing /proc/net/route wlan1}
${color1}Up:${color} ${color3}${upspeed wlan1}${color}${alignr}${color1}Down:${color} ${color3}${downspeed wlan1}${color}
${upspeedgraph wlan1 75,135 FF6FC4 FF6FC4}${alignr}${downspeedgraph wlan1 75,135 FF6FC4 FF6FC4}
${color1}Sent:${color} ${color2}${totalup wlan1}${color}${alignr}${color1}Received:${color} ${color2}${totaldown wlan1}${color}
${else}${if_existing /proc/net/route eth0}
${color1}Up:${color} ${color3}${upspeed eth0}${color}${alignr}${color1}Down:${color} ${color3}${downspeed eth0}${color}
${upspeedgraph eth0 75,135 FF6FC4 FF6FC4}${alignr}${downspeedgraph eth0 75,135 FF6FC4 FF6FC4}
${color1}Sent:${color} ${color2}${totalup eth0}${color}${alignr}${color1}Received:${color} ${color2}${totaldown eth0}${color}
${else}${if_existing /proc/net/route eth1}
${color1}Up:${color} ${color3}${upspeed eth1}${color}${alignr}${color1}Down:${color} ${color3}${downspeed eth1}${color}
${upspeedgraph eth1 75,135 FF6FC4 FF6FC4}${alignr}${downspeedgraph eth1 75,135 FF6FC4 FF6FC4}
${color1}Sent:${color} ${color2}${totalup eth1}${color}${alignr}${color1}Received:${color} ${color2}${totaldown eth1}${color}
${else}${if_existing /proc/net/route ppp0}
${color1}Up:${color} ${color3}${upspeed ppp0}${color}${alignr}${color1}Down:${color} ${color3}${downspeed ppp0}${color}
${upspeedgraph ppp0 75,135 FF6FC4 FF6FC4}${alignr}${downspeedgraph ppp0 75,135 FF6FC4 FF6FC4}
${color1}Sent:${color} ${color2}${totalup ppp0}${color}${alignr}${color1}Received:${color} ${color2}${totaldown ppp0}${color}
${else}${if_existing /proc/net/route ppp1}
${color1}Up:${color} ${color3}${upspeed ppp1}${color}${alignr}${color1}Down:${color} ${color3}${downspeed ppp1}${color}
${upspeedgraph ppp1 75,135 FF6FC4 FF6FC4}${alignr}${downspeedgraph ppp1 75,135 FF6FC4 FF6FC4}
${color1}Sent:${color} ${color2}${totalup ppp1}${color}${alignr}${color1}Received:${color} ${color2}${totaldown ppp1}${color}
${else}${if_existing /proc/net/route usb0}
${color1}Up:${color} ${color3}${upspeed usb0}${color}${alignr}${color1}Down:${color} ${color3}${downspeed usb0}${color}
${upspeedgraph usb0 75,135 FF6FC4 FF6FC4}${alignr}${downspeedgraph usb0 75,135 FF6FC4 FF6FC4}
${color1}Sent:${color} ${color2}${totalup usb0}${color}${alignr}${color1}Received:${color} ${color2}${totaldown usb0}${color}
${else}${if_existing /proc/net/route usb1}
${color1}Up:${color} ${color3}${upspeed usb1}${color}${alignr}${color1}Down:${color} ${color3}${downspeed usb1}${color}
${upspeedgraph usb1 75,135 FF6FC4 FF6FC4}${alignr}${downspeedgraph usb1 75,135 FF6FC4 FF6FC4}
${color1}Sent:${color} ${color2}${totalup usb1}${color}${alignr}${color1}Received:${color} ${color2}${totaldown usb1}${color}
${else}
Network disconnected
${color6}Connect to a network to see statistics${color}
${voffset 75}
${endif}${endif}${endif}${endif}${endif}${endif}${voffset -30}

Offline

#20 2016-04-27 02:34:25

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: Conky shadow persists [SOLVED]

If you try this - copy and paste it over the equivalent lines in your conky - the images should be clearer and no "shadows"

# Window specifications #
own_window yes
own_window_type normal ## override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
### own_window_title  ## <<<--- DELETE THIS LINE
##own_window_argb_visual true ### Images in conky - best not to use ARGB
##own_window_argb_value 0     ### Images in conky - best not to use ARGB
own_window_transparent yes
own_window_class Conky  ## with BunsenLabs this is set properly in Compton
own_window_title conky  ## can be anything: Weather conky

Works well here - with no images - I'm missing something in ~/.conky-google-now/ which is OK, the rest of the conky works.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB