I did the tumbleweed update ( 20250206) this morning (zypper dup) and now libreoffice wont load. I tried it from a konsole window and it doesnt print anything it just pops up a little mini window and then exits right way. I uninstalled libreoffice and reinstalled it and it made no difference. I’m using X11 KDE desktop on x86_64
Is anyone else having this issue and is there a fix for it?
Xfce 4.20, LibreOffice launched successfully.
One possibility is that LibreOffice’s user profile got corrupted. Go to
~/.config/libreoffice/
you’ll find a single folder named /4/
there: change its name and try to open LibreOffice again. If everything goes right, the folder will be recreated with default settings and LibreOffice will start again. Any customization will be lost, though.
What happens if you try
> libreoffice --writer
from a command line?
Same thing. I tried moving ~/.config/libreoffice/4 to some other name and it still makes no difference.
Somehow i need to get the startup to be verbose
Just a data point: libreoffice calc was working fine before this last update - i use it daily
Try:
libreoffice --version
If nothing shows up, the following info might help:
which libreoffice
ls -l /usr/bin/libre*
zypper se -si libreoffice
Quick and easy test:
- Create a new user account
- Log out of your regular user account
- Log in to the new user account
- Start LibreOffice Calc
… same problem?
If you still have the same issue, I see three options:
- Submit a bug report and wait for a fix
- Run strace against L.O. and see if you see an error or warning in the log. You could also include the strace log in the bug report.
- Fire up Discover and install the Flatpak package of LibreOffice.
Personally, if I were to depend on LibreOffice, I’d choose the 3rd option - switch to the Flatpak, and be back to work.
To get an strace log, do this at a command line
user@machine-> strace -t -f libreoffice --calc > lo.txt 2>&1
Since Calc doesn’t start, you’ll eventually see the command line prompt again (normally, Calc window would show up).
You will now have a text file called “lo.txt”. It contains the strace entries. If you’re a technical type person, you could open up “lo.txt” with Kate or other text editor, and search for errors or warnings. Or paste the file content with a reply back here with the link to
https://paste.opensuse.org
$ libreoffice --version
LibreOffice 24.8.4.2 480(Build:2)
ok, I installed libreoffice via discover but how do i run it? I tried running it from the applications menu and i just get a bouncing ball for a few seconds and thats it
If you have installed the flatpak, you can start it from terminal via
flatpak run org.libreoffice.LibreOffice
I ran it from Discover but i need to know how to open it from the main applications menu. Every time i try that it doesn’t work
Also how do i get my scripts and ‘file open’ history back?
belay that last one, i see i can open writer from the applications menu, it tricked me and opened minimized
@erbenton wrote:
After you install LibreOffice using Discover, you need to LOG OUT of your user account, then log back in … then you will see “double entries” in the main menu
calc had 2 menu entries, the old non functional one and the new flatpac entry which works
Now if i can just copy over my old basic scripts… which i just tried but it fails
How do i get my basic scripts back? without those this whole thing is a wash
On Linux, rumor has it that LibreOffice scripts are stored in the following locations, (with obvious adjustments, depending on architecture):
- Application macros: In the {Installation}/share/Scripts/python directory
- “My” macros: In the $HOME/.config/libreoffice/4/user/Scripts/python directory
- Java macros: In the share/Scripts/java or user/Scripts/java directory
For example, I’m on a 64 bit system, so:
user@mchine:/usr> find . -name python -ls
163228 0 drwxr-xr-x 1 root root 226 Feb 5 14:47 ./lib64/libreoffice/share/Scripts/python
I uninstalled the flatpac version, deleted my local stuff in .config/libreoffice and then logged out and back in and then restored that directory and all below it from backups and installed libreoffice from yast and ow everything is back to normal. whew!
Thanks to all who had suggestions
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.