Multiple verve-plugins in different panels

Nikolas Arend Nikolas.Arend at
Wed Jul 26 15:22:34 CEST 2006

Jannis Pohlmann wrote:
> On Wed, 26 Jul 2006 11:21:19 +0200, Nikolas Arend wrote:
>> Jannis Pohlmann wrote:
>>> On Tue, 25 Jul 2006 21:52:21 +0200, Nikolas Arend wrote:
>>>> Hi,
>>>> I just tried out another instance of the verve-plugin in a
>>>> different panel (see post about verve-plugin and hidden panels).
>>>> After removing it again, the plugin that remained (the first one)
>>>> couldn't receive focus any more via verve-focus, which fails with
>>>> Traceback (most recent call last):
>>>>   File "/usr/bin/verve-focus", line 48, in ?
>>>>     dbus_interface = "org.xfce.RunDialog")
>>>>   File "/usr/lib/python2.4/site-packages/dbus/", line 64,
>>>> in __call__
>>>>     reply_message = self._connection.send_with_reply_and_block
>>>> (message, timeout)  File "dbus_bindings.pyx", line 395, in 
>>>> dbus_bindings.Connection.send_with_reply_and_block
>>>> dbus_bindings.DBusException: Message has only 1 arguments, but more
>>>> were expected
>>>> Removing the pluging and adding it again fixes the issue. If needed
>>>> I'll file a bug report.
>>> Sorry, I can't reproduce this error - is anyone else able to?
>>> My only guess would be that your D-BUS version has bugs. Which one
>>> are you using?
>> dbus-0.50 on FC4. If it's only me, nevermind. I won't use multiple 
>> instances of the verve plugin anyway and it's working well otherwise.
>> I just reported it as it looked like it could be a bug.
>> On the other hand, does it make sense to allow multiple instances of 
>> verve-plugin running? Using verve-focus, you can only focus one at a 
>> time anyway...
> Just imagine a Xinerama setup with two screens, two panels and two
> Verve instances - yes, it sometimes makes sense to have more than just
> one Verve instance running. 
Ok, you're right, didn't think of this.

> BTW, I now tweaked the code to allow newer Verve instances to gain the
> ownership for org.xfce.Verve, so the last created instance grabs the
> focus when verve-focus is executed.
I just tried to compile the latest verve-plugin with dbus support and it 
seems that dbus 0.50 is too old:

verve-dbus-service.c: In function ‘verve_dbus_service_init’:
verve-dbus-service.c:139: error: ‘DBUS_NAME_FLAG_ALLOW_REPLACEMENT’ 
undeclared (first use in this function)
verve-dbus-service.c:139: error: (Each undeclared identifier is reported 
only once
verve-dbus-service.c:139: error: for each function it appears in.)
make[3]: *** [xfce4_verve_plugin-verve-dbus-service.o] Error 1

I don't know when this constant was introduced, but it seems it's not in 
0.50. Can this be helped? I'm reluctant to install a newer version of 
dbus atm. since there are many other packages on my FC4 that depend on, but would like to have verve-plugin with dbus-support.

Thanks, Nick.

More information about the Xfce4-dev mailing list