From: "Matt Graham" <[email protected]>
> This works in KDE 3.5; the syntax is different in KDE 4

> shell:~$ xhost +local:
> (only have to do that once)
> shell:~$ at 10am Jul 31
> at> export DISPLAY=0:0
> at> dcop --user YOUR_USERNAME --all-sessions knotes KNotesIface newNote
> Remember "Remember this here text" 
> at> ^D

In KDE 4, it's like so:

shell:~$ xhost +local:
(only once)
shell:~$ at 10am Feb 8
at> export DISPLAY=0:0
at> qdbus org.kde.knotes /KNotes newNote RememberThis "Remember your
anniversary, you putz."
at> ^D

...KDE 4 and recent GNOME use qdbus (command-line) and qdbusviewer (GUI
explorer) for telling various GNOME and KDE apps to do various things. 
AFAICT, the vast majority of interesting/useful stuff is done through
org.{kde,gnome}.APPNAME /AppName (various commands).  It's sorta complicated,
but it rewards some study and fiddling with, in much the same way that DCOP
did with KDE 3.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Reply via email to