muesli / deckmaster

An application to control your Elgato Stream Deck on Linux
MIT License
256 stars 46 forks source link

DBus calls do not work with methods expecting any argument types other than a single string #143

Open HoodedDeath opened 2 months ago

HoodedDeath commented 2 months ago

Just found out the deckmaster will always run DBus methods with the signature 's'. This causes any methods with different signatures (including no parameters signature) to result in the message dbus call failed: No such method '<METHOD>' in any interface at object path '<PATH>' (signature 's')

I did try setting the value the way the dbus-send command uses, setting it to int32:4 for the method I was trying to call, which a signature 'i', but that didn't work either. Seems there's no way to use the built in DBus capabilities to access these methods.

My workaround is just using exec with either qdbus or dbus-send, incase anyone ends up here looking for answers.