Linux Xclip Commands

Source: Internet
Author: User

First, Introduction

The Xclip command establishes a channel between the terminal and the Clipboard, which can be used to save the contents of the terminal output or file to the Clipboard in a command, or to output the contents of the Clipboard to a terminal or file.

Inside the X system, copy a paragraph of text from one window to another, with two sets of mechanisms, namely selections and cut buffers:
The      commonly used copy & paste is the cut buffers mechanism used; with the mouse to select a piece of text, and then in another window press the middle mouse button to achieve replication, using the selections mechanism. 
And selection can be divided into master and slave selection. When a file is selected with the mouse, the text is automatically copied to master selection.
Then press the middle mouse button in another place to automatically paste the contents of Master selection.

Second, installation

1) Yum mode

Yum Install Xclip

Third, examples

http://blog.csdn.net/pfanaya/article/details/7665853

Linux Xclip Commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.