pbcopy

Rating: 
5
Your rating: None Average: 5 (3 votes)

Sets Sailfish OS Qt clipboard from command-line.

Example:

  • [nemo@Jolla ~]$ echo "If we come to a minefield, our infantry attacks exactly as it were not there." | pbcopy
  • [nemo@Jolla ~]$ head -1 file.txt | pbcopy File begins with:

GPLv2 sources here.

Application versions: 
AttachmentSizeDate
File pbcopy-1.1-1.armv7hl.rpm8.7 KB30/01/2015 - 18:56
File pbcopy-1.0-1.armv7hl.rpm7.5 KB26/01/2015 - 00:56
Changelog: 

- now adds command-line args as well

Comments

wickedsp1d3r's picture

It is still working, but throws an error:

[D] unknown:0 - Using Wayland-EGL
[D] unknown:0 - Specified Desktop file does not exist "/usr/share/applications/pbcopy.desktop"
[W] unknown:0 - QObject::connect: No such signal Clippami::finished() in ../pbcopy/src/pbcopy.cpp:18

Could this be fixed? Thanks!

Schturman's picture

Hi. Can you create version for tablet, please ?

Schturman's picture

Big thanks! very useful..

Mikkosssss's picture

Can you make paste tool too?

coderus's picture

echo "123" | curl -v --data-urlencode "content@-" -d "poster=JohnDoe" -d "syntax=text" http://paste.ubuntu.com