reopen 362972
retitle 362972 Additional documentation for juk
tags 362972 + patch
thanks

On Mon, Apr 17, 2006 at 11:43:21PM +0200, Sune Vuorela wrote:
> Submitter wrotes:
> > It would be nice to have a way to hook up those special "Play",
> > "Stop", "Reverse" and "Forward" keys on my keyboard to juk.
> 
> JuK - as well as many other kde program can be used thru dcop like:
> 
> $ dcop juk Player forward
> $ dcop juk Player back
> $ dcop juk Player stop
> $ dcop juk Player play

I think it would be worthwhile to document this interface.
I'm attaching a small patch to the juk manpage to this effect.

Regards,
-Steve

diff -u -r man.orig/juk.1 man/juk.1
--- man.orig/juk.1      2006-04-16 16:56:07.000000000 -0400
+++ man/juk.1   2006-04-19 21:35:44.000000000 -0400
@@ -1,4 +1,4 @@
-.TH "JuK" "1" "October 2003"
+.TH "JuK" "1" "April 2006"
 .SH "NAME"
 juk \- music organizer and player for KDE
 .SH "SYNOPSIS"
@@ -16,6 +16,23 @@
 \fIjuk\fP does not accept any command-line options.
 .
 
+.SH "DCOP"
+
+\fIjuk\fP has a DCOP (Desktop Communications Protocol) interface
+that may be used to start, stop, skip forward to the next song,
+etc.  This may be done from the command line using \fIdcop\fP
+as follows
+
+.RS
+$ dcop juk Player forward
+
+$ dcop juk Player back
+
+$ dcop juk Player stop
+
+$ dcop juk Player play
+.RE 
+
 .SH "AUTHOR"
 This page was written by David Schleef <[EMAIL PROTECTED]> for Debian,
 but may be used elsewhere.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to