-
|
With two cog instances (built with system DBUS): There is no way to talk to both of them with cogctl by using the object path: (only the first one loaded can be talked to) There is no way to talk to both of them with cogctl by using the appid: How should I talk to different cog instances? Am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
|
Hello @ventosus - I also have been having trouble with cogctl and dbus. Please find my post here: |
Beta Was this translation helpful? Give feedback.
-
|
@chrisvollorenew dbus ist set up just fine on my side. my problem is addressing multiple instances of cog. addressing a single instance works just fine. |
Beta Was this translation helpful? Give feedback.
-
|
The same identifiers passed to # Start two instances with different application identifiers
cog --gapplication-app-id=com.example.Cog1 wpewebkit.org
cog --gapplication-app-id=com.example.Cog2 igalia.com
# Load different pages on each using cogctl
cogctl --appid=com.example.Cog1 open webkit.org
cogctl --appid=com.example.Cog2 open apple.comYou can see this in action in the screenshot below (note that |
Beta Was this translation helpful? Give feedback.
-
|
Please see my initial report, I'm using the system bus. There it still does not work. Can you reproduce on the system bus, please? |
Beta Was this translation helpful? Give feedback.
-
|
Maybe your dbus-daemon program isn't starting? Check if this file |
Beta Was this translation helpful? Give feedback.
-
|
Was indeed not working on system bus, as the passed appid was not parsed yet when setting up the bus, so registering with default name com.igalia.Cog in stead of the desired name. |
Beta Was this translation helpful? Give feedback.

The same identifiers passed to
cog --gapplication-app-id=must be passed tocogctl --appid=:You can see this in action in the screenshot below (note that
-Ais the same as--appid=):