You are not logged in.

#1 2020-11-22 07:53:52

AhmadRaniri
Member
Registered: 2020-04-30
Posts: 23

[SOLVED] Can't replicate OpenOffice behavior on archlinux32 to 64 bit

Though some people said OpenOffice was dead, but honestly I'm comfortable with OpenOffice than other document editor.
Anyway I think I get a trouble with OpenOffice on arch Linux (I have two machine and installed arch Linux there). OpenOffice can't follow my gtk theme (breeze, adwaita, etc).
_
I suspect it because gtk stuff or maybe python stuff (since I know OpenOffice needs python, right).
And strangely it happens just on arch Linux 64 bit but not on my arch Linux 32 bit (archlinux32). Any ideas?
_
Things I've done:
Set OOO_FORCE_DESKTOP=gnome (not work).
Load gtk-2.0 configuration manually (not work).
Installing some package which relate to gtk and python (pygtk, python-xlib, gtkmm) etc. (Not work).

Last edited by levi (2020-11-24 07:18:34)

Offline

#2 2020-11-22 08:26:19

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: [SOLVED] Can't replicate OpenOffice behavior on archlinux32 to 64 bit

Have you built both versions of openoffice from the same source?  Nothing they depend on has been updated in the mean time?

As far as I can tell, there's no prebuild instances of Apache openoffice in the repos, but there is an AUR project for it.

If you launch it from a terminal, does it spit out any logging that might be useful?  If not, and it's a purely visual difference, could you attach screenshots so that we've more of an idea what problem you're having.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#3 2020-11-22 08:38:47

AhmadRaniri
Member
Registered: 2020-04-30
Posts: 23

Re: [SOLVED] Can't replicate OpenOffice behavior on archlinux32 to 64 bit

For both of them, I don't build it, I just grab the archive from official site then extract it to a folder and set path for it. No special output after launch it from terminal except for kind of segmentation fault (I can't remember it completely, I am not having access to my machines right now ) I'll back with screenshot.

Offline

#4 2020-11-22 09:38:31

AhmadRaniri
Member
Registered: 2020-04-30
Posts: 23

Re: [SOLVED] Can't replicate OpenOffice behavior on archlinux32 to 64 bit

Current appearance it looks like Raleigh theme
Link : https://scontent.fsoc1-1.fna.fbcdn.net/ … e=5FE131CA
_____
Expected appearance
Link : https://scontent.fsoc1-1.fna.fbcdn.net/ … e=5FE0A52F

Offline

#5 2020-11-22 20:51:48

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: [SOLVED] Can't replicate OpenOffice behavior on archlinux32 to 64 bit

Do both insances segfault?  As far as I'm aware after a segfault whatever process was running will no longer be running, so something is dying.  It may not be important if both segfault at about the same time, but if one segfaults and the other does not, something's going wrong.

Last edited by levi (2020-11-22 20:52:04)


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#6 2020-11-22 23:26:11

AhmadRaniri
Member
Registered: 2020-04-30
Posts: 23

Re: [SOLVED] Can't replicate OpenOffice behavior on archlinux32 to 64 bit

levi wrote:

Do both insances segfault?  As far as I'm aware after a segfault whatever process was running will no longer be running, so something is dying.  It may not be important if both segfault at about the same time, but if one segfaults and the other does not, something's going wrong.

For the segfault, it happen to my Archlinux 64 bit and Archlinux32 but the application works fine, I just want the OpenOffice follow my gtk theme.

Offline

#7 2020-11-22 23:42:48

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: [SOLVED] Can't replicate OpenOffice behavior on archlinux32 to 64 bit

You can run coredumpctl -1 to see if it left a coredump for you to inspect.  Dumping that with something like coredumpctl -o ~/core.dump dump (be aware this might take a while to complete) then you can debug it in gdb (gdb -c ~/core.dump) and the first thing it'll tell you is what executable exited.  You can then exit this gdb instance by entering the q command.

Coredumpctl is part of the systemd package, so I'd expect you to have that installed already.  Gdb needs separate installation if you don't have it already I recall.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#8 2020-11-23 00:31:10

AhmadRaniri
Member
Registered: 2020-04-30
Posts: 23

Re: [SOLVED] Can't replicate OpenOffice behavior on archlinux32 to 64 bit

levi wrote:

You can run coredumpctl -1 to see if it left a coredump for you to inspect.  Dumping that with something like coredumpctl -o ~/core.dump dump (be aware this might take a while to complete) then you can debug it in gdb (gdb -c ~/core.dump) and the first thing it'll tell you is what executable exited.  You can then exit this gdb instance by entering the q command.

Coredumpctl is part of the systemd package, so I'd expect you to have that installed already.  Gdb needs separate installation if you don't have it already I recall.

Woa worth a shot... Thanks. I'll try it.

Offline

#9 2020-11-24 05:12:36

AhmadRaniri
Member
Registered: 2020-04-30
Posts: 23

Re: [SOLVED] Can't replicate OpenOffice behavior on archlinux32 to 64 bit

install gdk-pixbuf-xlib solved the issue, turned on the gtk library need that package. Digging into gtk library from openoffice.

Offline

#10 2020-11-24 05:17:55

AhmadRaniri
Member
Registered: 2020-04-30
Posts: 23

Re: [SOLVED] Can't replicate OpenOffice behavior on archlinux32 to 64 bit

please, mark it as solved. Thanks.

Last edited by AhmadRaniri (2020-11-24 05:18:45)

Offline

#11 2020-11-24 07:20:23

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: [SOLVED] Can't replicate OpenOffice behavior on archlinux32 to 64 bit

I have done.  Good work in sussing that out.

FWIW You should be able to edit the first post yourself, and there you can change the title to mark it as read.  The only complication here was that the title was already overlong, so I needed to abbreviate it to be able to add the solved mark.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

Board footer

Powered by FluxBB