You are not logged in.

#1 2017-07-28 22:12:52

fl4m3ph03n1x
Member
Registered: 2017-07-27
Posts: 26

[SOLVED] Conky lags behind when I change wallpaper

I am a new user, and I am making a script to change the background image:

feh --randomize --bg-fill /home/YOUR_USERNAME/Pictures/wallpapers/*

It works like a charm, except it has a problem ... conky lags behind.

This is a screenshot before I change the wallpaper:

Before changing Wallpaper

This is a screenshot AFTER I change the wallpaper:

After changing Wallpaper

If the links don't work, here are alternatives:
Before changing wallpaper: https://drive.google.com/open?id=0B-UP5 … HBKZV90VU0
After changing wallpaper: https://drive.google.com/open?id=0B-UP5 … TlSLWpYaFU

I can't stop but to think that all the extra stuff added to bunsenLabs, specially the conky manager and themes and whatnot, only made the distro more bloated and slower, and that is the reason why conky lags behind.

But I might be wrong. However, since it ALSO happens when I use nitrogen, I am pretty much sure I narrowed down the problem to conky.

Since this doesn't happen in my Ubuntu machine which also has conky, I believe I am on the right track.

How can I fix this?

Last edited by fl4m3ph03n1x (2017-07-29 09:14:03)

Offline

#2 2017-07-29 00:56:04

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

Re: [SOLVED] Conky lags behind when I change wallpaper

It is the compositor, so restart that after feh. Use this in your script:

feh --randomize --bg-fill /home/YOUR_USERNAME/Pictures/wallpapers/* && bl-compositor --restart

(You may need to put in a sleep command between them)


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 2017-07-29 01:55:26

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

Re: [SOLVED] Conky lags behind when I change wallpaper

Has nothing to do with compton.  Turn compton off and you'll see the same reaction.

It is because of the ~/.config/conky/LUA/draw-bg.lua that conky is using to draw the 'shade' with the rounded corners.

If you don't mind square corners do this:

1. kill the conky
2. change:

own_window_transparent yes

to

own_window_transparent no

- - you will be using real transparency not pseudo transparency
3. uncomment these two lines:

own_window_argb_visual yes
own_window_argb_value 50

own_window_argb_value 0 is 100% transparent and 255 is 100% opaque.
The colour of the shading is determined by:

own_window_colour 000000

So:

own_window_colour ff0000

red at 50=2017-07-28_225159_Scrot11.th.jpg
Now the change will be as fast as your "update_interval" in conky.  That one defaults to 1 second.

black at 80 looks good:  2017-07-28_225909_Scrot11.th.jpg

Last edited by Sector11 (2017-07-29 02:02:27)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#4 2017-07-29 02:55:17

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

Re: [SOLVED] Conky lags behind when I change wallpaper

Has nothing to do with compton

Well there ya go - shows how much time I spend on the eccentricities of conky and Lua!


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

#5 2017-07-29 03:14:35

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

Re: [SOLVED] Conky lags behind when I change wallpaper

That's OK, you can out GIMP/blender/inkscape me.

It's a balancing act.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#6 2017-07-29 09:13:24

fl4m3ph03n1x
Member
Registered: 2017-07-27
Posts: 26

Re: [SOLVED] Conky lags behind when I change wallpaper

Ok guys, the solution from Tpyo Knig fixed the issue.
I still have a few questions, like what would I like to do (how can I install my customized conky? I have the idea that I would have to remove everything from this distro and start with a clean conky), but for now it is solved.

Thanks !

Offline

#7 2017-07-29 12:40:26

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

Re: [SOLVED] Conky lags behind when I change wallpaper

fl4m3ph03n1x wrote:

...
I still have a few questions, like what would I like to do (how can I install my customized conky? I have the idea that I would have to remove everything from this distro and start with a clean conky), but for now it is solved.

Thanks !

Introduction to the BunsenLabs Desktop

Menu -> Preferences -> Conky -> Conky Chooser

Menu -> Help & Resources -> Bunsen Help Files -> Conkyzen Help

(Sorry about the bloat! tongue )


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

#8 2017-07-29 13:30:42

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

Re: [SOLVED] Conky lags behind when I change wallpaper

Hey damo, another "member" called me by my title not my name

@ fl4m3ph03n1x - notice how your name is above "memeber" well, ours is above that 'title' too.

Last edited by Sector11 (2017-07-29 16:30:30)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#9 2017-07-29 15:14:20

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

Re: [SOLVED] Conky lags behind when I change wallpaper

^ Don't call me about it - you know that's why I changed my title to ".................."!


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

Board footer

Powered by FluxBB