You are not logged in.
In a script I want to be able to detect if a conky is sticky or not (so that if it's not sticky the script can offer to launch it on one of the available desktops).
Right now I'm looking for either own_window_type = desktop, or "sticky" among the own_window_hints. ie
own_window_type = desktop > is sticky
own_window_hints = *sticky* > is sticky
anything else > is not sticky
Is there anything else it should look for? How about other own_window_types like panel or override? Should they be considered sticky too (ie appear on all desktops and can't be sent from one desktop to another)?
How about own_window = false ?
Thanks!
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
^Sorry @john, I'm in a hurry....
What would be important is this order:
own_window
own_window-type
own_window_hints
For openbox has already given tips here: http://conky.pitstop.free.fr/wiki/index … x_tip_(en)
Offline
'override' means that the window of Conky is managed by the (now) used window manager of the system window manager.
Therefore the line in Conky
own_window_hints
has no influence anymore and is ignored.
As far as I remember, all Conky's have always been set to 'normal', so that the
(my) hints in own_window_hints were respected.
'desktop' also shows a similar behavior for me, in that the conky's were 'sticky' on all
workspaces were 'sticky'.
own_window = false, the window does not appear. Here it is always set to YES. With Gnome and Nautilus I have never worked with.
I think, all future conky's in BL would have to contain 'sticky', so that your script could can recognize this and evaluate it accordingly.
Last edited by unklar (2021-06-17 07:22:20)
Offline
Do 'override' conkys appear on all desktops? If so, then maybe this algorithm would be right:
own_window_type = desktop > is sticky
own_window_type = override > is sticky
own_window_hints = *sticky* > is sticky
otherwise > is not sticky
Last edited by johnraff (2021-06-17 07:31:31)
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Do 'override' conkys appear on all desktops? If so, then maybe this algorithm would be right:
...
Yes, because this line in Conky
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
is no longer evaluated (ignored).
Offline
My normal settings for my test conky:
own_window yes
own_window_type normal # normal desktop dock panel override
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager #,sticky #,below,undecorated
own_window_colour 000000
own_window_class Conky
own_window_title Sector11's Test Conky
own_window_hints
normal
hints work and is on desktop 4 only
[Alt]+right click and drag to move
right click does not work to get OB menu BECAUSE it has window decorations
- set to undecorated
right click works to get OB menu - It has NO window decorations
desktop
hints do NOT work and on ALL desktops
no [Alt]+right click and drag to move
right click does not work to get OB menu no [Alt]+right click and drag to move
EDIT: The conky is dead area. No mouse clicks at all
dock
on ALL desktops
crazy for a while was black background, went semi-transpatent and back to black
it keeps flipping: semi-transparent|black
no [Alt]+right click and drag to move
right click works to get OB menu
panel
on ALL desktops
crazy for a while was black background, went semi-transpatent and back to black
it keeps flipping: semi-transparent|black
no [Alt]+right click and drag to move
right click works to get OB menu
- I think Panel and dock are basically the same.
override
hints do NOT work
on ALL desktops
no [Alt]+right click and drag to move
right click works to get OB menu
Hope that helps.
Last edited by Sector11 (2021-06-23 19:02:57)
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^^No one can portray this better than the El Conkystador of the Internet. O:)
Offline
^^Muchas gracias!
Yes, that helps a lot.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Slight edit above: See "Desktop" section
And glad to help.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
^^No one can portray this better than the El Conkystador of the Internet.
O:)
Oh I'm sure others can do the same or better.
But thank you my friend.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline