hi, I saw that Mike Dransfield tried to port 'state' plugin from beryl. What does it do? It should be able to place windows, based on name, class etc., to specific viewports. I recently converted to compiz window manager from WindowMaker (used it for 8 years), and I miss automatic 'pinning' of specific windows to particular workspace (or viewport in this case). Mike's old port can be found here: http://www.anykeysoftware.co.uk/compiz/plugins/state.tar.gz This is a bit old and does not use new plugin system for options (metadata). I am tyring to see if it could be tweaked to new plugin infrastructure, but it is not trivial (or at least not for me :)). Can someone point me to some documentation so I could port this. Or is this functionality already planned for compiz (or maybe someone already has functonal plugin?). Regards Kresimir -- Kresimir Kukulj madmax at iskon.hr +--------------------------------------------------+ Remember, if you break Debian, you get to keep both parts.
The Compiz-scheme can function as a state plugin of sorts. It embeds the Guile interpreter for the Scheme language in to a Compiz plugin and provides bindings/hooks in to events. You can find it at http://gitweb.opencompositing.org (compcomm/plugins/compiz-scheme) it has an example startup file with commented snippets including state like usage and a few other documentation and tutorial files. As to porting the original state plugin, there isn't really any documentation on ... anything, though I think the winrules plugin (also at gitweb.opencompositing.org) does something similar. On 5/17/07, Kresimir Kukulj <madmax at iskon.hr> wrote:> hi, > > I saw that Mike Dransfield tried to port 'state' plugin from beryl. > > What does it do? It should be able to place windows, based on name, > class etc., to specific viewports. I recently converted to compiz window > manager from WindowMaker (used it for 8 years), and I miss automatic > 'pinning' of specific windows to particular workspace (or viewport in > this case). > > Mike's old port can be found here: > http://www.anykeysoftware.co.uk/compiz/plugins/state.tar.gz > > This is a bit old and does not use new plugin system for options > (metadata). I am tyring to see if it could be tweaked to new plugin > infrastructure, but it is not trivial (or at least not for me :)). > > Can someone point me to some documentation so I could port this. > Or is this functionality already planned for compiz (or maybe someone > already has functonal plugin?). > > Regards > > Kresimir > > -- > Kresimir Kukulj madmax at iskon.hr > +--------------------------------------------------+ > Remember, if you break Debian, you get to keep both parts. > _______________________________________________ > compiz mailing list > compiz at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/compiz >
Kresimir Kukulj wrote:> hi, > > I saw that Mike Dransfield tried to port 'state' plugin from beryl. > > What does it do? It should be able to place windows, based on name, > class etc., to specific viewports. I recently converted to compiz window > manager from WindowMaker (used it for 8 years), and I miss automatic > 'pinning' of specific windows to particular workspace (or viewport in > this case). > > Mike's old port can be found here: > http://www.anykeysoftware.co.uk/compiz/plugins/state.tar.gz >I have updated this now and it should work with current git.> This is a bit old and does not use new plugin system for options > (metadata). I am tyring to see if it could be tweaked to new plugin > infrastructure, but it is not trivial (or at least not for me :)). >The whole state plugin is being replaced by the new advanced window matching as well as the winrules plugin. Winrules does not support viewports yet so I have updated this for you. This plugin will almost certainly be removed at some point.> Can someone point me to some documentation so I could port this. > Or is this functionality already planned for compiz (or maybe someone > already has functonal plugin?). > > Regards > > Kresimir > >