Ubuntu Menu Bar Option for LibreOffice

Hi:

I'm using LibreOffice 4.0.3.3 rather than the version included with Ubuntu
12.04LTS for various reasons, but one thing I would like to know is whether
or not there is an add-on (used to be for LO 3.5) that will let LO use the
Ubuntu menu systems and the Heads Up Display (which is helpful for the
commands I don't often use).

Does anyone know if this exists and, if so, where I can download it?

Thanks.

Hi :slight_smile:
It's a sub-folder within the download.  There is the main folder with all the .debs in for installing but also in that main folder should be one sub-folder called "Desktop integration".  Inside that one should be at least 2 folders;  one for Kde, one for Gnome.  Open the Gnome one and install the .debs that are in there. 
Regards from
Tom :slight_smile:

Hi Tom:

Thanks, but something else is going on.

What I downloaded was LibreOffice_4.0.3_Linux_x86-64_deb.tar.gz (dated Thu
16 May 2013 04:51:39 PM CDT).
When I unscrunched that I got a folder called
LibreOffice_4.0.3.3_Linux_x86-64_deb
In the LibreOffice_4.0.3.3_Linux_x86-64_deb folder was a folder called DEBS
In the DEBS folder, along with all the basic LibreOffice stuff, was the
desktop-integration folder, **as you said**.
In that folder was libreoffice4.0-debian-menus_4.0.3-3_all.deb, which I had
already installed.
I double-clicked it, and the Ubuntu Software Center listed it as installed,
but since it had an option to re-install, I thought I would give that a
shot.
After re-installing, I checked Writer, and the menus were still in the
Writer screen, not on the Ubuntu top panel.
So I rebooted the machine and tried again.
Nope.

Libre Office shows Version 4.0.3.3 (Build ID:
0eaa50a932c8f2199a615e1eb30f7ac74279539) by the way.
I'm running Ubuntu 12.04LTS, and I fired up GIMP and Gramps just to make
sure they were displaying the Ubuntu/HUD menus (which they were), so I
suspect my problem is with LibreOffice and not with Ubuntu.

Do you (or anyone) have any idea what I'm missing, or where I should look?

Thanks again.

Hi :slight_smile:
Ahh, i see what you mean.  I get the same thing.  Someone was complaining about it being the way you want it because it meant moving the mouse arrow so far.  Sadly i never quite worked out how he managed to set it up like that.

It might be only the version of LibreOffice that is in the Ubuntu 12.04 repos that uses that top-bar. 
Apols and regards from
Tom :slight_smile:

Thanks.

I'm a little confused, however. I know the desktop integration package is
specifically Debian, but as far as I know (although I haven't checked
lately) the only Debian version that uses desktop integration is Ubuntu.
Ergo, why include the package if it doesn't support Ubuntu?

Or is there more to it than that?

Someday I'll "get" all this stuff :slight_smile:

Not a dev but Ubuntu is a derivative of Debian and the desktop integration allows LO to be displayed in the menu list properly. For the specific Ubuntu integration you can use the version in the Ubuntu repository with the same LO version or install the LO Ubuntu repository to get the latest LO version.

I do not use the Ubuntu Software Center to install LO or the Desktop Integration files. I use the terminal.

I remember the Ubuntu/Unity top bar menus work for me before. But I reinstalled 12.04 on that machine after I tested 13.04. I have not updated LO on that laptop, yet, to 4.0.3. Though I do remember using LO 4.0.3 with Unity once. I prefer MATE desktop environment over Unity on my desktop, but I decided to leave at least one laptop with only Unity installed as a d.e.. The other laptop is being used as a testing platform for Linux Mint and other Debian based distros.

4.0.4 comes out before the end of the month. If this was an issue or bug known before, then it is a good bet that the 4.0.4 version might have fixed it.

But to satisfy something that is in the back of my mind about a previous issue I had with Ubuntu Software Center and LO, could you try re-installing the desktop integration folder within Terminal?

Just open up the terminal and "cd" into the "desktop-integration" folder

it will be something like this
cd LibreOffice_4.0.3.3_Linux_x86-64_deb/DEBS/desktop-integration

or

cd LibreOffice_4.0.3.3_Linux_x86-64_deb
cd DEBS
cd desktop-integration

Then do
sudo dpkg -i *.deb

That is how I deal with my installs for LO, and through the Ubuntu Software Manager.

ALSO
How did you get rid of the Ubuntu 12.04 version's install of LO?
There may have been some file or package from the older version that should have been removed before you install the 4.0.3 version. I found that to be very true when I was testing Ubuntu 13.04. I do know that if I do not remove all parts of LO's link to the desktop environment's menu system from the previous install, there can be some issues crop up with the install of the new version's access to the menu system for the desktop.

I do not know if this will help you, but is did me with 12.04, 12.10, and 13.04, from time to time, whether running Unity or MATE for a desktop.

OK
I agree with you about the top menu bar for Ubuntu/Unity 12.04

I just tested it out and File, Edit, and all of the other menu items I have in MATE, that should show up in Unity does not on my desktop/laptop with 12.04LTS when using Unity for the desktop.

Is this a bug? Or there something else going on. I know I used LO before on Unity and had the top menu bar working fine.

To answer your questions "How did you get rid of the Ubuntu 12.04 version's
install of LO?"
After trying several alternatives, I ended up with [sudo apt-get remove
libreoffice*.*]. Before doing that the installation kept failing, so you
might be on to something there. Might I have missed a whole separate set of
packages?

Just for grins, I did the [sudo dpkg -i *.deb ] from the desktop-integration
folder again. That's actually how I originally installed the 4.0.3.3 version
originally. No change.

I guess this isn't all that important, but it worked before and the fact
that it doesn't with the version 4.0.3 might indicate something slipped
through the cracks that may have other less obvious effects. I went
immediately from the 3.6 flavor in Ubuntu Software Center to the 4.0.3
flavor, so I don't know if the change occurred in 4.0.3 or earlier in the
4.0 line.

That removal should do it, but I always check with the Synaptic Package Manager to see if there was anything missed.

  Why 12.04 does not install it by default, I have no clue. It was t heir default package manager [other than Ubuntu Software Manager] for years. I have been using S.P.M. since 8.10 or 9.04. There are packages listed in that manager that I do not find, or find easily, with the Ubuntu Software Manager.

The top menus part of LO must have had a bug or something. I know it worked before, and there was a lot of work to make it work, so why it does not work, well someone should know. I wonder which was the last version that it worked with Unity's top menu system.

I went from 3.6.5 or .6 to 4.0.0. But I dislike Unity and almost never open a session running it instead of MATE desktop. So I am no help on where it stopped working.

As for less obvious and cracks, I had duplexing issues with half of my printer that had the duplexing hardware installed. Nothing would get those to work properly with LO when they worked fine with other package. It took checking the check-box for the "Use LibreOffice dialogs" under the "Print dialogs" option from "Tools>Options>LibreOffice>General" - plus that was not an option shown in the Windows version of LO, only Linux and may be only DEBs version. So that was a "try this check-box and see what this does or changes". So it could be something like that.

There could also be some line in the config file[s] that got messed up. One of the things people tell others is to rename the LO folder of the .config hidden file. Not the .libreoffice one that 3.5 and 3.6 [?] used. Then reopen LO and LO will rebuild it like a clean install. There is some issues that DO crop up during the 3.5 to 3.6 and the 3.6 to 4.0 upgrades and the updating to the new config file[s] format[s]. It might be worth the effort. My 3.6 to 4.0 update of the config file basically required me to re-install all my extensions and other add-ons and re-set-up all my options over again. Wipe a lot out and what was left was corrupted or just not right.

Hi :slight_smile:
Regressions are good to know about.  Any chance of posting a bug-report about it?  Perhaps others will be able to narrow it down further or it might be narrowed down enough already. 
https://wiki.documentfoundation.org/BugReport

The {sudo apt-get remove libreoffice*.*} looks good enough but you might only need {sudo apt-get remove libreoffice*} as the extra dot might mean some packages get left behind.  In LibreOffice's case i think you are fine though. 
Regards from
Tom :slight_smile:

KrackedPress -

Actually, after realizing that I must not have been completely successful in
removing the Ubuntu version of LO, I did in fact look in Synaptic Package
Manager after doing the [sudo apt-get remove libreoffice*.*] (and your
point about using "*" rather than "*.*" is well taken - too many years of
bad Windows habits I suppose). Synaptic showed nothing untoward.

And, just because I wanted to make sure I could restore any settings I had
forgotten, I renamed the .config folder before the new install, so there was
a new .config folder created. So I don't think that was the issue either.

Your comment about the duplexing was interesting, since I also use
duplexing, so I checked and found out I already have [Use LibreOffice
dialogs] for printing selected. Perhaps I'll try changing that to see if I
can duplicate your issue. If so, I'll open a new thread to see if that's
another bug to be reported.

Tom:

See my last response to KrackedPress - I suspect this may in fact be a bug,
but since someone mentioned that a new release will be out this month, I'll
wait and see how that works before posting a bug.

Hi :slight_smile:
It's probably best to just post the bug-report now.  This is around the time that the most devs will be focussing on the newer branch so it's a good time to try to get your favs sorted.

Wait&see gets nowhere especially if none of the devs knows there is a problem to fix.  If the bug does turn out to have been fixed then it's easy to mark the bug as closed or "fix released" or something. m If not then at least people have had a chance to see it. 
Good luck and regards from
Tom :slight_smile:

Hi :slight_smile:
I did the same until very very recently so i thought it worth pointing out! lqtm
Regards from
Tom :slight_smile: