Hacker GitHub

← All repos

astrand/xclip

View on GitHub ↗ ★ 1,335 C

Command line interface to the X11 clipboard

4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2019-08-16 · latest 2023-06-27

Mentions per year 4 mentions · busiest year 2021 (2)
20082026
  1. …The workaround on MacOS is to use AppleScript via `osascript` to `set the clipboard to...`. [0] https://github.com/astrand/xclip [1] https://github.com/bugaevc/wl-clipboard
  2. …also xclip for Linux. It doesn't look like it's been updated in a long time, but it meets my needs. https://github.com/astrand/xclip
    comment by ChrisGranger · 2021-03-17 · in Use the Clipboard from the Command Line
  3. …in your virtual terminal with the keyboard? with xsel(1x) or xclip(1) https://github.com/kfish/xsel https://github.com/astrand/xclip
  4. xclip : https://github.com/astrand/xclip (long pipeline that generates lots of output) | xclip Or even just xclip < /some/file Now paste where necessary.
    comment by jfhufl · 2019-08-16 · in Cool but obscure X11 tools