xclip – Copy contents from command line to X clipboard in openSUSE

xclip – Copy contents from command line to X clipboard in openSUSE

xclip is a command line interface to the X11 selections (X11 clipboard). It can also be used for copying files, as an alternative to sftp/scp, thus avoiding password prompts when X11 forwarding has already been setup. xclip reads from Standard Input or from one or more files and copy it to the X11 clipboard making it available to the X applications. xclip can also print the content of the current X clipboard onto the standard output or to a file.

Install xclip in openSUSE

To install xclip in openSUSE, click this 1-click installer from Packman supported on openSUSE 11.1/11.0/10.3

This should download the YMP file and automatically launch the YaST package manager to add the required Repositories, download and install xclip and the dependencies. Click next on the xclip installation screen and Next again on the installation proposal window. This should start adding the required repositories, download and install xclip and its required dependencies. Click Finish when the installation completes successfully.