You are not logged in.

#1 2008-05-08 20:52:39

paralax
Member
From: Czech Republic
Registered: 2007-05-26
Posts: 51

Is there any way how to force xcompmgr ignore some app?

The title says almost everything. I want to force xcompmgr ignore stalonetray, but I dont know how.
Does anybody know?

Offline

#2 2008-05-08 21:34:01

Hohoho
Member
Registered: 2007-06-23
Posts: 222

Re: Is there any way how to force xcompmgr ignore some app?

-C
      Avoid drawing shadows on dock/panel windows.

Running xcompmgr -c -C does draw shadows except on gnome-panel.
If the role of stalonetray aint already set to panel/tray then you can use devilspie to force it, or your window manager if it can do that.

Devilspie rule file would look like this (~/.devilspie/stalone.ds):

(if
    (matches (application_name) "stalonetray")
    (wintype "dock")
)

Edit: syntax errors sad, but now it works, tested it.

Last edited by Hohoho (2008-05-08 21:52:26)

Offline

#3 2008-05-09 08:49:29

paralax
Member
From: Czech Republic
Registered: 2007-05-26
Posts: 51

Re: Is there any way how to force xcompmgr ignore some app?

Hi, thanks for help it works good, but only if I start xcompmg after start.
I have this in my .xinitrc, can you please take a look and tell me If something is wrong?

#other
eval `cat $HOME/.fehbg` &
exec tint &
exec conky &
exec pidgin &
exec stalonetray &
exec devilspie &
exec xcompmgr -c -C -t-5 -l-6 -r5 &

#windows manager
exec openbox-session

and when I start devilspie from console it print:

(devilspie:5743): Wnck-WARNING **: Unhandled action type _0B_WM_ACTION_UNDECORATE

Offline

#4 2008-05-09 11:14:42

Hohoho
Member
Registered: 2007-06-23
Posts: 222

Re: Is there any way how to force xcompmgr ignore some app?

1) Perhaps starting devilspie before stalonetray will help, or you can add the -a flag to devilspie. ( -a, --apply-to-existing     Apply to all existing windows instead of just new windows. )

2) If that doesnt work you can try changing xcompmgr line to this:

exec (sleep 3 && xcompmgr -c -C -t-5 -l-6 -r5) &

3) And did you try openbox's own autostart script?  ~/.config/openbox/autostart.sh

Oh and the warning is harmless.

Last edited by Hohoho (2008-05-09 11:16:29)

Offline

#5 2008-05-09 12:19:45

paralax
Member
From: Czech Republic
Registered: 2007-05-26
Posts: 51

Re: Is there any way how to force xcompmgr ignore some app?

Thank you again, autostart.sh did the trick.

Offline

Board footer

Powered by FluxBB