How to open a network document using KDE (and libreoffice)


Recently I’ve switched from Windows 8 to KDE and I’m still trying to get used to the new environment. I’m missing some useful software (a good mysql client like Toad… likewise for Oracle and VMware client *sigh*). Recently I hit a new problem. With KDE I was unable to open libreoffice file on a network and in particular file that where on a smb share. When I double clicked my document with dolphin I could see libreoffice splash screen… then nothing. If I had libreoffice already open and dragged the file on an active windows I got: Object not accessible. The object cannot be accessed due to insufficient user rights.

p, li { white-space: pre-wrap; } Trying to open a file with the “open” command in libreoffice menu produced: “You can only select local files”. I spent several our searching for a solution and eventually I discovered I had to comment the lines: X-GIO-NoFuse=true X-KDE-Protocols=file,http,smb,ftp,webdav in my /usr/share/applications/libreoffice-* files. The second comment is necessary if you are using Dolphin like me. To automate this change you can use the commands below since you need to comment several files.   sudo sed -i ‘s/X-GIO-NoFuse=true/#X-GIO-NoFuse=true/’ /usr/share/applications/libreoffice-*

sudo sed -i ‘s/X-KDE-Protocols=file,http,smb,ftp,webdav=true/#X-KDE-Protocols=file,http,smb,ftp,webdav/’ /usr/share/applications/libreoffice-*   I hope this can save some time people with my same problem.