Wednesday, April 24, 2024
 Popular · Latest · Hot · Upcoming
23
rated 0 times [  23] [ 0]  / answers: 1 / hits: 16708  / 3 Years ago, mon, august 30, 2021, 9:49:38

I've recently upgraded to Ubuntu 12.10 and since then conky has been acting up. This is what it looks after a while (specially if I use the option 'Show desktop' by draggin the mouse to a corner, as Ubuntu Tweak permits you to do):



enter image description here



This is my .conkyrc file and my ~/.conky/bargraph_small.lua file.



I tried tweaking the setting around but it seems a bit random, at times it will work and at times it will not. Any ideas? Cheers.


More From » 12.10

 Answers
2

I had the same problem with conky in fluxbox. I solved the problem by changing



own_window_type override to own_window_type normal (line 17 in your .conkyrc)



Check out more conky configuration settings here:



http://conky.sourceforge.net/config_settings.html



The above answer would apply in most cases, however in this particular case it doesn't work well. The Ubuntu Tweak "Show desktop" option minimizes all open windows. Your .conkyrc line 16 states own_window yes. This means that conky has it's own window. By stating own_window_type normal the window is being told to act "normally" (can't move it around though). Thus the conky-window will as well as any other window minimize when the "Show desktop" option is used. The line own_window no is not an option because this causes placement problems.



The solution would seem to be to make the window stick to the desktop which would be achieved by changing the line own_window_type normal to own_window_type desktop.
However, although this causes the conky window to stay on the desktop when "Show desktop" is used, when the desktop is being clicked left or right for some reason the conky window dissappears again.



What so far seems to keep conky in its place is changing own_window_type normal to own_window_type dock. The drawback of this method is having to place conky on the right spot on your desktop again using gap x and gap y. Gap x is now counted from the left side of the desktop edge instead of the right side. Gap y is still counted from above.
So suppose your screen resolution is 1440x900 and gap x used to be 10 and conky maximum with is 250, the new gap x would be 1440-250-10=1180



In addition, to entirely lose any visible dock borders change the line own_window_transparent yes with the lines: own_window_argb_visual yes and own_window_argb_value 0. So in your .conkyrc line 18 will have to be replaced by two lines, 18 and 19 with the new code. When own_window_argb_value is set to 255 the conky window will have no transparency and be black.



This solution has been tested and appears to work. The solution is based on the config_settings in the link above.


[#33053] Monday, August 30, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
farnic

Total Points: 409
Total Questions: 117
Total Answers: 125

Location: Andorra
Member since Sat, May 27, 2023
12 Months ago
;