You are not logged in.

#1 2009-08-19 08:49:19

RichSelian
Member
From: China
Registered: 2009-03-14
Posts: 43

[solved] Conky docking problem.

Sorry for my poor English. I hope you can understand what I say.

I want to make my conky stay at bottom like a panel. So I try this in my .conkyrc:

own_window yes
own_window_transparent no
own_window_type dock
alignment bottom_middle

But the problem is that after setting own_window_type to dock, alignment seems to invalid and conky always stay at top_left. Can anyone help?

Last edited by RichSelian (2009-08-20 00:50:16)

Offline

#2 2009-08-19 11:23:20

falomir
Member
Registered: 2009-02-15
Posts: 15

Re: [solved] Conky docking problem.

try
own_window_type desktop
and use gap_y to set margin

Offline

#3 2009-08-19 12:39:17

RichSelian
Member
From: China
Registered: 2009-03-14
Posts: 43

Re: [solved] Conky docking problem.

Thanks.
But I don't want it to be covered by other windows. I just want it to stay at bottom like fbpanel/pypanel or other panels.
So I just don't know, why can't these two commands work at the same time?

own_window_type dock
alignment bottom_middle

Offline

#4 2009-08-19 12:56:51

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [solved] Conky docking problem.

Well you can try using gap_x and gap_y


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#5 2009-08-19 13:06:16

RichSelian
Member
From: China
Registered: 2009-03-14
Posts: 43

Re: [solved] Conky docking problem.

gap_x and gap_y won't work if I set "own_window_type dock". Conky will always stay at top left.

Offline

#6 2009-08-19 13:26:05

RichSelian
Member
From: China
Registered: 2009-03-14
Posts: 43

Re: [solved] Conky docking problem.

In fact I've come out another idea. I set "own_window_type override" and change openbox's margins. now it acts "like" a panel.

Offline

#7 2009-08-20 00:04:22

LeoSolaris
Member
From: South Carolina
Registered: 2008-03-30
Posts: 354

Re: [solved] Conky docking problem.

own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorate,above,sticky,skip_taskbar,skip_pager

The "above" in the own_windows_hints sets it above all other windows.

When you make conky a dock in OB, you have to configure OB's dock feature to put it where you want it. You likely had OB's dock in the rc.xml set to the top_left.

The margin shift idea should likely work the best IMO.


I keep getting distracted from my webserver project...

huh? oooh...  shiny!

Offline

#8 2009-08-20 00:49:49

RichSelian
Member
From: China
Registered: 2009-03-14
Posts: 43

Re: [solved] Conky docking problem.

You are so great! I haven't noticed that openbox has a "dock" option. Now it works perfectly after setting "own_window_type dock" in .conkyrc and   "<dock><position>Bottom</position>..." in "rc.xml".

Offline

Board footer

Powered by FluxBB