4 ms·
One of my most-used X utilities is not even really a graphical one. xclip allows putting stuff in the X clipboard for subsequent pasting into any application.
by loloquwowndueo 5y ago
One of my most-used X utilities is not even really a graphical one.
xclip allows putting stuff in the X clipboard for subsequent pasting into any application. I use it to “copy” canned email responses which I keep in a folder as .txt files and then paste them in the browser for sending by email. No need to bother with browser extensions or built-in crappy functionality (gmail canned responses used to just lose my responses every once in a while).
- protomyth 5y agoMacOS has pbcopy which serves the same function and is an amazingly useful way to work.
- michaelhoffman 5y agoI use xsel for the same purpose. And clip.exe on Windows/WSL.
- easton 5y agoSet-Clipboard in PowerShell works as well, if you're in to that sort of thing.
- leephillips 5y agoI make frequent use of xcip as well, with an alias to `xclip -selection clipboard`, which puts its stdin into the clipboard for convenient pasting into GUI programs such as browsers.
- the_pwner224 5y agoSame here. In bashrc: alias clip='xclip -selection clipboard' Then you can do things like: cat foo.txt | clip To copy the file into your clipboard.
- nerdponx 5y agoInspired by MacOS pbcopy: alias xpaste='xclip -out -sel clipboard' alias xcopy='xclip -in -sel clipboard'