You are not logged in.
Arch Linux 64 bits
Parcellite 1.1.9
Any of these CLI commands copy the string in the second line of parcellite list (unselected), not in the first, so it's unusable under CLI :
echo “text to copy” | parcellite
parcellite “text to copy”
echo “text to copy” | parcellite -c
Anyone has the same issue?
To copy with habitual text selection is ok.
Thank you
Last edited by emto (2014-12-03 15:06:07)
Offline
Do you have the synchronize clipboards enabled?
I'm working only with copy and paste with Parcellite command line ( CLI )
try to do this:
# echo "StringToCopy" | parcellite Try it with any of the three methods in parcellite man pages. Is it "StringToCopy" in the top of your parcellite history list?. For me, it appears on the second row and I cannot access it with bash script.
I have a few bash scripts using parcellite CLI to get data from clipboard and using them like parameters. It was all ok (Lyrics, trasnlations, urls, etc) until an undetermined update.
Offline
I know nothing about parcellite - I installed it to try this out but I couldn't get it to do anything. If you'd consider alternatives, xsel works "out of the box" for CLI access.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I know nothing about parcellite - I installed it to try this out but I couldn't get it to do anything. If you'd consider alternatives, xsel works "out of the box" for CLI access.
Thank you for advice, I'll apply Occam's razor and use xclip. I was stuck with parcellite and we have very easy and reliable system tools.
#To get clipboard content:
DataFromClip=`xclip -o -selection clipboard`
#To write to cliboard:
echo "$DataToClip" | xclip -selection clipboardUsing Clipboard to share with parcellite, like to have history there.
Offline