Problems with Apache OpenOffice and Unity

Issues with installing under all Linux Distributions

Problems with Apache OpenOffice and Unity

Postby Villeroy » Sat Aug 25, 2012 3:53 pm

Out of curiosity I installed a vanilla Ubuntu on a new laptop mainly because I wanted to see why there is so much noise, gossip and complaints about the Unity shell. Ubuntu 12.04 ("Precise Pangolin") comes with LibreOffice 3.5 pre-installed which is just fine but under XFCE I used to run many versions of OOo, AOO, LIbO together with AbiWord and Gnumeric.

I found a German tutorial describing the usage of Unity and its major problems with certain applications and certain users as well and patiently I spent a couple of days with the new concept.

1) Neither LibO nor AOO are perfectly integrated applications. They don't merge their application menu into the system wide task bar and contrary to the "integrated" applications they show their usual scroll bars all the time. No problem so far. I can live with that since there is no loss of functionality. These features may be be more important with very small screens.
2) I can make the icon of a running AOO stick to the starter bar but after closing AOO the new starter fails to re-launch AOO.
3) I can not install the desktop integration package for AOO because it conflicts with the one of LibO. Under any other shell this conflict does not impose any problem because you are free to add your own application starters, symlinks and menu entries wherever you want. For regular desktop starters under Unity one would drag the starter from the dash onto the desktop. However AOO does not appear in the dash even when I point to its executable, so I can not add any desktop icon this way.
4) On file system level I can add a symlink to the desktop folder pointing to the AOO soffice executable but that does not launch AOO neither.

So far I can start AOO as second office suite under Unity from a command line only. Personally, I have no problem with starting applications from the command line but many other users will not accept this and stick with one "integrated" office suite only.

OK, let's try harder to get some kind of launcher for a secondary office suite:
Find LibreOffice in the dash and drag it onto the desktop so you can redirect the new desktop link to AOO. Result: Unity creates broken links for LibO or any of its components. Surely a Unity bug.
Let's do the same with some other application, say "System Monitor". Result: I get a working desktop link to launch the system monitor. I can modify the label, change the icon and replace the start command with /opt/openoffice.org3/program/soffice
Success :bravo:
Being tough enough for Base is the best qualification for customizing the Unity shell :twisted:
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, no OpenOffice, LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 27364
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Problems with Apache OpenOffice and Unity

Postby Hagar Delest » Sun Sep 02, 2012 2:18 pm

Can't help since I don't like Unity, I use Gnome 3.2. Don't remember how I created manually the shortcuts in the "dash board" but it worked (I did it for AOO and other applications that don't have any desktop integration like FF and TB betas).
AOO 4.1.7 on Xubuntu 19.10 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28621
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Problems with Apache OpenOffice and Unity

Postby Villeroy » Wed Sep 12, 2012 11:56 am

This is how to integrate both office suites into the desktop environment (Unity, XFCE, whatever):
There is only one problem when you try to install the destop integration package for AOO as second suite after LibreOffice. The package tries to replace the symbolic link /usr/bin/soffice pointing to /usr/lib/libreoffice/program/soffice with its own link pointing to /opt/openoffice.org3/program/soffice
No problem with that. Just install the package with option --force-overwrite

Code: Select all   Expand viewCollapse view
cd ~/Downloads/en-GB/DEBS/desktop-integration/
sudo dpkg --force-overwrite -i openoffice.org3.4-debian-menus_3.4-9593_all.deb

This will overwrite the /usr/bin/soffice link only. Anything that used to use that link to call libreoffice will call AOO now. The path still incudes libreoffice and loffice commands to call LibreOffice.
Unity shows all components from both office suites side by side and I can attach the AOO logo to the launcher.
XFCE includes all components from both office suites in the main menu.
I can choose both in the open-with menu of either file manager.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, no OpenOffice, LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 27364
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Problems with Apache OpenOffice and Unity

Postby RoryOF » Wed Sep 12, 2012 3:42 pm

Hagar Delest wrote:Can't help since I don't like Unity, I use Gnome 3.2. Don't remember how I created manually the shortcuts in the "dash board" but it worked (I did it for AOO and other applications that don't have any desktop integration like FF and TB betas).


I use Classic Gnome. One can make a shortcut on the toolbar ('Panel') by dragging an item from its Applications menu entry to the tool bar. To remove it, use Alt + Right click and select "Remove from panel".
Apache OpenOffice 4.1.7 on Xubuntu 18.04.3 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29863
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Problems with Apache OpenOffice and Unity

Postby Hagar Delest » Wed Sep 12, 2012 4:09 pm

RoryOF wrote:I use Classic Gnome. One can make a shortcut on the toolbar ('Panel') by dragging an item from its Applications menu entry to the tool bar.

It works also with Gnome 3.2 but only if the desktop-integration package has been correctly installed (which was not the case in first post) so that the shortcuts appear in the list of applications.
AOO 4.1.7 on Xubuntu 19.10 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28621
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Problems with Apache OpenOffice and Unity

Postby Robert Tucker » Thu Sep 13, 2012 3:46 pm

With Gnome you can still install Alacarte to create custom application launchers. (Didn't know if it had escaped anyone's notice.)
LibreOffice 6.x.x on Fedora 31 and Ubuntu 19.10 (Dual Boot)
User avatar
Robert Tucker
Volunteer
 
Posts: 1247
Joined: Mon Oct 08, 2007 1:34 am
Location: Manchester UK

Re: Problems with Apache OpenOffice and Unity

Postby Hagar Delest » Thu Sep 13, 2012 4:50 pm

Yes but there is an additional "layer" on the configuration because it uses custom names for the entries. It is not that easy when you upgrade (I've tried Alacarte once). Better learn the freedesktop.org method and create the shortcuts with proper names (instead of alacarte1, alacarte2, ...).
AOO 4.1.7 on Xubuntu 19.10 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28621
Joined: Sun Oct 07, 2007 9:07 pm
Location: France


Return to Linux

Who is online

Users browsing this forum: No registered users and 3 guests