substitute for xclip?

Ulli Horlacher
Wed Oct 19 12:58:42 GMT 2022

On Wed 2022-10-19 (02:01), Backwoods BC wrote:
> On Tue, Oct 18, 2022 at 11:59 PM Ulli Horlacher
> <> wrote:
> >
> > With Linux I am using xclip to read the X11 clipboard.
> > Is there a cygwin equivalent to read the Windows clipboard?
> There are 2 ways to access the clipboard:
> 1. The commands 'getclip' and 'putclip'

W10dev:~: getclip
bash: getclip: command not found

I found getclip in package cygutils-extra.

> 2. Redirection to/from /dev/clipboard

I have selected [copy] in the file browser, but /dev/clipboard is empty.
Also getclip gives me no output.

Ullrich Horlacher              Server und Virtualisierung
Rechenzentrum TIK         
Universitaet Stuttgart         E-Mail:
Allmandring 30a                Tel:    ++49-711-68565868
70569 Stuttgart (Germany)      WWW:

More information about the Cygwin mailing list