
kio_clipboard
Various KDE 1.-4. Improvements
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
kio_clipboard is a kioslave (protocol) to access the KDE clipboard. It allows you to retrieve the contents of the clipboard in various different formats as if they were files. You can use it to upload a screenshot with Konqueror without saving it to a file. Or, you can use it as a tool to quickly convert between different file formats.
A directory notification module is included, meaning any file views automatically refresh whenever the contents of the clipboard change.
This is not an original idea. I saw something similar on here a long time ago but it seems to have disappeared.
oliverthered
10 years ago
I haven't downloaded this re-incarnation of the original 3.x version I wrote many years ago before going off to the DirectX 9 3D for Wine and then having some health issues. (well medication issues!)
anyhow,
The two things I'll add to this extension are, the ability to drop a file into clipboard:/ and have it copied to the clipboard contents and as someone mentioned in a prior post, integration with kliper (though I'm not sure how easy that's going to be, it may be an idea to abstract out the history into kio_clipboard and then integrate kio_clipboard into kliper instead of the other way around.
I suppose then the ability to archive off large portions of the clipboard, or move them or delete entries or add multiple entries (effectively creating a history by dropping more than one file onto it)
Now to find out if my other extensions / modifications made it into 4.x or not!
Report
Rinse
14 years ago
This is already possible with konqueror, just copy a image (or press alt-printscreen to create a screenshot), open konqueror at the desired location (local, webdav, ftp, whatever) right click with your mouse and choose [copy clipboard contents].
konqueror asks for the file format you want to use and saves the image on the location you chose
Report
Linuster
14 years ago
Report
Rinse
14 years ago
I think this kio slave has a lot of potential, for example you can open images from the clipboard in an image viewer/editor, using the file::open dialog (e.g. typing clipboard:/ in the location field or placing it in a side bar icon).
I think a nice extension of the kioslave would be an integration of the clipboard history, so you can browse through more clipboard items then the current one.
This is already possible using klipper to browse through the history (kio_clipboard) updates its contents nicelly :)
Regards, Rinse
Report
Linuster
14 years ago
Report
Rinse
14 years ago
Thanks for the tip!
Rinse
Report
Superstoned
14 years ago
also, ksnapshot can copy the picture it made to the clipboard, but this suddenly seems to break. ksnapshot even crashes now and then.
third, i'd love to see the history as well... maybe you can take this data from klipper?
Report
franzf
14 years ago
kde-misc/kio-clipboard-0.1.ebuild
# --------------------
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
inherit kde
KLV=48046
NAME=${PN/-/_}
S=${WORKDIR}/${NAME}-${PV}
DESCRIPTION="KIO-Slave to access the KDE clipboard"
HOMEPAGE="http://www.kde-look.org/content/show.php?content=${KLV}"
SRC_URI="http://www.kde-look.org/content/files/${KLV}-${NAME}-${PV}.tar.bz2"
RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
need-kde 3.5
# --------------------
Greez
Franz
Report
ademmer1977
14 years ago
But afterwards, konqueror does not know the protocol clipboard:/
What could be the cause?
Report
Linuster
14 years ago
Report
revenant
14 years ago
right now, the protocol is working but it says no directory for clipboard ? How to fix that !!
thanks
Report
zvonSully
14 years ago
Report
MaxAuthority
14 years ago
Fantastic idea, just like kio_locate, hopefully this also makes it to KDE SVN.
Report
rgfree
14 years ago
Immediately understandable.
Easy to use.
So useful.
Report
dec0ding
14 years ago
Effective and useful. Keep up with the creativity ;)
Report