[compiz] state plugin
Kresimir Kukulj
madmax at iskon.hr
Fri May 18 09:42:09 PDT 2007
racarr at beryl-project.org wrote:
> You can remove decorations from a single window with (set-option
> "decoration" "decoration_match" ...) where the third argument is some
> match expression that matches all windows except the ones you don't
> want. Maybe an easier way to do this could be added...
>
> Likewise once I add getting/setting of core options (I'll do this
> today I guess) you could get the number of viewports by (get-option
> "core" "hsize") and (get-option "core" "vsize").
>
> With the way we handle viewports you will also have to know your
> current viewport (0,0 is always in your current viewport, negative or
> greater than width / height is other viewports). I can add functions
> for this today as well.
Great. I did not expect it to be done that fast :)
I am still fiddling with compiz-schema plugin. It has no properties in
ccs-settings so I am not sure if it is initialized properly :(
Super-o keybind is seposed to do something ? Nothing happens for me.
Maybe some other shortcut is overlapping it ?
How can I see if it is working at all ?
Sorry about extreme-newbie questions. I used beryl for a few days and
switched to compiz. This is all very new for me. Not many information
about what is going on.
Seems plugins are getting out of compiz tree?
> On 5/18/07, Kresimir Kukulj <madmax at iskon.hr> wrote:
>> Robert Carr wrote:
>>> 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.
>> Thanks for the info. I just looked at compiz-scheme and it seems to be
>> able to to what I want, but it may take me some time to figure scheme :)
>> Looks really nice :)
>>
>> move-window window dx dy - Move window by dx and dy in the x and y
>> coordinates respectively.
>>
>> move-window-to window pos-x pos-y - Move window window to pos-x and
>> pos-y. No checking is done for viewport bounds.
>>
>> x,y are top left corner ? I may hardcode coordinates for each desktop.
>> Is there a way to know how big desktop is and how many sides my cube
>> plugin uses so I could divide that and get start coordinates of each
>> viewport ?
>>
>> Also, is there a way to remove window decoration from a specific window
>> ? Cant find it in you docs.
>>
>>
>>> 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 madmax at iskon.hr
>> +--------------------------------------------------+
>> Remember, if you break Debian, you get to keep both parts.
>>
--
Kresimir Kukulj madmax at iskon.hr
+--------------------------------------------------+
Remember, if you break Debian, you get to keep both parts.
More information about the compiz
mailing list