Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Opening multiple docs from same terminal

  Date: Dec 03    Category: Unix / Linux / Ubuntu    Views: 438
  

I am slowly trying to move completely to terminal. But, one of the things I am
fighting with is opening multiple open office docs from same terminal.


I type on terminal e.g.


"openoffice.org3 test.doc"


and I get the following messages back from terminal


"** (soffice:7940): WARNING **: unable to get gail version number"


and the terminal then become useless. The cursor keeps on blinking and I need to
open another terminal for doing anything else. If I close that word doc, I get
my terminal back.


Do you guys know how to get around that problem?

Share: 

 

9 Answers Found

 
Answer #1    Answered On: Dec 03    

CTRL + Z will kill the open-office automatically and give you your cursor
back.. Alternatively, space and type "&" without the quotes after your
command to open it in the background to have your terminal cursor
immediately come back to you.

To fix your error, use the command "ooffice -writer" to launch the word
processor with a new document... or add the file name of the document you
wish to edit after that command if it is in the directory your terminal is
currently at.

 
Answer #2    Answered On: Dec 03    

ooffice-writer does not work on my system. It gives the error saying bash:
ooffice-writer: command not found



I found another command from the internet, soffice -writer & swriter, both of
them does not work.


I installed the latest version of open office, i think 3.2 from their website.
Do you reckon that might be the culprit, and it might need some other command?

 
Answer #3    Answered On: Dec 03    

Openoffice won't work without a GUI environment.

 
Answer #4    Answered On: Dec 03    

I was reading on the internet that using open office in terminal gives u more
control e.g. printing the doc without opening open office, opening open office
without splash screen etc etc. They also said that soffice -writer is the
command for it, but it does not work for me.


I am sure there must be a way, but I am just so stupid.

 
Answer #5    Answered On: Dec 03    

I thought you meant you were trying to
launch openoffice without a graphical environment, which would certainly
give an error - but if you are launching it from a terminal session on a
GUI desktop, then it should work.

On my system (which has the openoffice which came with the OS) when I
type "openoffice.org blah.doc" it does what one would expect - that's
why it sounds like something is wrong with your particular install.

If you downloaded a tarball from openoffice.org, then it would
definitely be better to remove it, and install a proper openoffice
package from the ubuntu repositories.

 
Answer #6    Answered On: Dec 03    

Apologies for previously not understanding your post. Yeah, I have got a GUI
environment.



I will uninstall and install from the repos and give it a go. But, i think, in
repos, there is an older version of open office

 
Answer #7    Answered On: Dec 03    

There should be a space between ooffice and -writer. If that doesn't work, just
right click in one of your menus, select edit menus, navigate to the open office
writer menu item. Highlight that menu option. Now click properties or edit,
depending on your version. Write down what it says in the "command" box and use
that to launch the program. Hopefully that will work for you.

But you still may want to reconsider reinstalling oofice from the
repositories...

 
Answer #8    Answered On: Dec 03    

You are a genius. It worked perfectly fine. The command was slightly different,
I found it with your method. However, I am still getting that error "**
(soffice:22407): WARNING **: unable to get gail version number"


I read on the internet that it is not harmful or anything, but, its slightly
frustrating. Do you know what might be causing this error? Or does everyone has
to live with it for the time being?

 
Answer #9    Answered On: Dec 03    

Glad that worked for you. It looks like this gail error is a known bug and
the fix is planned for release in V 3.3

See --> qa.openoffice.org/issues/show_bug.cgi?id=101458

(btw, the genius, I suppose, would be whoever the helpful soul was that
first told me about that)

 
Didn't find what you were looking for? Find more on Opening multiple docs from same terminal Or get search suggestion and latest updates.




Tagged: