SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2008-12-05 06:02:44

rizzo
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,102

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

Offline

Be excellent to each other!

#2 2008-12-05 06:15:12

rizzo
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,102

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.

Offline

#3 2008-12-05 07:26:01

corenominal
root
From: Lincoln, UK
Registered: 2008-11-20
Posts: 4,886
Website

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

Offline

#4 2008-12-05 11:30:08

./karlos
Member
From: Eastbourne UK
Registered: 2008-11-29
Posts: 25

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

Offline

#5 2008-12-05 12:08:00

corenominal
root
From: Lincoln, UK
Registered: 2008-11-20
Posts: 4,886
Website

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

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

Offline

#6 2008-12-05 15:48:33

rizzo
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,102

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.

Offline

#7 2008-12-06 07:34:01

kimme
New Member
From: Tromsø
Registered: 2008-11-25
Posts: 5
Website

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.


Kimme Utsi My Blog

Offline

#8 2008-12-06 15:26:10

moriancumer_12
Member
Registered: 2008-11-24
Posts: 13

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

Worked like a charm. Thanks.

Offline

#9 2008-12-09 17:00:40

snowpine
#!-a-roo
Registered: 2008-11-24
Posts: 2,554

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.


/hugged

Offline

#10 2008-12-09 17:40:08

rizzo
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,102

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

Offline

#11 2008-12-15 18:54:29

rizzo
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,102

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

Offline

#12 2008-12-15 19:21:55

corenominal
root
From: Lincoln, UK
Registered: 2008-11-20
Posts: 4,886
Website

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?

Offline

#13 2008-12-17 20:23:11

sewmyheadon
#! CrunchBanger
From: Gig Harbor, WA, USA
Registered: 2008-12-16
Posts: 169
Website

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>

Offline

#14 2008-12-17 20:54:55

rizzo
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,102

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.

Offline

#15 2008-12-18 00:10:41

sewmyheadon
#! CrunchBanger
From: Gig Harbor, WA, USA
Registered: 2008-12-16
Posts: 169
Website

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!

Offline

#16 2008-12-30 13:46:59

ben
Member
Registered: 2008-12-27
Posts: 19

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

Offline

#17 2009-01-13 08:58:48

fhsm
#! Junkie
From: New Hampshire, USA
Registered: 2009-01-05
Posts: 443

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

Offline

#18 2009-01-13 15:53:45

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 8,901

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.

Offline

#19 2009-01-13 21:42:32

fhsm
#! Junkie
From: New Hampshire, USA
Registered: 2009-01-05
Posts: 443

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

Offline

#20 2009-01-20 00:02:11

Dan
Member
From: 127.0.0.1
Registered: 2009-01-18
Posts: 39

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)

Offline

#21 2009-01-29 03:43:13

Maukel
Member
From: Montana, USA
Registered: 2009-01-26
Posts: 27

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.

Offline

#22 2009-01-29 04:17:56

agaz
Member
Registered: 2009-01-26
Posts: 13

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

Offline

#23 2009-01-29 10:01:10

rizzo
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,102

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.

Offline

#24 2009-01-30 21:42:59

patrickstein
#! Die Hard
From: Texas, USA
Registered: 2009-01-26
Posts: 501

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?

Offline

Be excellent to each other!

#25 2009-01-30 21:53:32

rizzo
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,102

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?

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo