LibreOffice Alternative

39 replies [Last post]
Beko
Offline
Joined: 08/31/2019

Hi everyone I'm doing some translations and need to send with a .docx extension however even though I save by choosing .docx the formatting is messed up and the person I'm sending it to has to delete extra spaces and tabs where there should be none.

Alternatively does anyone know how to make LibreOffice more compatible where the receiving end is Microsoft Word?

Thanks!

calher

I am a member!

Offline
Joined: 06/19/2015

On 1/18/20 5:48 PM, name at domain wrote:
> Alternatively does anyone know how to make LibreOffice more compatible
> where the receiving end is Microsoft Word?

LibreOffice follows the DOCX definition more strictly than Word does,
ironically.

Microsoft diverges from its own standard on purpose.

nadebula.1984
Offline
Joined: 05/01/2018

Sending the proprietary Microsoft OOXML format means surrendering to Microsoft's social inertia, and forcing others to submit to it as well. That LibreOffice supports Microsoft OOXML poorly is not LibreOffice's fault. It is because Microsoft hoards numerous patents on OOXML format and it refuses to license its patents to free software community. Conversely, it uses its patents as litigation weapons to sue anyone who attempts to implement their proprietary formats.

Here's a workaround that I frequently used to trick such online officing systems which require .doc(x), .xls(x) or .ppt(x) extensions. I still saved my document in ODF formats, i.e. .(f)odt, .(f)ods or .(f)odp, but manually change the extension (which is not really required under GNU/Linux) to said non-free format extensions. This is enough to fool the online submission system. When the receiver tries to open such ODF documents, Microsoft Office could still handle them.

Ultimately, being more compatible with OOXML is a bug, not a feature.

Beko
Offline
Joined: 08/31/2019

Thanks. I really can't help it the person that I'm sending the translation to needs it in .docx and he needs to be able to edit it through word.

I did, in fairness, try and convince him to use libreoffice. He just wouldn't budge.

I can already save in .docx thats not a problem, but perhaps your method will work. I'll try it out today and give an update if it works (after I send a file).

Ark74

I am a member!

I am a translator!

Offline
Joined: 07/15/2009

Maybe use the latest release of LibreOffice?

libreoffice.png
Beko
Offline
Joined: 08/31/2019

Oh wow. I am on libreoffice 5, how did you update with Trisquel?

andyprough
Offline
Joined: 02/12/2015

Oh goodness. Yes definitely get on the latest LO. Go to the LO site, download the deb version for your architecture, extract the resulting tar.gz file, change directory into the resulting LibreOffice folder and then into the DEBS folder, and run this command:
sudo apt install *.deb
Or if that gives you an error this should work
sudo dpkg -i *.deb

You may want to remove the LO 5 with
sudo apt remove libreoffice*

before you install LO 6, or you'll end up with menu entries for both 5 and 6. I'm pretty sure both 5 and 6 can be installed at the same time without causing any trouble, so I don't think you actually have to remove if you don't want to.

Beko
Offline
Joined: 08/31/2019

When I installed LO 6, it shows up in the applications menu and when I click it it launches however after seeing the libreoffice splash image it never opens the word processor.

andyprough
Offline
Joined: 02/12/2015

Can you try to start writer from the command line? Use this command:
$ lowriter

Do you get any error messages?

Beko
Offline
Joined: 08/31/2019

Not an error per se, it says it's not installed. I removed the original libreoffice suite from my machine, then installed the 6.3 version. In the application launcher it says 'libreoffice 6.3' whereas before it was just 'libreoffice'. Replace office with whichever program.

I cannot find the terminal command for my version. I tried

$ lowriter_6.3
$ lowriter-6.3
$ lowriter 6.3

all command not found.

Sorry I couldn't write earlier I wasn't coming to the forums because I'm overwhelmed with work.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

How do you graphically launch LibreOffice? Double clicking on an executable? Using a "launcher"?

Beko
Offline
Joined: 08/31/2019

I have been testing out KDE Plasma so I may have the incorrect terminology but the application runner 'K' and after that clicking 'Applications', then 'Office' and the 'LibreOffice 6.3' that I had installed shows there. A splash image saying LibreOffice 6 shows for a second then it's window on the bottom bar closes and eventually nothing launches.

To answer your question, it is launcher I suppose.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Yes, the menu contains launchers. I guess KDE has a utility to edit the menu and you could see with it what is the command that is executed when you click on "LibreOffice 6.3". Otherwise, you may find the launcher (a .desktop file) in ~/.local/share/applications. That is: in the folder "applications" of the folder "share" of the folder "share" of the hidden folder ".local" (your file manager can show the hidden files) of your personal folder. In such a plain text file, the command follows "Exec=".

