Xclip

From wikinotes
Revision as of 00:53, 7 December 2015 by Will (talk | contribs) (Created page with "For the most part xclip is already configured - however I do not like the default behaviour (does not copy to clipboard) so I wrote my own little bash script in order to have...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

For the most part xclip is already configured - however I do not like the default behaviour (does not copy to clipboard) so I wrote my own little bash script in order to have different flags set by default. now instead of using ls | xclip -selection c -f simply use ls | clip

sudo echo "#!/bin/bash
xclip -selection c -f
" > /usr/bin/clip

sudo chmod 755 /usr/bin/clip