From aeef500f4a6a1b9353caea57d890617be1d71af0 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sun, 2 Jun 2019 14:09:10 +0200 Subject: [PATCH] xclip: add PNG image copying example (#3073) --- pages/linux/xclip.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/xclip.md b/pages/linux/xclip.md index 5a87db2738..96203c5161 100644 --- a/pages/linux/xclip.md +++ b/pages/linux/xclip.md @@ -19,6 +19,10 @@ `xclip -sel clip {{input_file.txt}}` +- Copy the contents of a PNG image into the system clipboard (can be pasted in other programs correctly): + +`xclip -sel clip -t image/png {{input_file.png}}` + - Paste the contents of the X11 primary selection area to the console: `xclip -o`