You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if this has already been described somewhere. I'm new to cb and have read through the project, documentation, and these discussions without landing on what I'm looking for.
From a Debian-based system (currently PopOS) using X11, I'd like to use cb to copy the contents of text-based files from my terminal so that I can paste that content into other applications. For example I've attempted to do cb copy ./my-file.sql and then go into a tool like DBeaver and use Ctrl + V to paste the content, and instead just get /run/user/1000/Clipboard/0/data/7/my-file.sql pasted.
I've also experimented with doing something like cb copy < ./my-file.sql and cat ./my-file.sql | cb copy, and it seems to work, but perhaps due to the amount of lines or fancy characters in my SQL file, it gives a strange output and results in nothing being placed on my X11 clipboard. The strange output I'm seeing is:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Sorry if this has already been described somewhere. I'm new to
cb
and have read through the project, documentation, and these discussions without landing on what I'm looking for.From a Debian-based system (currently PopOS) using X11, I'd like to use
cb
to copy the contents of text-based files from my terminal so that I can paste that content into other applications. For example I've attempted to docb copy ./my-file.sql
and then go into a tool like DBeaver and use Ctrl + V to paste the content, and instead just get/run/user/1000/Clipboard/0/data/7/my-file.sql
pasted.I've also experimented with doing something like
cb copy < ./my-file.sql
andcat ./my-file.sql | cb copy
, and it seems to work, but perhaps due to the amount of lines or fancy characters in my SQL file, it gives a strange output and results in nothing being placed on my X11 clipboard. The strange output I'm seeing is:I'm sure there's some simple way to accomplish what I'm after. Any advice or direction?
Beta Was this translation helpful? Give feedback.
All reactions