Thanks for the tip. I have tried using the new names and it worked.<br>I ws just not sure if I can "activate" a "key" or "button" option.<br><br>Thanks for your tip of the python script, I will have a look at that<br>
<br><div class="gmail_quote">On Mon, Jun 9, 2008 at 10:52 AM, Danny Baumann <<a href="mailto:dannybaumann@web.de">dannybaumann@web.de</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<div class="Ih2E3d"><br>
> I was looking into the source code in more detail and debuged the DBUs<br>
> interface a bit and it seems to me that only a few commands of the<br>
> compiz plugin are still "exported" as "actions" in version 0.7.6 of<br>
> compiz.<br>
><br>
> If I grep the source tree of compiz I find only 7 occurrences if<br>
> "action"<br>
> ./src/option.c: return "action";<br>
> ./src/metadata.c: { "action", CompOptionTypeAction },<br>
> ./plugins/svg.c: { "set", "action", 0, svgSet, NULL }<br>
> ./plugins/scale.c: { "relayout_slots", "action", 0,<br>
> scaleRelayoutSlots, 0 }<br>
> ./plugins/annotate.c: { "draw", "action", 0, annoDraw, 0 },<br>
> ./plugins/water.c: { "point", "action", 0, waterPoint, 0 },<br>
> ./plugins/water.c: { "line", "action", 0, waterLine, 0 }<br>
><br>
> If I do the same in version 0.6.2, I found a bit more (125)...<br>
><br>
> Does that mean that the number of action one can trigger via the DBUS<br>
> Action or has the way certain action are triggered changed a bit?<br>
<br>
</div>The old action type had key, button, edge bindings as well as "internal"<br>
actions (not to be triggered by the user) included. This was split to<br>
"key", "button", "edge" and "action" options, which all can be triggered<br>
by dbus. The way they are triggered hasn't changed, only the naming.<br>
<div class="Ih2E3d"><br>
> Or, if anybody knows to how to rotate the cube via dbus with 0.7.6,<br>
> that would also very helpful.<br>
<br>
</div>Free rotation is not possible over dbus AFAIK, but changing one viewport<br>
only should be possible by triggering the rotate_left_key /<br>
rotate_right_key options in rotate.<br>
<br>
BTW, there's a Python helper script for activating Compiz actions over<br>
dbus: <a href="http://forum.compiz-fusion.org/showthread.php?t=7359" target="_blank">http://forum.compiz-fusion.org/showthread.php?t=7359</a><br>
<br>
Regards,<br>
<font color="#888888"><br>
Danny<br>
<br>
</font></blockquote></div><br>