Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporary fix for Libreoffice #614

Closed
stelariusinfinitek opened this issue Jul 25, 2016 · 6 comments
Closed

Temporary fix for Libreoffice #614

stelariusinfinitek opened this issue Jul 25, 2016 · 6 comments

Comments

@stelariusinfinitek
Copy link

stelariusinfinitek commented Jul 25, 2016

Details:

  • Distribution: Arch Linux
  • Desktop environment: Xfce4
  • GTK+ 3 version: 3.20.6
  • Arc version (commit): 20160605

If you are using a theme like Arc-Darker or Arc-Dark, software like Libreoffice will look messed up, especially the top bar is dark and doesn't fit with the rest of the things. It took me some time but I found a nice temporary fix for this.

First, this is how Libreoffice Writer look with Arc-Darker :

2016-07-25-183352_1366x768_scrot

This is how it looks with Arc :

2016-07-25-183438_1366x768_scrot

Now, if someone experiences this, he/she has to sudoedit the file at /usr/lib/libreoffice/program/soffice and insert this environment variable : GTK_THEME=Arc , like this :

screenshot_2016-07-25_18-39-30

Now, if you open Libreoffice Writer or Base, it will look fine. I'm glad I solved this for now. :) Other solutions I found were editing the file at /etc/profile.d/libreoffice.sh and uncommenting gtk, but that affects the fonts and other things.

EDIT : See my last post.

@CrazyLemon
Copy link

CrazyLemon commented Jul 29, 2016

I have to comment because you sir are a f**king legend!

I opened a bug on libreoffice (https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1580537) a while ago and i have been frustrated by libreoffice since then.

Thank you!

@horst3180
Copy link
Owner

Hmm, in my opinion forcing Libreoffice to use GTK2 by adding export SAL_USE_VCLPLUGIN=gtk to /etc/profile is a better solution

@stelariusinfinitek
Copy link
Author

stelariusinfinitek commented Jul 30, 2016

@horst3180

It depends. I had that uncommented for a while. It affects the fonts in some way, unpleasant. With gtk commented, I don't have that problem.

Edit : I made some screenshots.

SAL_USE_VCLPLUGIN=gtk uncommented

screenshot_2016-07-30_17-42-45

SAL_USE_VCLPLUGIN=gtk commented

screenshot_2016-07-30_17-44-40

I agree, the interface looks a bit better, it fits with the theme. But look at the fonts, they become bold, I don't want that.

@stelariusinfinitek
Copy link
Author

This is not really a issues with Arc, the theme is fantastic. @horst3180 , your theme is very beautiful, one of the best for sure, I don't doubt. I want to close this now, maybe it will be helpful for other people if they search for this issue with LibreOffice. :)

@stelariusinfinitek
Copy link
Author

stelariusinfinitek commented Sep 4, 2016

I did something yesterday and found the perfect configuration for LibreOffice. I think I was a bit wrong above. As horst3180 said, uncommenting export SAL_USE_VCLPLUGIN=gtk in /etc/profile.d/libreoffice.sh is better but I had a problem : I was using Ubuntu Medium as my system font and the fonts in LibreOffice looked bad.

So I researched a bit, opened LibreOffice Writer, went to Tools > Options > Fonts > Check "Apply replacement table" and replaced the Ubuntu font with Arial. Now everything looks perfect. :)

@luca-sciortino
Copy link

I have the same issue using Arc-Flatabulous Dark theme on Ubuntu. How can I sudoedit the file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants