I'm building a command line tool in order to make some of my tasks more efficient. I need to be able to write content to the clipboard, but for some reason it's not working for me.
I've tried installing both xclip and xsel, but both have the same behavior: they can read/write to the clipboard fine, but I cannot access it from the main Ubuntu GUI.
I've also tried it in the terminal...
echo "hello" | xclip
Run Code Online (Sandbox Code Playgroud)
Then if …