ONLYOFFICE / DesktopEditors

An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents
https://www.onlyoffice.com
Other
2.64k stars 311 forks source link

Support for copying to X PRIMARY selections (Linux only) #1592

Open 00-kat opened 3 weeks ago

00-kat commented 3 weeks ago

This issue is unique.

Your idea.

On Linux, there is something known as X PRIMARY selections (and Wayland spec); basically, when you select something, it goes into it's own special clipboard, and if you middle click, it pastes your text. Currently, middle clicking to paste text works, but selecting text doesn't copy it to the PRIMARY selection.

LibreOffice does support it, but it's not the best implementation, so I'm going to be demonstrating Firefox and Mousepad instead:

Video demonstrating X PRIMARY selections by copy and pasting some text across.

I'm not sure whether this is a good idea in spreadsheets, since you're not dealing much with text as much there, but it makes sense in the other ones.