awesome

Welcome to awesome bug tracking system.
Tasklist

FS#942 - conky runs on just one screen since 3.4.11

Attached to Project: awesome
Opened by prash (prash) - Saturday, 03 December 2011, 12:30 GMT
Last edited by Uli Schlachter (psychon) - Thursday, 08 December 2011, 17:42 GMT
Task Type Bug Report
Category Core
Status Closed
Assigned To No-one
Operating System Linux
Severity Low
Priority Normal
Reported Version 3.4.11
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Steps to reproduce:
open a terminal on screen 1 and run conky from it.
expected behaviour: conky box appears on all screens
observed behaviour: conky appears on just screen 1.
next, move the terminal to screen 5 (with Mod4+5)
type "killall -SIGUSR1 conky"
expected behaviour: conky reloads the configuration and continues to run on all screens.
observed behaviour: conky appears on just screen 5.

I had not seen this problem in previous versions of awesome.
This task depends upon

Closed by  Uli Schlachter (psychon)
Thursday, 08 December 2011, 17:42 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Ah, yeah, the conky docs really say that for "own_window_type desktop". Let's see if the #conky IRC channel can tell me if awesome is wrong here. (But I don't really think so)
Comment by Uli Schlachter (psychon) - Monday, 05 December 2011, 19:50 GMT
Uhm, what's your conky config? Could you attach it?

If conky draws to its own window, it is impossible for it to appear in more than one place.
If conky draws directly to the root window, it could draw itself to more than one place, but AFAIK conky doesn't do that.
Comment by prash (prash) - Monday, 05 December 2011, 21:11 GMT
I have attached my conky config file. I have:
own_window yes
own_window_type desktop
For convenience, I quote from the conky manual "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."
Conky can draw to root window with "own_window no" but then something bizarre happens (at least in awesome): conky draws OVER the entire screen... all the other windows (across all screens) get obscured, except the wibox.
In any case, I have not changed my conky config file in several months. It's behaviour changed only when I upgraded to awesome ver. 3.4.11.
   conkyrc (3.6 KiB)
Comment by Uli Schlachter (psychon) - Monday, 05 December 2011, 21:18 GMT
I just noticed that "screen 5" is unrealistic and you likely mean "tag 5", sorry
Comment by prash (prash) - Monday, 05 December 2011, 21:29 GMT
Ah. You're right. Sorry about that.
Comment by Uli Schlachter (psychon) - Tuesday, 06 December 2011, 16:56 GMT
I think this is a conky misconfiguration.

Before the following code, the C code considered all type="desktop" windows sticky, after this commit it doesn't.
http://git.naquadah.org/?p=awesome.git;a=commitdiff;h=db1610c7dc4b8b15b367a6e5b62a29314bd5996a

So I guess you have to tell conky what you want. I have no idea if this really works, but from reading conky's source code, I think "own_window_hints = sticky" should do the trick (in addition to the other values that you already have in there).

Does that work for you?
Comment by prash (prash) - Tuesday, 06 December 2011, 20:40 GMT
Adding "sticky" to my existing "own_window_hints" definitely solved it. The documentation gave me the impression that setting "own_window_type desktop" is sufficient.

Thank you for solving the problem!

Loading...