qdbus
Submitted by Bram Schoenmakers on 17 April, 2009 - 18:07.
This is more or less a follow-up on my previous article, but this time we focus on how to communicate with KDE applications from the commandline. This is done with D-Bus and for that we'll use the qdbus command. For example, it's possible to request the current track information in Amraok, or you could set your Kopete status on Away.
Submitted by Bram Schoenmakers on 7 April, 2009 - 00:12.
Een beetje als vervolg op m'n vorige artikel wordt in dit artikel uitgelegd hoe je met KDE-programma's kan interacteren vanaf de commandoprompt. Dit gaat met behulp van D-Bus en we gebruiken hiervoor het commando qdbus. Hiermee kan je bijvoorbeeld de titel van het huidige nummer in Amarok opvragen, of kan je jezelf op afwezig zetten in Kopete.