Topic: Howto: Install OpenOffice 3.* using openoffice.org debs

This Howto will install Openoffice 3.* using the debs from the openoffice.org site. It’s just a personal preference but I like it this way as it doesn’t drag in any unnecessary dependencies.

N.B. I now have a script to install this automatically http://dtx.omnsproject.org/?p=403

N.B. Openbox users will still need to add the menu entries in manually as in the second half of this how-to. This however doesn't apply to Statler Alpha 2 users who install Ooo via the repos. In this case Alpha2 has a pipe menu that does the job automatically smile

Step 1. Installing OpenOffice 3.*
First you will need to download the debs for your system from the openoffice org website. Make sure you download a Linux DEB package. Go to http://download.openoffice.org/other.html . I usually download the English US or GB packages depending on what is available but you may want another. I assume they will work just as well

Once you have this package downloaded navigate to it in thunar or pcmanfm and then untar it.(Right Click-->Extract here) Navigate into the folder that is created, then into the DEBS folder and then open a terminal in that folder. You can do this in thunar by right clicking in the folder and choosing 'Open in Terminal'.

Then within the terminal simply run this command

sudo dpkg -i *.deb

When this is finished run the command

cd desktop-integration

then run the

sudo dpkg -i *.deb

command again. This will install the debian desktop-integration package which will give debian menu entries if you use the the menu applet.

Step 2: Adding menu entries to the Openbox Menu
To add menu entries to the standard menu you need to edit  the menu.xml config file

Preferences-->Openbox config-->Edit menu.xml

In the file that opens go to the        

<menu id="office" label="Office">

section and add these menu entries where you want them to fit in on the menu

            <item label="OpenOffice.org Base">
                <action name="Execute">
                    <execute>
                        /opt/openoffice.org3/program/sbase
                    </execute>
                </action>
            </item>
            <item label="OpenOffice.org Calc">
                <action name="Execute">
                    <execute>
                        /opt/openoffice.org3/program/scalc
                    </execute>
                </action>
            </item>
            <item label="OpenOffice.org Draw">
                <action name="Execute">
                    <execute>
                        /opt/openoffice.org3/program/sdraw
                    </execute>
                </action>
            </item>
            <item label="OpenOffice.org Impress">
                <action name="Execute">
                    <execute>
                        /opt/openoffice.org3/program/simpress
                    </execute>
                </action>
            </item>
            <item label="OpenOffice.org Math">
                <action name="Execute">
                    <execute>
                        /opt/openoffice.org3/program/smath
                    </execute>
                </action>
            </item>
            <item label="OpenOffice.org Writer">
                <action name="Execute">
                    <execute>
                        /opt/openoffice.org3/program/swriter
                    </execute>
                </action>
            </item>

           
Save the file and exit.

N.B. An alternate to this is to use the GUI menu editor. It's fairly straightforward and easy to use. Preferences-->Openbox config-->GUI Menu Editor

Step 3: Getting OpenOffice 3.* to use your GTK theme
You'll also want Openoffice to pick up your gtk theme which it doesn't do by default. For this you'll need to force it to use these settings. To do this go to

Preferences-->Openbox config-->Edit autostart.sh

In the file that opens find the section that says

# Force openoffice.org to use GTK theme
# enable this if you install openoffice
#export OOO_FORCE_DESKTOP=gnome

Uncheck the last line so that looks like

# Force openoffice.org to use GTK theme
# enable this if you install openoffice
export OOO_FORCE_DESKTOP=gnome

Save this file and exit.

All that is needed now is to restart Openbox

Preferences-->Openbox config-->Restart

That's it. All going well you'll now have OpenOffice 3 installed with entries in the menu and Ooo3 using your chosen gtk theme.

Enjoy smile

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

This Howto assumes that you haven't already installed OpenOffice 2.4 from the Ubuntu repos. If so you can either run Ooo2.4 along side Ooo3 or remove Ooo2.4 completely,  either before or after installing Ooo3.

As far as I know they are installed in different folders in /opt and don't conflict with each other.

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

Excellent howto omns, thank you. I will give it a try later tonight. I am sure that client I mentioned will appreciate it too. wink

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

Nice one.,.

works a treat...

registered linux user #413097 | _/\o_ | CHANT: Hare Krishna, Hare Rama... AND BE HAPPY

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

I have finished my installation. As with ./karlos, it worked a treat! smile Thank you.

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

Thanks for the feedback  smile I've tweaked it a bit to make it easier to read.

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

Thanks for this nice How-To it worked great here on my Eee 900 with 16 GB.

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

Worked like a charm. Thanks.

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

The OO3 PPA is back up!

Just add this to your /etc/apt/sources.list

deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
deb-src http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main

Then you should be able to install OO3 from Synaptic or next time you upgrade.

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

^^ Whoopa, I noticed this yesterday to smile  A caveat if if you've already installed the version in this howto is that you'd need to remove it completely before installing the version available through the launchpad repos. The menu entires should still work the same... I think, they may need some slight adjusting smile

