how to read and write clipboard in plasma qml?

Nowardev-Team nowardev at gmail.com
Fri Jul 19 19:50:18 UTC 2013


i mean  qdbus org.kde.klipper /klipper
 org.kde.klipper.klipper.setClipboardContents "text to paste"

get the stuff in klipper

qdbus org.kde.klipper /klipper
 org.kde.klipper.klipper.getClipboardContents



2013/7/19 Nowardev-Team <nowardev at gmail.com>

> klipper? and qdbus ?
>
>
> 2013/7/19 Bruce Ouyang <bruce.oy at gmail.com>
>
>> i have googled and found no solution. it seems i have to utilize LauchApp
>> to call a python script for accessing clipboard
>> ps: xclip command is not my solution because it may be absent in some KDE
>> distributions.
>> ______________________________**_________________
>> Plasma-devel mailing list
>> Plasma-devel at kde.org
>> https://mail.kde.org/mailman/**listinfo/plasma-devel<https://mail.kde.org/mailman/listinfo/plasma-devel>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130719/08e6a15d/attachment.html>


More information about the Plasma-devel mailing list