xclip
is the command line interface to clipboards (or selections?) echo "foo bar baz" | xclip
xclip -o
xclip -i -selection clipboard -t image/png ~/images/foo.png
>>> print(subprocess.check_output('xclip -o', shell=True).decode('utf8'))
pc
copies the value of the current working directory into the clipboard. wsl-screenshot-to-clipboard
is used in a Windows Subsystem for Linux (WSL) environment to copy a screenshot made with SnippingTool.exe
into the clipboard using xclip
. clip.exe
on Windows.