[SOLVED] rtf files all unreadable

Issues with installing under all GNU/Linux Distributions
Post Reply
triplemaya
Posts: 41
Joined: Sat May 11, 2013 5:13 pm

[SOLVED] rtf files all unreadable

Post by triplemaya »

Hi. New pc. Fresh install. Running LMDE2. Copied everything over to the new box. All rtf files open as if opened by a text file app! ie all the html stuff is showing.
A new rtf file has the same problem.
Everything is identical copied straight over.
Running Apache 4.1.2 on both machines.
I have removed all settings and restarted with none of my personal settings and the problem persists.
:x
Last edited by floris v on Sat Oct 08, 2016 3:17 pm, edited 2 times in total.
Reason: Added Solved icon, floris v, moderator
OpenOffice.org 3.4.1 Debian Wheezy
User avatar
Zizi64
Volunteer
Posts: 11353
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: rtf files all unreadable

Post by Zizi64 »

What are the extensions of those filenames?

Can you upload a problematic example file here?
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
floris v
Volunteer
Posts: 4422
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: rtf files all unreadable

Post by floris v »

Can you describe that a little better? Do you mean that when you open an RTF file, you get a dialog box asking what kind of document it is? In that case, start saving with an extension.
OpenOffice 4.1.11 on Ubuntu; LibreOffice 6.4 on Linux Mint, LibreOffice 7.6.2.1 on Ubuntu
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
triplemaya
Posts: 41
Joined: Sat May 11, 2013 5:13 pm

Re: rtf files all unreadable

Post by triplemaya »

Many thanks for the quick replies.
Sorry for the lack of detail.
The extension in use is .rtf
The file opens, but has all the ooo formatting info visible.
screenshot attached
Attachments
Screenshot at 2016-10-08 12-19-22.png
OpenOffice.org 3.4.1 Debian Wheezy
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: rtf files all unreadable

Post by RoryOF »

You can open the file in OpenOffice by setting file associations to tell computer to use OO to open RTF files. However, OO does not really like RTF files - you might be better to use AbiWord or (better yet) WordPad.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
triplemaya
Posts: 41
Joined: Sat May 11, 2013 5:13 pm

Re: rtf files all unreadable

Post by triplemaya »

thanks for the reply rory but I have hundreds if not thousands of rtf files to work with so that does not help!
The issue is how to read and use the files in ooo.
Plus, of course, there is obviously a specific problem my old box with identical setup works fine.
OpenOffice.org 3.4.1 Debian Wheezy
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: rtf files all unreadable

Post by RoryOF »

Setting a file association correctly will cause OO to open the RTF files, but as I said, this may not be satisfactory and there is no known fix when using OO.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
triplemaya
Posts: 41
Joined: Sat May 11, 2013 5:13 pm

Re: rtf files all unreadable

Post by triplemaya »

My bad
rtf files were set to open with the standard text editor. Doh
So thanks to Rory because in setting up to use abiword I noticed.
PEBKAC !!
OpenOffice.org 3.4.1 Debian Wheezy
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [SOLVED] rtf files all unreadable

Post by RoryOF »

This thread
viewtopic.php?f=7&t=85424
may illustrate the point about OO not liking rtf files.

Be certain to check that each file is complete before letting it out of your hands.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
triplemaya
Posts: 41
Joined: Sat May 11, 2013 5:13 pm

Re: [SOLVED] rtf files all unreadable

Post by triplemaya »

Thanks.
I have used it as the lowest common denominater between windows and linux when I want formatting not present in txt. Probably do better with .doc by the sound of it.
BTW in case of interest to anyone I found that just renaming a .rtf made in ooo to an odt makes it work perfectly!?
OpenOffice.org 3.4.1 Debian Wheezy
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [SOLVED] rtf files all unreadable

Post by RoryOF »

OO is "intelligent"; it can identify a file type. There should be no difference between the file renamed to .odt and the file as an .rtf. Changing a file type does not change the internals of the file, any more than putting a donkey in striped pyjamas turns him into a zebra.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
triplemaya
Posts: 41
Joined: Sat May 11, 2013 5:13 pm

Re: [SOLVED] rtf files all unreadable

Post by triplemaya »

no, obviously.
I was thinking ooo somehow makes supposedly rtf files as odt files or something.
doh
again!
OpenOffice.org 3.4.1 Debian Wheezy
User avatar
Zizi64
Volunteer
Posts: 11353
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: [SOLVED] rtf files all unreadable

Post by Zizi64 »

I was thinking ooo somehow makes supposedly rtf files as odt files or something.
The ODF is an International Standard document format: ISO/IEC 26300
https://en.wikipedia.org/wiki/OpenDocument

The .rtf and the binary .doc formats never was standardized, they have many-many subversions.
https://en.wikipedia.org/wiki/Rich_Text_Format
The AOO can save into a few versions of the .doc format.
The Libreoffice can save your document in the Strict version of OOXML standard (.docx), but the MS not support yet the Strict version of the Standard.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
triplemaya
Posts: 41
Joined: Sat May 11, 2013 5:13 pm

Re: [SOLVED] rtf files all unreadable

Post by triplemaya »

Thanks. I was aware the ODF was fully ISO, but I did not know it was practically on its own. The creeping versions of .doc have struck me as a mess, which is why I stuck to rtf for dual use. I often want more than txt provides.
The Libreoffice can save your document in the Strict version of OOXML standard (.docx), but the MS not support yet the Strict version of the Standard.
Classic!
OpenOffice.org 3.4.1 Debian Wheezy
User avatar
floris v
Volunteer
Posts: 4422
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: [SOLVED] rtf files all unreadable

Post by floris v »

LibreOffice seems to have better RTF support btw.
OpenOffice 4.1.11 on Ubuntu; LibreOffice 6.4 on Linux Mint, LibreOffice 7.6.2.1 on Ubuntu
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
triplemaya
Posts: 41
Joined: Sat May 11, 2013 5:13 pm

Re: [SOLVED] rtf files all unreadable

Post by triplemaya »

Thanks. Libre has a fatal flaw from my point of view. I often open doc after doc looking for a certain string (I should probably get a better desktop search app). In aoo the string in the search box is the same as when last used on any doc. This saves a huge amount of effort and stress when I am in a hurry to find the piece of text I am looking for.
While I am moaning, I think ooo has never had the same utility since the interface for the spell check was radically modernised to imitate MS word. I now just copy any text to be checked into thunderbird, which has the exact same interface as used to be in ooo, spellcheck and copy back. I time it as between 2 and 5 times quicker. In the new interface you have to stop and use the mouse. Not only are there around 1 tab tab tab tab tab tab tab tab s required to get from one field to another, this changes depending on the state of the dialog box. Ugly imo.
My real gripe is that the old interface was not kept in the code as an option one could select. As a programmer that seems a really crazy waste of good, robust, well-developed code.
OpenOffice.org 3.4.1 Debian Wheezy
Post Reply