LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2006, 10:00 AM   #1
Mr_Shameless
Member
 
Registered: Aug 2006
Location: Asia
Distribution: Ubuntu
Posts: 59

Rep: Reputation: 15
Question How to start openOffice from commandline?


Hi,

Im using blackbox, and openOffice is not available in the menu. How can I start it from the command line? I've tried "openoffice", "OpenOffice", "OpenOffice.org", etc. but none of them work. (I have openOffice and i can start it under Gnome). This might sound dumb but please help me.

Thank you.
 
Old 09-28-2006, 10:03 AM   #2
olaola
Member
 
Registered: Aug 2006
Location: Italy
Distribution: Fedora
Posts: 41

Rep: Reputation: 15
in my version is "ooffice"
 
Old 09-28-2006, 10:08 AM   #3
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,153

Rep: Reputation: 60
Quote:
Originally Posted by Mr_Shameless
Hi,

Im using blackbox, and openOffice is not available in the menu. How can I start it from the command line? I've tried "openoffice", "OpenOffice", "OpenOffice.org", etc. but none of them work. (I have openOffice and i can start it under Gnome). This might sound dumb but please help me.

Thank you.
depending on where you installed openoffice, it may or may not be in your path. You can either do...

Code:
/path/to/soffice
That will start the soffice without any specific part of it (like writer, calc or impress).

To start something specific, try

Code:
/path/to/oowriter
Code:
/path/to/oocalc
Code:
/path/to/ooimpress
Tux,

In slackware, OpenOffice is generally install in /opt.
 
Old 09-28-2006, 10:08 AM   #4
hand of fate
Member
 
Registered: Nov 2003
Distribution: Mandriva
Posts: 441

Rep: Reputation: 31
Traditionally the command has always been "soffice". Other commands might also work in recent versions, but that's the one I use.

You can also start a particular component (such as Writer) by running "soffice -{component name}", for example "soffice -writer".
 
Old 09-28-2006, 11:04 AM   #5
Mr_Shameless
Member
 
Registered: Aug 2006
Location: Asia
Distribution: Ubuntu
Posts: 59

Original Poster
Rep: Reputation: 15
I'm so sorry for not saying anything about my distro because I thought it was not relevant. I use Gentoo. I tried "ooffice" and "soffice" but they didnt work, either.

This is the value of my PATH variable: /usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/kde/3.5/bin:/usr/qt/3/bin
Do I need to add anything to it?

Thank you guys
 
Old 09-28-2006, 11:10 AM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Fedora, Gentoo, Ubuntu (all servers at work are openSUSE)
Posts: 6,931

Rep: Reputation: 128Reputation: 128
Try this command:
Code:
mingdao@silas:~$ which soffice
/usr/bin/soffice
to find the location of the application.

Then you should be able to add it to your menu.
In Fluxbox I use:
Code:
[submenu] (Office)
      [exec]   (Open Office) {/opt/openoffice.org2.0/program/swriter}

Last edited by Bruce Hill; 09-28-2006 at 11:12 AM.
 
Old 09-28-2006, 01:14 PM   #7
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
Code:
bash-3.1$ soffice -impress
bash-3.1$ soffice -base   
bash-3.1$ soffice -draw   
bash-3.1$ soffice -web
bash-3.1$ soffice -writer
bash-3.1$ soffice -calc
and
Code:
bash-3.1$ which soffice
/usr/bin/soffice
It is usually installed under /opt/openoffice.org 2.0, but not always.
I think the symlinks from /opt/openoffice.org 2.0/program (or wherever it was installed) to /usr/bin were not created in your case.

Last edited by Eternal_Newbie; 09-28-2006 at 01:22 PM.
 
Old 09-29-2006, 12:05 PM   #8
Mr_Shameless
Member
 
Registered: Aug 2006
Location: Asia
Distribution: Ubuntu
Posts: 59

Original Poster
Rep: Reputation: 15
Well, today when i was editing the fluxbox menu, i found out what to type. It is "ooffice2" in my case.

Anyway, thank you a lot, great guys
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
openoffice start problem soldan Linux - Software 3 08-28-2006 07:15 PM
OpenOffice 2.0.2 does not start tarheel92x Linux - Software 5 04-26-2006 12:22 AM
OpenOffice won't start Haiyadragon Linux - Newbie 1 03-14-2004 02:14 PM
OpenOffice doesn't start boreo Linux - Software 1 10-09-2003 12:25 AM
OpenOffice won't start quatsch Linux - Software 5 09-27-2003 04:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration