DBUS, xhost, etc: remote control of amarok

dexter dex.mbox at gmail.com
Fri Feb 18 00:30:46 UTC 2011


On 16 February 2011 21:02, Greg Woods <woods ucar.edu> wrote:
> I am running Gnome and Amarok is a KDE app, so maybe there is some other
> KDE-related service that needs to be started? Anybody been able to make
> something like this work?

I ssh into a box from across the room to change the volume in kmix
with this script in ~/bin/vol- :

#!/bin/bash
# reduce kmix volume using dbus api
export DISPLAY=:0
qdbus org.kde.kmix /Mixer0 org.kde.KMix.decreaseVolume PCM:0

also in ~/bin/vol+ :

#!/bin/bash
# increase kmix volume using dbus api
export DISPLAY=:0
qdbus org.kde.kmix /Mixer0 org.kde.KMix.increaseVolume PCM:0

...dex


More information about the users mailing list