You are not logged in.
Hello!
I set (in the file of associations):
default/.odt
Open=openoffice.org3 %fThen restart mc and hit Enter on ODT file, nothing happens. Where is a mistake?
Offline
Use something like this instead:
regex/\.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
Open=(libreoffice %f &):: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Get an error:
/tmp/mc-alex/mcextadg1id: line 2: ooffice: command not foundI can start openoffice.org3 with no file just from CLI though. Maybe this has something to do with $PATH?
Offline
Are you using OpenOffice or LibreOffice? I'm using those lines with neither of them (with o3totxt instead) and everything is just fine. I believe when you change your launch command from 'ooffice' to 'loffice' (that's an alias in the official package) you should get what's expected.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
I believe when you change your launch command from 'ooffice' to 'loffice'
It's OpenOffice and normally I start it with "openoffice.org3". "ooffice" and "loffice" make no change to mc.
Offline
OK, the last try: have you put the command in brackets, like this
Open=(openoffice.org3 %f &)I doubt the problem has anything to do with $PATH, as if it had, you weren't able to launch OO from the command line...
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
$ cat ~/.config/mc/mc.ext | tail -n 4
regex/\.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
Open=(openoffice.org3 %f &)Offline