desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #55300
[Bug 901279] [NEW] Libreoffice and GVFS problem opening files on a Windows share
Public bug reported:
Hi all,
I have problems opening ODT, ODS and other Libreoffice files on a Windows share. The problem is that using PCManFM (LXDE default filemanager), double clicking on a file cause Libreoffice to starts, but the process suddenly terminate.
I found that this is caused by GVFS's file URI (eg: smb://...) not being
recognized by Libreoffice (yes, I installed the gtk and gnome
integration packages). So LIbreoffice try to open the file but it can't
and so it immediatly exits.
The solution is simple: launch Libreoffice passing the %F (filepath)
parameter and _not_ the %U (URI) one. It can be done simply modifying
the libreoffice-*.desktop launchers in /usr/share/applications.
Please note that, using Nautilus, the problem does not shows because
Nautilus appear to always pass filepath, and not URI, to Libreoffice
(and to other applications, probably).
Steps to reproduce:
- create a windows share and copy a ODT, ODS or any other Libreoffice file on it;
- browse the share with PCManFM and double click on the Libreoffice file;
- you will see Libreoffice starting but it will sudden exits.
Steps to workaround:
- go in /usr/share/applications;
- edit the various libreoffice-*.desktop substituting the line "Exec=libreoffice %U" with "Exec=libreoffice %F";
- browse the share with PCManFM and double click on the Libreoffice file;
- you will now be able to open the file with Libreoffice.
Regards.
** Affects: libreoffice (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/901279
Title:
Libreoffice and GVFS problem opening files on a Windows share
Status in “libreoffice” package in Ubuntu:
New
Bug description:
Hi all,
I have problems opening ODT, ODS and other Libreoffice files on a Windows share. The problem is that using PCManFM (LXDE default filemanager), double clicking on a file cause Libreoffice to starts, but the process suddenly terminate.
I found that this is caused by GVFS's file URI (eg: smb://...) not
being recognized by Libreoffice (yes, I installed the gtk and gnome
integration packages). So LIbreoffice try to open the file but it
can't and so it immediatly exits.
The solution is simple: launch Libreoffice passing the %F (filepath)
parameter and _not_ the %U (URI) one. It can be done simply modifying
the libreoffice-*.desktop launchers in /usr/share/applications.
Please note that, using Nautilus, the problem does not shows because
Nautilus appear to always pass filepath, and not URI, to Libreoffice
(and to other applications, probably).
Steps to reproduce:
- create a windows share and copy a ODT, ODS or any other Libreoffice file on it;
- browse the share with PCManFM and double click on the Libreoffice file;
- you will see Libreoffice starting but it will sudden exits.
Steps to workaround:
- go in /usr/share/applications;
- edit the various libreoffice-*.desktop substituting the line "Exec=libreoffice %U" with "Exec=libreoffice %F";
- browse the share with PCManFM and double click on the Libreoffice file;
- you will now be able to open the file with Libreoffice.
Regards.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/901279/+subscriptions
Follow ups
References