To be honest this version is working so well I'm wondering if I might not just leave things as they are smile

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

I've installed ooo3 on two boxes this week using this method and the other using the launchpad repos.  I think I prefer the openoffice debs to the launchpad ones, but that's just me smile

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

omns wrote:

I've installed ooo3 on two boxes this week using this method and the other using the launchpad repos.  I think I prefer the openoffice debs to the launchpad ones, but that's just me smile

Is there much difference between the two?

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

Thanks for the tutorial, omns!

I've just followed the instructions here with one exception: I added the repos from Launchpad because that's what I've done on Intrepid and would like to stay up to date as they provide fixes.

It seems the repo installation actually puts OpenOffice into the /usr/lib/openoffice directory, so I modified the menu.xml file like so:

            <item label="OpenOffice.org 3.0 Base">
                <action name="Execute">
                    <execute>
                        /usr/lib/openoffice/program/sbase
                    </execute>
                </action>
            </item>
            <item label="OpenOffice.org 3.0 Calc">
                <action name="Execute">
                    <execute>
                        /usr/lib/openoffice/program/scalc
                    </execute>
                </action>
            </item>
            <item label="OpenOffice.org 3.0 Draw">
                <action name="Execute">
                    <execute>
                        /usr/lib/openoffice/program/sdraw
                    </execute>
                </action>
            </item>
            <item label="OpenOffice.org 3.0 Impress">
                <action name="Execute">
                    <execute>
                        /usr/lib/openoffice/program/simpress
                    </execute>
                </action>
            </item>
            <item label="OpenOffice.org 3.0 Math">
                <action name="Execute">
                    <execute>
                        /usr/lib/openoffice/program/smath
                    </execute>
                </action>
            </item>
            <item label="OpenOffice.org 3.0 Writer">
                <action name="Execute">
                    <execute>
                        /usr/lib/openoffice/program/swriter
                    </execute>
                </action>
            </item>

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

^ Great work cool Thank you smile

I've been trying to get around to adding this but life has been hectic this week.

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

No problem. smile

I understand about hectic. smile  I think from now through the Holidays, it will be.  Thanks again for your posts!

16

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

omns wrote:

This Howto assumes that you haven't already installed OpenOffice 2.4 from the Ubuntu repos. If so you can either run Ooo2.4 along side Ooo3 or remove Ooo2.4 completely,  either before or after installing Ooo3.

As far as I know they are installed in different folders in /opt and don't conflict with each other.

@Ohms - wow, very nice. Thanks - I'll give it a good try - need to wait for next week first :-s

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

Thanks for this write-up.  I ended up doing the repo install and was able to get my menu setup correctly.  I uncommented

export OOO_FORCE_DESKTOP=gnome

but my OO.o3 still looks horrible (like it did before uncommenting) even after a full system restart.  What else can I do to improve the situation?

FHSM: avoid vowels and exotic consonants and you'll get your handle every time.  identi.ca

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

I use this script (remember to make it executable):

#!/bin/sh 
#### openoffice-gtk - A script to start openoffice with the GNOME/GTK environment 
OOO_FORCE_DESKTOP=gnome /opt/openoffice.org3/program/soffice "$@"

Then I just these commands in my menu:

/path/to/script -calc
/path/to/script -impress
/path/to/script -writer

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

Thanks for that suggestion.  I found a post on the Arch forums suggesting openoffice-gnome wasn't installed.  I was able to fix my problem with:

sudo apt-get install openoffice.org-gnome
FHSM: avoid vowels and exotic consonants and you'll get your handle every time.  identi.ca

20

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

I had used the repos prior to reading this, just by adapting this: http://news.softpedia.com/news/How-To-I … 6449.shtml from ubuntu to #!. 

That method worked fine for me, and I was used to it, since it was essentially the same thing I did for my ubuntu machines a couple of weeks ago.

The box said 'Requires Windows 2000 or better, so I installed Linux'
(No, I didn't make that, but it holds true, so I use it in my sig)

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

Evening Omns.
As of now I'm working on a beginner's guide to installing and setting up CrunchBang, and was wondering if i could have permission to use this tutorial as part of my guide. Your work, or course will be cited, but I thought it wise to get your permission first.

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

actually you can edit the openbox right click menu with gui menu editor, no need to edit the xml wink
nice tutorial, thanks smile

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

Maukel wrote:

Evening Omns.
As of now I'm working on a beginner's guide to installing and setting up CrunchBang, and was wondering if i could have permission to use this tutorial as part of my guide.

Of course, anyone can do whatever they like with things I do for crunchbang.

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

Hi, I installed open office 2.4 and added deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
deb-src http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main to my source list, got into synaptics and hit reload, then mark all upgrades and it won't install oo3.

What should i do?

Re: Howto: Install OpenOffice 3.* using openoffice.org debs

^ If you run sudo apt-get update in a terminal, do you get any error messages regarding this archive?

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.