Weird problem I'm submitting as a bug on Libreoffice forum, anyone else here experiencing it?

Yes, they are all running that, and it did cross my mind that could be involved somehow, the machines are software clones of each other, which usually make troubleshooting much easier.

Can you try closing LibreOffice fully, then running it with this command:

XFSETTINGSD_NO_CLIPBOARD=1 libreoffice --safe-mode

(there may be a bit more to it than this, but this is step 1)

O.K. I’ll run it in RESET to factory settings mode under that. With both options under that checked as well. Similar to what I did before..

For the purpose of testing, feel free to just hit “Continue in Safe Mode”. It’s just about testing with a clean slate.

If that doesn’t resolve the issue, we may need to set the XFSETTINGSD_NO_CLIPBOARD variable before xfsettingsd daemon starts. Again, this is just for testing, but let’s run these commands in this sequence, closing LibreOffice first:

pkill xfsettingsd
XFSETTINGSD_NO_CLIPBOARD=1 xfsettingsd &
libreoffice --safe-mode


At least initially, you can see the failure mode here, with the paste option grayed out.

IT’S WORKING!

1 Like

So what did those commands do?

It was the result of looking into the common element: XFCE. That environmental variables disables the clipboard manager in XFCE.

Details about it were shared here, and here. You may wish to provide that as feedback to the LibreOffice support folk, for the next time someone asks :wink:

So, how do I keep the clipboard manager turned off?
Puzzling because I thought I didn’t have any, having deleted the only file I thought responsible on one machine?

You’re not quite out of the woods yet. Those commands won’t persist between boots. The environmental variable needs to be set each time.

I’m just working on figuring that one out (XFCE experts, feel free to jump in).

Which of the above options did/didn’t work?

Did just this work when you tested it?

XFSETTINGSD_NO_CLIPBOARD=1 libreoffice --safe-mode

I just typed those three commands sequentially as you presented them, and as the last one ‘libreoffice --safe-mode’ opened up the spreadsheet, the file was already present, which was surprising as I didn’t have to load it this time, and then the copy paste worked perfectly, effortlessly.

So this command is likely the magic sauce:

XFSETTINGSD_NO_CLIPBOARD=1 xfsettingsd --replace &

Provided that has been run before you attempt a copy/paste (even if LibreOffice is already open it seems), it’ll work?

Let me close everything, reboot the machine, knowing it will reset to ‘not working’, then as I come back, start libreoffice without that command, but run them after startup and see what happens.

Right back..

1 Like

In XFCE’s Session and Startup > Application Autostart, might you be able to add the above as a command that runs “on login”?

O.K. just added that to the Application autostart ( i didn’t even know about that!)

Will reboot again, and see what happens..

1 Like

So, that didn’t work, i just put in that one command’ [quote=“Bink, post:53, topic:70186”]
XFSETTINGSD_NO_CLIPBOARD=1 xfsettingsd --replace &
[/quote]’

But not enough by itself. I was able to create that item in the Application autostart, successfully saved it, and you can see it in the list, but didn’t quite work.

What’s the output of:

echo $XFSETTINGSD_NO_CLIPBOARD

(it should be 1)