#25 fpaste from clipboard not working as expected
Closed: Fixed 6 years ago Opened 7 years ago by farhaan.

Replicating

I copied a text using Ctrl-V and then I went to the terminal and ran fpaste -io
this should have pasted the content on fpaste and returned the url on the existing clipboard
but the content on the clipboard remain intact.


heya,

Thanks for your issue. Actually, it seems to work. The problem is that on Linux, we usually have two clip boards - the X clipboard, and usually a DE specific one. The -o flag only sets the X clipboard. So, after using this, if you try xsel -o in the terminal, it'll return the URL. If you try to use Ctrl V or right click and paste etc., it accesses the DE clipboard which hasn't been changed and won't show the URL. Can you check please?

The two clipboards have been a cause for confusion for a long time. You have various tools that keep them in sync etc. (parcellite is one that's in the Fedora repos), but I don't think there's much more we can do here. If we want to set both, we'll have to install one of these tools but that'll make fpaste DE dependent :(

Try this: fpaste -io --selection=clipboard - it should do what you want.

FIled #27. Do check this and let me know. We'll close this if the above command works for you :)

--selection=clipboard this seems to works for me :)

Fixed I believe, @farhaan? Closing. Please test master and re-open if it doesn't work.

Metadata Update from @ankursinha:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata