Hi there,
I want to access kmix with qdbus from the command line, but I have not much clue about D-Bus so I wonder about the right syntax.
I see I have the kmix D-Bus running:
qdbus org.kde.kmix
/kmix/KMixWindow/actions/increase_volume /kmix/KMixWindow/actions/decrease_volume
What is now the correct qdbus command to change volume?
Thanx Malte
On Sat, 16 Apr 2011 07:45, Malte Gell <malte.gell@...> wrote:
Hi there,
I want to access kmix with qdbus from the command line, but I have not much clue about D-Bus so I wonder about the right syntax.
I see I have the kmix D-Bus running:
qdbus org.kde.kmix
/kmix/KMixWindow/actions/increase_volume /kmix/KMixWindow/actions/decrease_volume
What is now the correct qdbus command to change volume?
Ah! found it: (search via qdbusviewer helps)
qdbus [--system] [--literal] [servicename] [path] [method] [args]
used with
qdbus org.kde.kmix /kmix/KMixWindow/actions/increase_volume
gives you a long list ... method void com.trolltech.Qt.QAction.trigger() ...
result up:
qdbus org.kde.kmix \ /kmix/KMixWindow/actions/increase_volume com.trolltech.Qt.QAction.trigger
and down:
qdbus org.kde.kmix \ /kmix/KMixWindow/actions/decrease_volume com.trolltech.Qt.QAction.trigger
don't forget toggle mute:
qdbus org.kde.kmix \ /kmix/KMixWindow/actions/mute com.trolltech.Qt.QAction.trigger
HTH, Yamaban out.
Yamaban foerster@lisas.de wrote
qdbus org.kde.kmix /kmix/KMixWindow/actions/increase_volume
gives you a long list ... method void com.trolltech.Qt.QAction.trigger() ...
result up:
qdbus org.kde.kmix \ /kmix/KMixWindow/actions/increase_volume com.trolltech.Qt.QAction.trigger
and down:
qdbus org.kde.kmix \ /kmix/KMixWindow/actions/decrease_volume com.trolltech.Qt.QAction.trigger
don't forget toggle mute:
qdbus org.kde.kmix \ /kmix/KMixWindow/actions/mute com.trolltech.Qt.QAction.trigger
I found that out myself in the meantime. Now I can use a remote to control kaffeine and the volume :-)
Malte
On Saturday, April 16, 2011 08:47:32 PM Malte Gell wrote:
I found that out myself in the meantime. Now I can use a remote to control kaffeine and the volume :-)
I was looking how to control vlc player using remote control? Do you have some reading how to do that?