LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   LibreOffice in Slackware. (https://www.linuxquestions.org/questions/slackware-14/libreoffice-in-slackware-4175647812/)

chrisretusn 05-11-2021 03:28 AM

May 8, 2021
Code:

[ Status      ] [ Repository ] [ Package                                          ]
  installed      alienbob      libreoffice-7.1.3-x86_64-1alien               
  installed      alienbob      libreoffice-dict-en-7.1.3-x86_64-1alien       
  installed      alienbob      libreoffice-kde-integration-7.1.3-x86_64-1alien

Working just fine as a user, installed on two slackware64-current computers.

zdolar 05-11-2021 03:39 AM

Quote:

Originally Posted by marav (Post 6249915)
slackware64-current
fresh install AlienBob's libreoffice + dict + l10n + kde integration

running fine

Code:

15step :: ~ 1 » libreoffice --version
LibreOffice 7.1.3.2 10(Build:2)


Yes, mine is the same version.
Can only run as a root. :confused: And no useful error/warning when not root.

BrunoLafleur 05-11-2021 04:21 AM

Quote:

Originally Posted by zdolar (Post 6249925)
Yes, mine is the same version.
Can only run as a root. :confused: And no useful error/warning when not root.

Some bad installation or compilation/installation as root which were doing some bad permissions on the libreoffice installation or dependencies ?

Or a corrupt libreoffice profile in the user home when you are not root ?

marav 05-11-2021 04:23 AM

Quote:

Originally Posted by zdolar (Post 6249925)
Yes, mine is the same version.
Can only run as a root. :confused: And no useful error/warning when not root.

Sometimes it comes from a corrupted configuration
You can try this:

Code:

mv .config/libreoffice .config/libreoffice_bak
And you restart it

zdolar 05-11-2021 05:24 AM

Quote:

Originally Posted by marav (Post 6249937)
Sometimes it comes from a corrupted configuration
You can try this:

Code:

mv .config/libreoffice .config/libreoffice_bak
And you restart it

Thanks for the advice, but didn't help. Creates new libreoffice folder and quit.

marav 05-11-2021 05:28 AM

How did you install it ?

zdolar 05-11-2021 05:41 AM

Quote:

Originally Posted by marav (Post 6249952)
How did you install it ?

Previously working version from Alien.
Code:

slackpkg update
slackpkg upgrade-all


Tonus 05-12-2021 12:34 AM

Quote:

Originally Posted by zdolar (Post 6249913)
Slackware64-current full install, today updated & upgraded.
Libreoffice-7.1.3-x86_64-1alien + ..kde-integration.. installed (Community version)

Libreoffice runs fine when logged as root.
When I log in as other user with admin rights, "application error" is generated (run from terminal) and initial startup window vanish. No error/warninig is logged in any file in /var/log.

I had this but can't remember the fix....

Installing Alien Bob 's compat packages, change the libreoffice.sh script option or revert an alias hack in my .bashrc...

marav 05-12-2021 02:23 AM

Quote:

Originally Posted by Tonus (Post 6250139)
I had this but can't remember the fix....

Installing Alien Bob 's compat packages, change the libreoffice.sh script option or revert an alias hack in my .bashrc...

I also thought, to check user’s $PATH

anyway, to avoid any custom settings :
mv ~/.bashrc ~/.bashrc_bak
and
logout/login

zdolar 05-12-2021 05:27 AM

Today I updated slackware64-current.

So I decided to
Code:

slackpkg remove libreoffice
and also manually removed all traces of Libreoffice:
Removed all files found by:
Code:

find / -name "libreoffice*"
except files in folders:
/etc/profile.d
/var/lib/pkgtools

reboot

After that I issue:
Code:

slackpkg reinstall multilib
slackpkg install libreoffice

reboot

Now even as root libreoffice do not want to run. After splash screen I get "Application error" message.:( :confused:

There are no signs of any error regarding starting libreoffice in /var/log
Is there any option to start the program in debug mode or more verbose startup?

marav 05-12-2021 05:31 AM

According to : libreoffice --help

You can try : libreoffice --safe-mode

zdolar 05-12-2021 05:33 AM

Quote:

Originally Posted by marav (Post 6250154)
I also thought, to check user’s $PATH

anyway, to avoid any custom settings :
mv ~/.bashrc ~/.bashrc_bak
and
logout/login

Thanks, but that do not help either.:banghead:

Tonus 05-12-2021 05:40 AM

Quote:

except files in folders:
/etc/profile.d
That might be the culprit.

marav 05-12-2021 05:44 AM

Quote:

Originally Posted by Tonus (Post 6250194)
That might be the culprit.

You think about that ?
Code:

$ cat /etc/profile.d/libreoffice.sh
#!/bin/sh

# To force the use of a certain VCL UI interface, use one of these envvars.
#export SAL_USE_VCLPLUGIN=gen
#export SAL_USE_VCLPLUGIN=gtk3
#export SAL_USE_VCLPLUGIN=gtk3_kde5
#export SAL_USE_VCLPLUGIN=kf5
#export SAL_USE_VCLPLUGIN=qt5


zdolar 05-12-2021 05:45 AM

Quote:

Originally Posted by marav (Post 6250191)
According to : libreoffice --help

You can try : libreoffice --safe-mode

Thanks a lot! :) :) :hattip:

BINGO!
Disable hardware acceleration solve the issue.

Looks like mesa-21.0.3 messed up! (Ups I did it again). :mad:
I have i7-6820HQ CPU with intel HD 530 graphics.

Hope Pat will read this.


All times are GMT -5. The time now is 11:14 PM.