Posted By

deepsoul on 08/07/09


Tagged

selection x


Versions (?)

Get / set X windows selection from shell


 / Published in: Bash
 

URL: http://www.chiark.greenend.org.uk/~sgtatham/utils/

  1. # print X selection:
  2. echo $(xcopy -r)
  3.  
  4. # set X selection:
  5. echo "new selection" | xcopy

Report this snippet  

You need to login to post a comment.