linux

LibreOffice error opening network files in KDE

1 min read

If nothing happens when you try to open files from a network resource with LibreOffice in KDE, it may be due to an existing bug reported here, which I already mentioned in my post.

To work around the problem until it is fixed in some update, we should comment out the line “X-KDE-Protocols=file,http,smb,ftp,webdav” in the LibreOffice launchers located in /usr/share/applications.

Using the suggestion in comment #47 of the bug report referenced above, we can do the following:

  • open a terminal; in KDE we can use Konsole

  • run the following:

ruby
sudo sed -i 's/X-KDE-Protocols=file,http,smb,ftp,webdav/#X-KDE-Protocols=file,http,smb,ftp,webdav/' /usr/share/applications/libreoffice-*

#kde#libreoffice#linux