View Single Post
Old 09-10-2023, 04:32 PM   #149
philja
Addict
philja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enoughphilja will become famous soon enough
 
Posts: 270
Karma: 516
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
Quote:
Originally Posted by KevinH View Post
So it seems xsel and xclip are not even installed by default anymore for some strange reason.

Here is what I did to test, after opening a terminal:

which xsel

# nothing found

#installed xclip and xsel tools
sudo pacman -S xclip xsel

# made sure xsel worked now
echo "hello" | xsel -ib

Then opened my favourite editor and hit paste:

emacs junk.txt

And sure enough "hello" appeared.

So it appears you can get this to work but you just need to install xclip and xsel if you are running X11 and not wayland at least on a recent Linux like Arch or Manjaro
I had already checked xsel and it was installed. But xclip wasn't. I've installed it and tried your little 'hello' test and sure enough it goes to the clipboard for pasting.

But that hasn't made any difference to the InsertImageSVG plugin in my linux. Its 'Copy' function does nothing. 'Insert' works fine and I can copy with Ctrl-C from the page inserted by the plugin and then paste it anywhere in any page I wish - and see it ok in the clipboard.
philja is offline   Reply With Quote