nadebula.1984
Offline
Joined: 05/01/2018

So you have manually installed latest LibreOffice from terminal. If you run "soffice" from terminal, which version of LibreOffice is started?

It's also possible to launch Writer, Calc, and Impress by commands "lowriter", "localc", or "loimpress", respectively. No version number is included.

nadebula.1984
Offline
Joined: 05/01/2018

According to my experience, the copy of LibreOffice pre-installed by the GNU/Linux distribution and the copy manually installed by the user can co-exist, since they are installed to different locations. I didn't experience serious conflicts between them.

Ark74

I am a member!

I am a translator!

Offline
Joined: 07/15/2009

It is available on the Trisquel 9 backports repository.

Cheers!

Malsasa
Offline
Joined: 12/01/2016

Freely as in freedom licensed office suite I know other than
LibreOffice are Calligra Suite (https://www.calligra.org) and
ONLYOFFICE (https://www.onlyoffice.com). Still, I recommend
LibreOffice for you.

nadebula.1984
Offline
Joined: 05/01/2018

First explain politely to him why it is bad to use proprietary formats like OOXML. (To do so, you probably also need to explain why OOXML is not a free/open format, and how did Microsoft get OOXML approved by ISO as an "open" format.)

If he wouldn't listen, then still send him ODF files, until he learns to handle ODF files correctly. This is exactly what I did to my postgraduate students. (I unconditionally rejected any proprietary format. Of course, when I replied students' mails, I always politely explained that I couldn't open their attached files using free/libre software.)

Saving your documents in OOXML (or other proprietary formats) defeats the very purpose of using free/libre software. Free software doesn't exist to serve non-free formats. By doing so, you put your documents in grave danger. Since they are in proprietary formats, they are only readable when the owner of their secret formats still maintains them. For example, when Microsoft bankrupts (not absolutely impossible), all its proprietary formats such as OOXML go to the Digital Dark Age. Therefore, using non-free formats is far worse than using non-free software.

calher

I am a member!

Offline
Joined: 06/19/2015

I really don't know what to say with regards to using OOXML for work,
when I have to run a lot of proprietary JavaScript just to find and
apply for a job.

We're doomed.

nadebula.1984
Offline
Joined: 05/01/2018

Before the doomsday, fight it. This shows that we are not willing to accept our doom. This also adds some bitterness to our enemy's victory.

Beko
Offline
Joined: 08/31/2019

"Then still send him the ODF files, until he learns to handle ODF files correctly."

I would love to, but he's my uncle and I can't really be that way with him. I'm not a professor or anything I don't have that clout.

An MIT-Professor and Father of Free Software Stallman can by all means enforce free software wherever he goes because he has a level of respect. I can't be forcing people to use libre software, I'll tell them politely and explain the benefits and leave it at that.

I think that Free Software should be able to coexist as an alternative, but if using free software allows users to only publish to other free software users then what is the point? Libreoffice must be compatible with non-free Word so as to not push me, the user, to use Word instead.

Not trying to go off-topic so I apologize, but I do not have the means to make anyone else go libre other than myself.

nadebula.1984
Offline
Joined: 05/01/2018

Starting version 2007, Microsoft Office should be able to handle ODF files, although it always try to persuade users to convert them to Microsoft's "open" format.

Using free software and free formats allows users to publish their works to everyone, because only free/open formats are interoperable. This doesn't require the accepters to install any non-free software to read them.

According to my experience, switching to free formats such as ODF is the most important (and most difficult) thing.

Malsasa
Offline
Joined: 12/01/2016

What xliang said was true. I have a long article I name it "Support
Open Document Format" presenting several the importance of ODF, why we
all should avoid OOXML, danger of software patents, and many
references & organizations that support ODF too. you can read here
https://linuxdreambox.wordpress.com/2016/01/10/support-open-document-format.

fict10n
Offline
Joined: 12/20/2019

Your approach is incorrect and perverted (no offence).

Sending file in _standard_ Open Document format is all right, decent and
respectful. It should be even an imperative if you believe in and
respect freedom in communication.

You are not forcing anyone to anything when you send a file in standard
format. Sending a file in non-free format means disrespect to a
receiver/reader and to a community you live in.

LibreOffice _IS COMPATIBLE_ thanks to support of standard formats.

"_using free software allows users to only publish to other free
software users_"
It is not true. Anybody is able to publish in ODF and read it because it
is standard. Standard requires publically available full format
specification.

Free Software is not an alternative, it is in fact the only right way to
do computing. The reasons are obvious to anybody with understanding and
common sense.

"_Libreoffice must be compatible with non-free Word so as to not push
me, the user, to use Word instead._"
You are wrong. The problem is artificially and knowingly created in
non-free software. Nothing is obstructing Microsoft to implement ODF
support into 'Word' except their bad and harmful intentions. From the
other side Microsoft has been intentionally preventing others to
implement their proprietary, non-standard formats. They do not publish
full specification of their formats and some parts are even covered by
patents. Which means LibreOffice is in every possible way not allowed to
be compatible with proprietary formats!

On 25.1.2020 23:01, name at domain wrote:

> "Then still send him the ODF files, until he learns to handle ODF files correctly."
>
> I would love to, but he's my uncle and I can't really be that way with him. I'm not a professor or anything I don't have that clout.
>
> An MIT-Professor and Father of Free Software Stallman can by all means enforce free software wherever he goes because he has a level of respect. I can't be forcing people to use libre software, I'll tell them politely and explain the benefits and leave it at that.
>
> I think that Free Software should be able to coexist as an alternative, but if using free software allows users to only publish to other free software users then what is the point? Libreoffice must be compatible with non-free Word so as to not push me, the user, to use Word instead.
>
> Not trying to go off-topic so I apologize, but I do not have the means to make anyone else go libre other than myself.

IrishUSA
Offline
Joined: 12/03/2016

What possible reason does your recipient have for supposedly needing the document you send him to be in .docx?

Why not just send it to him in Open Document Format (.odt)?

MS Office can open, edit, and save to ODF formats - no need other than freedom (which is of course huge but set the aside for now) for him to install and switch to LibreOffice.

MS Office will of course try to scare the user into converting any ODF document it opens into MS Office format by throwing up a window between the document and the user saying that the user may lose supposedly wonderful and crucial MS Office format features, etc. if he doesn't convert. He can just reject or dismiss the window and there your document is. It's far less likely to have formatting errors and issues when kept in its ODF format. Your recipient can then continue to edit it, and then save it in ODF (in this case, .odt).

Beko
Offline
Joined: 08/31/2019

For the case currently I do not know. I sent him ODF files once and he was "unable" to open them. I am publishing in .docx still, I adapted and don't use certain features like the floating text-boxes because often they are distorted or moved.

andyprough
Offline
Joined: 02/12/2015

OnlyOffice can usually do it.

nadebula.1984
Offline
Joined: 05/01/2018

I've checked OnlyOffice's license. It's server and desktop client use AGPL v3, so it's barely acceptable.

However, do keep in mind that OnlyOffice is implemented as SaaSS, which has serious freedom and privacy (and maybe also security) issues, even if the server and client are free software.

BTW, I only sent OOXML files once in recent years. That was when I was required to submit my Ph.D. dissertation to my university's library. They accepted only OOXML files, so I extremely unwillingly edited (one copy of) my dissertation in the stupidest possible way. For example, the reviewer didn't know what was a "field", so we had to create TOC using the stupidest method.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

AGPLv3 is an excellent license. The fact that OnlyOffice saves in OOXML by default is bad.

GNUser
Offline
Joined: 07/17/2013

Given that there is no Office Suite for Android that is Free Software (other than LO Viewer, which is barebones and not functional in all devices), what would be your position regarding OnlyOffice, for using it in Android?

Thanks for the input.
Also anyone else who has tried it, any feedback is welcome!

nadebula.1984
Offline
Joined: 05/01/2018

There is a "pre-alpha", experimental build of LibreOffice for Android (via F-Droid), but far from being usable.

However, if you want to create or edit documents (text, spreadsheet, presentation) efficiently, you may also need an OTG hub, a keyboard and a mouse.

To make the editing comfortable, you may also need a chair and a desk, and preferably, an external display.

Taking these into consideration, a netbook may be more suitable than a smart phone for document editing. This is why there's not much need for office suite on Android.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

I personally do not own a smartphone (or any other tracking device). And I almost never use an office suite (I use LaTeX for text and slides). As a consequence, I am not aware of the offer in terms of office suite for Android. But if ONLYOFFICE suits you, go for it. It is free software after all. Just do not send OOXML (it default format) to others. Use ODF instead. Or PDF if the document is not meant to be further edited.

GNUser
Offline
Joined: 07/17/2013

I was convinced that ONLYOFFICE was a online solution only. But in this page (https://www.onlyoffice.com/download-desktop.aspx) they also offer downloadable versions for all operating systems. I suppose that means one could install it on Trisquel in place of LO, if there was a reason for it? That way it wouldn't be SaaSS right, which would be much better?

I notice they also have an Android version available as Play Store, I wonder if that is also FLOSS?

andyprough
Offline
Joined: 02/12/2015

> I was convinced that ONLYOFFICE was a online solution only. But in this page (https://www.onlyoffice.com/download-desktop.aspx) they also offer downloadable versions for all operating systems.

The OnlyOffice desktop editors are licensed under GNU AGPL v3, and will run completely offline. To check, recently I installed a fresh installation on a brand new system, and turned off networking prior to opening OnlyOffice for the first time. It ran fine and edited a document with no problems. It does not appear to me that it needs to be online or phone home in order to work.

The OnlyOffice mobile app has a freeware license according to Wikipedia. I have not been able to find a copy of the license, but I'm assuming it's probably incompatible with GPL . This mobile app did not work for me - it either did not open documents, or it did not allow for editing. I recommend the Collabora Office app instead, if you can find a copy of the .apk. It is a version of LibreOffice, so should have the correct license, and it actually works in my experience.

nadebula.1984
Offline
Joined: 05/01/2018

It's very likely that Google Play doesn't endorse free/libre software, just like Rotten Apple app store and Microsoft Losedows store. In order to make OnlyOffice endorsed by Google Play, the developers had to make a non-free version (see "selling exceptions" article by RMS).

OnlyOffice has made several "ruinous compromises" (also RMS's article). One is that OnlyOffice is implemented as SaaSS. Another is that OnlyOffice uses proprietary formats by default. Still another is that OnlyOffice aimed at popularity (endorsement by Google Play) at the cost of (users') freedom.

The x86 version of OnlyOffice is released under free/libre license and can be run locally. But why should I use it when I already have LibreOffice?

andyprough
Offline
Joined: 02/12/2015

> It's very likely that Google Play doesn't endorse free/libre software

There's a large amount of GPL'd software in Google Play. Many of the titles on F-Droid are also on Google Play. You may be thinking of the Apple store, they may have such a restriction.

> OnlyOffice has made several "ruinous compromises" (also RMS's article). One is that OnlyOffice is implemented as SaaSS.... The x86 version of OnlyOffice is released under free/libre license and can be run locally.

These two statements of yours seem in contradiction. I really know nothing about their SaaS version, I've only ever used the free desktop version which as I said is not SaaS.

> But why should I use it when I already have LibreOffice?

Agreed. If LO handles all your needs, it's the better choice.

nadebula.1984
Offline
Joined: 05/01/2018

Sorry for the confusion. I meant to say that OnlyOffice on smart phone/tablet may lack the editing functionality, so the arm version seems to be implemented as SaaSS.

I've just taken a look at libreoffice.org and found that Collabora just released an officially "supported" editor for Android and iOS. I'm looking forward to F-Droid version of Callabora Office, since Google Play is inaccessible from China.

andyprough
Offline
Joined: 02/12/2015

> I've just taken a look at libreoffice.org and found that Collabora just released an officially "supported" editor for Android and iOS. I'm looking forward to F-Droid version of Callabora Office, since Google Play is inaccessible from China.

This morning I emailed the lead developer, Michael Meeks. He sent me a link to download nightly .apk snapshots that you should be able to side load: https://www.collaboraoffice.com/Collabora-Office-Android-Snapshot/

If you want to try to build it yourself, the android app github is here, with build instructions: https://github.com/LibreOffice/online/tree/master/android

The 4.2.0 release is here: https://github.com/LibreOffice/online/releases/tag/CP-Android-4.2.0

The build instructions do not look simple. Might try the .apk snapshot if you can access it from where you are. If not, let me know and I'll figure out some way to get a copy to you.

GNUser
Offline
Joined: 07/17/2013

I downloaded the latest apk and installed in my tablet. It opens but when actually trying to create a new file it stops responding. It could be that the android version I am using is too old for this, but I couldn't get it to work with either a word or spreadsheet document.

Thanks anyway, I will keep an eye on this.

andyprough
Offline
Joined: 02/12/2015

> I downloaded the latest apk and installed in my tablet. It opens but when actually trying to create a new file it stops responding. It could be that the android version I am using is too old for this, but I couldn't get it to work with either a word or spreadsheet document.

I installed a versions from Feb. 28th, and updated with a version from Feb. 29th, and they both worked. It could be that the snapshot you downloaded has a bug. Obviously, nightly snapshots are not going to be the most stable.