Try;
A) Remote Files > Manage Services > Windows Share.
OR
B) If you already have libreoffice-gnome installed,
Preferences > Settings > Session Settings > Environment
SAL_USE_VCLPLUGIN=gtk3 instead of qt5 (logout/login).
Then use the gtk picker; Open_File > (Left Column:drives)
OR
C) Donāt use gvfs, and mount your drives manually.
B) if i use the file picker from within libreoffice startcenter there is no problem in opening the files with RW (if i use the āoldā files that start with smb://), however if i try to double click them on pcmanfm-qt it wonāt work (even with the VCLPLUGIN=gtk3)
C) wellā¦ it used to work well in Lubuntu 22.10. I just browsed the remote drives with no problem. I really donāt see anything good from gvfs. For now i only got bad resultsā¦
A) yes, itās the 2nd item on the left after you open libreoffice. You have to enter your driveās share details to add a service. Then it will remember the next time.
B) Thatās right It doesnāt work from pcmanfm-qt. Itās not a qt thing, cos it doesnāt work from my other file manger which uses gtk either.
A) Ok, this is what iāve done before then. It does work as an alternative (like opening the files that has the old smb:// url from the start center), but it is far from ideal in our case!
Is there any other way to restore the old behavior of Double-Click to open a remote libreoffice file?
Because opening the files from startcenter causes lots of problems in our workflow.
The symptoms I see look remarkably like this bug.
If you follow it all the way through, it leads to this being filed.
A very interesting read. Especially the very last post on the 2nd link above.
I donāt know what happened after that. Maybe someone fixed it and itās regressed(?)
The gist is that pcmanfm-qt is not sending the gio (smb://) type paths to libreoffice. Instead itās sending the /run/user/1000/ā¦ paths which libreoffice is not handling well.
I have not tried the workaround script given in that last post but itās probably ok, because I tried
libreoffice smb://ā¦ in a terminal and it worked.
I havenāt used perl before, but it seems to work.
Basically I replaced āhostā&āuserā to āserverā&āshareā,
and then re-arranged the $url.
I edited it and changed the lines according to what you said.
i then copy-pasted the file into ~/.local/share/applications/
3.1 - i pasted it in pcmanfm-qt both as root and as a regular userā¦ just in case
3.2 - also just in case i pasted it with the name pcmanfm_open_libreoffice.desktop and pcmanfm_open_libreoffice
i then went into the windows share, right-clicked the file and choose āOpen withā and pasted pcmanfm_open_libreoffice %u as a āCustom commandā and pressed OK
i double clicked the file and still got the error
(Note: after the errors, i also tried to change the existing opener in /usr/share/applications/libreoffice*.desktop by right-clicking the libreoffice-calc.desktop file and choose āOpen withā and pasted pcmanfm_open_libreoffice %u as a āCustom commandāā¦ and i also tried a few other āinvented-in-the-momentā steps)