LibreOffice is slow and takes 20 seconds to open with Ubuntu 24.04 LTS

Ubuntu Version:

24.04 LTS

Desktop Environment (if applicable):

Believe am using GNOME

Problem Description:

  • Have LibreOffice but it takes about 20 seconds to open/load when clicking on it. LibreOffice always opened in a second of two with Ubuntu 22.04 & 20.04 LTS in the past.
  • Was wondering if Open Office runs and opens faster?

Relevant System Information:

Screenshots or Error Messages:

What I’ve Tried:


To check the desktop environment run this:
echo $XDG_CURRENT_DESKTOP

You can try a rather crude test like this:

time libreoffice

Measures time to open.

This might be better:

time libreoffice --writer

Are you using the snap version?

check with snap list

Got this rubi1200:

t24@t24-Studio-XPS-8000:~$ echo $XDG_CURRENT_DESKTOP
ubuntu:GNOME
t24@t24-Studio-XPS-8000:~$ time libreoffice
Gtk-Message: 12:04:39.372: Not loading module “atk-bridge”: The functionality is provided by GTK natively. Please try to not load it.

real 0m18.108s
user 0m16.918s
sys 0m0.602s
t24@t24-Studio-XPS-8000:~$ time libreoffice --writer
Gtk-Message: 12:05:12.134: Not loading module “atk-bridge”: The functionality is provided by GTK natively. Please try to not load it.

real 0m20.181s
user 0m18.740s
sys 0m0.721s

Got LibreOffice using App Center

libreoffice takes a few seconds from a terminal for me on Ubuntu 24.04 Desktop. Are other things slow opening/displaying soon after login? Are you running an xorg session (as opposed to wayland) with Gnome desktop? See bug https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-535/+bug/2042301

ubfan1
So far LibreOffice is the only thing opening very slow.

This doesn’t necessarily answer the question. What does snap info libreoffice and apt-cache search libreoffice return?

3 Likes

Maybe a little bit more info on the hardware would also be nice - right now we don’t know what CPU and what amount of RAM you have, whether you’re using an SSD or a mechanical HD, etc.

In my experience, I’ve tried both the snap and the .deb versions of the LibreOffice package. The snap is noticeably more sluggish, but absolutely nothing like the startup times your system is reporting. There must be something else going on there.

2 Likes

On Ubuntu 24.04 you should have LibreOffice preinstalled, why did you install it from AppCenter?

kamennedev
My desktop is a first generation i7 with 2.8 mhz cpu and has 16 Gib DDR 3 ram. Has 3 SSDs and runs Windows 10, along with Ubuntu 20.04 LTS, 22.04 LTS and 24.04 LTS. All those OSs run fine.

corradoventu
For some strange reason LibreOffice was not preinstalled! That’s why I installed it from AppCenter. Today LibreOffice tried and failed to update with snap.

Should I remove LibreOffice and install in again another way?

1 Like

What was the failure?

If you don’t have libreoffice maybe you did the default == minimal installation?
If you installed from AppCenter you have the snap version, try with the deb version
sudo apt install libreoffice

That solved my problem.
First removed LibreOffice installed with AppCenter.
Then reinstalled with; sudo apt install libreoffice and now LibreOffice opens in seconds as before in other earlier Ubuntu versions.

Thanks!

On Discourse, the way to mark something as solved is to click the box Solution of the relevant post.

It gives the poster credit and also helps others find the solution.

Glad you managed to get it resolved in the end.

Thanks rubi1200 did not know that.
Just clicked on Solution box.

Would you mind reporting the issue to the libreoffice snap maintainers (URL below) so they can fix this ?

ogra@styx:~$ snap info libreoffice|grep contact
contact:   https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bugs?field.tag=snap
ogra@styx:~$

ogra, tried doing that but can’t get into that site.

Strange, it opens just fine here…

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.