Inkscape.org
Creating New Extensions Using DBus from inside an extension
  1. #1
    gropiuswasright gropiuswasright @gropiuswasright

    I am trying to use DBus commands from within an extension - the test extension is saved here.

    However Inkscape freezes and DBus times out.

    Is that due to how extensions work and therefore not fixable?

    Is there any other way to do this (right now I'm trying to copy-paste sizes, as scaling based on bounding boxes does not seem to take line thickness into account)?

  2. #2
    inklinea inklinea @inklinea⛰️

    https://gitlab.com/inklinea/ink_flatten

    A working example.

  3. #3
    inklinea inklinea @inklinea⛰️

    Also https://inkscape.org/~inklinea/★ink-dbus

    However I think I might have got a couple of entries mixed up on this one.

    Only application and document dbus actions work on windows, not the 'window' actions.

Inkscape Inkscape.org Inkscape Forum Creating New Extensions Using DBus from inside an extension