You are not logged in.

#1 2013-08-09 11:02:38

manuelschneid3r
Member
From: Germany
Registered: 2013-04-14
Posts: 152

Curious Xserver clipboard

If I select text I can paste it somewhere else with middle mouseclick.

Which application is responsible for this?
In which file is this clipboard located?
How can I pipe input in output from the clipboard?


Please feel free to correct my english.

Offline

#2 2013-08-09 12:00:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,549
Website

Re: Curious Xserver clipboard

Middle click is handled by the X server, that is called the primary selection.  It is not stored in a file.

There are tools to access/modify that selection though.  Most likely, you'll want xsel ([community]/xsel) which can read from or write to the primary or secondary selections and the clipboard (three different things).  There are also clipboard managers that add yet other data stores that they also call clipboards, these too are entirely separate - I've never much liked any of these other tools myself.

Last edited by Trilby (2013-08-09 12:02:25)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB