WPS Spreadsheets' background color turns to dark brown using Arc-darker. It does not occur using the Arc-dark or Arc themes.
gnome-themes-standard version: n/ahttps://dl.dropboxusercontent.com/u/13392425/WPS_Office_FILL.png
I have the same issue on Ubuntu 16.10 MATE and Ubuntu 16.04.2 LTS Unity 7
The same here
Arch + GTK+3 3.22.9 + Arc Dark theme
The same here
Arch + GTK+3 3.22.9 + Arc Dark theme
WPS is actually a QT application. And, as many QT applications do, it accepts "-style".
Start WPS with (for example):
et -style motif
@Rainmaker52 nope.. still brown background with motif.. nor plastique didn't help
Try this solution :
et -style motif.
It's working.

As you can see.. no success for me. And as a bonus I get this ugly system window on close

hi guys, I have the same issue.
The two things I tried in the first place were -style and KDE's custom app settings, both failed and I still have dark background in spreadsheets.
I can confirm that the solution souhaibattaiki provided above is working for me. The default display of my Spreadsheet is now full white.
I use Manjaro XFCE 17.0.2 (with GTK 3.22) and edit the command of WPS apps (using Menu Editor) to:
/usr/bin/wps %f -style motif --> Writer
/usr/bin/et %f -style motif --> Spreadsheet
/usr/bin/wpp %f -style motif --> Presentation
However the ugly Motif dialog box is still appearing everywhere inside WPS. Must be really WPS problem.
Agreed that @chuutatsu's (and @Rainmaker52's) changes_sporadically_ fix the brown background issue (works in Ubuntu 16.04 by editing the .desktop file for Spreadsheet as noted in his post). Also agreed that the fugly dialog boxes make it a suboptimal solution.

In my case at least, using Ubuntu, the modification to the .desktop file only works when you specifically select that file in the /usr/share/applications directory. If you open blank or existing .xslx document, it still shows the brown background. No idea why.
I read that Kingsoft is abandoning WPS, so we may be SOL. But if anyone has a solution that fixes both the brown background and the dialog boxes, please post back here.
I read at they had retracted their words and announced that they would keep continuing WPS development. Maybe it will take a very long time.
First of all: my initial comment was the correct solution. Not sure why the exact same command got reposted, and then, suddenly, it WAS the right solution.
Secondly, if you don't like he dialog boxes try something different from motif. There are plenty of QT themes as well, one of them should look right to you.
Lastly, the bugtracker for a GTK theme is not the right place to discuss the future of wps. This bug should be closed as invalid.
Settle down sparky. Unless and until there is a complete solution posted for the entire issue posted, I won't be closing this myself. If an admin finds your comments compelling, they can close it.
Apologies regarding attributing the solution to you. But I didn't know how to start the application with et -style motif, and your comment didn't state how to (I just typed that in terminal, and it started the app: I had no idea et was the command for WPS Sheets, dismissed it as a possibility, and, admittedly, should have tried it earlier). Whereas @chuutatsu provided information that I could implement.
I edited my post above with this information, which for me shows again that the problem is not solved:
In my case at least, using Ubuntu, the modification to the
.desktopfile only works when you specifically select that file in the/usr/share/applicationsdirectory. If you open blank or existing.xslxdocument, it still shows the brown background. No idea why.
I also still have the issue when opening existing files via doubleclick.
I can't seem to launch WPS with -style motif:
josh@JOSH-ARCH ~ $ et -style motif
/usr/bin/et: line 38: 8385 Segmentation fault (core dumped) ${gInstallPath}/office6/${gApp} -style gtk+ ${gOptExt} ${gOpt} "$@"
Edit: Launching WPS spreadsheets with GTK2_RC_FILES=/usr/share/themes/Arc/gtk-2.0/gtkrc et seems like a better way since it will still use the Arc theme, just not dark.
Here is a solution that works across reboots, but probably not across subsequent installs of WPS:
gksu gedit /usr/bin/et
Find:
${gInstallPath}/office6/${gApp} ${gOptExt} ${gOpt} "$@"
Replace with:
${gInstallPath}/office6/${gApp} -style motif ${gOptExt} ${gOpt} "$@"
Attribution goes to Dan Temkin on AskUbuntu.
For those who solved this problem but still met Ugly Box Style, I think motif is the culprit.
According to this, available styles include: CDE, Cleanlooks, GTK+, Motif, Plastique, Windows. So you can use:
Exe=/opt/wps-office/et %f -style Cleanlooks
You can install custom style if want dialog boxes look better.
From here: https://askubuntu.com/questions/889601/wps-office-change-spreadsheets-default-fill-background-color
Worked for me:
sudo $EDITOR /usr/bin/et
Then search:
${gInstallPath}/office6/${gApp} ${gOptExt} ${gOpt} "$@"
Then add:
${gInstallPath}/office6/${gApp} -style motif ${gOptExt} ${gOpt} "$@"
It does work also with CDE, Cleanlooks, GTK+, Motif, Plastique, Windows
Worked with this - https://askubuntu.com/questions/977624/wps-office-writer-not-loading/977829
It is not working in Fedora KDE. (Ops, sorry, someone pointed me this as if it was a universal repport, noticed this is a GTK theme repo)
Using linux mint 19.0 MATE: Even though this was obviously the answer my spreadsheet was still black (using mint-y dark theme). Even on reboot. I had used xed admin:///usr/bin/et
Solution seemed to be (following change to file):
The easiest solution for Ubuntu is to copy the shortcuts and change them.
Copy the main shortcuts to your user's shortcuts
cp /usr/share/applications/wps-office-et.desktop ~/.local/share/applications
cp /usr/share/applications/wps-office-wps.desktop ~/.local/share/applications
cp /usr/share/applications/wps-office-wpp.desktop ~/.local/share/applications
Open the shortcuts to edit them
gedit ~/.local/share/applications/wps-office-et.desktop ~/.local/share/applications/wps-office-wps.desktop ~/.local/share/applications/wps-office-wpp.desktop
Edit the line Exec=/usr/bin/xxx to add the style, for example for the et
Exec=/usr/bin/et -style motif %f
GTK theme have to be set with environment variable and parameter
env GTK2_RC_FILES=/usr/share/themes/Adwaita/gtk-2.0/gtkrc ./et -style gtk+
From here: https://askubuntu.com/questions/889601/wps-office-change-spreadsheets-default-fill-background-color
Worked for me:
sudo $EDITOR /usr/bin/et
Then search:
${gInstallPath}/office6/${gApp} ${gOptExt} ${gOpt} "$@"
Then add:
${gInstallPath}/office6/${gApp} -style motif ${gOptExt} ${gOpt} "$@"It does work also with CDE, Cleanlooks, GTK+, Motif, Plastique, Windows
The only one that works for me is GTK+.
I'm using Debian 9.8, 64bit, kerne 4.19.0 and Plasma Desktop
It seems the brand new version (wps-office_11.1.0.8372_amd64) solved the issue for me on Ubuntu.
Until then I needed to use the -style motif option on WPS startup but not anymore.
Yes its working in wps-office _11.1.0.8372_amd64 for me on Arch . My problem is open wps maximized, is de same problem whit Opera browser solved https://forums.opera.com/topic/20897/opera-does-not-remember-window-size/7 . Tested and not working in wps
I encountered the dark theme button problem with the latest wps-office 11.1. It can't be read because charactors on the button is too dark. So I executed the command below to change theme on launching.
sudo sed -i 's/${gInstallPath}\/office6\/${gApp} ${gOptExt} ${gOpt} "$@"/GTK2_RC_FILES=\/usr\/share\/themes\/Adwaita\/gtk-2.0\/gtkrc ${gInstallPath}\/office6\/${gApp} ${gOptExt} ${gOpt} "$@"/' /usr/bin/et
sudo sed -i 's/${gInstallPath}\/office6\/${gApp} ${gOptExt} ${gOpt} "$@"/GTK2_RC_FILES=\/usr\/share\/themes\/Adwaita\/gtk-2.0\/gtkrc ${gInstallPath}\/office6\/${gApp} ${gOptExt} ${gOpt} "$@"/' /usr/bin/wps
-style doesn't work, it throws an error:
Unable to open "motif"
File may have been renamed, deleted or moved
Anyone has a working solution for Arch + Gnome?
@andrfgs I'm getting the same error. Although the font color problem is resolved by the -style fix.
Just this annoying error is shown everytime wps is opened.
I found that for recent versions (I'm using 11.1.0.9505 on Manjaro + Cinnamon), you have to add:
-style=motif (or whatever suits you, I'm using plastique).
Please note the equal sign: -style=motif, not -style motif.
@yurighensev @andrfgs
Anyone tried to change the style of WPS on the newest version v11.1.0.9719?
I tried everything, including modifying the et file to add -style motif, and starting from the command line et -style=motif, but I don't notice any difference in any case.
I am running Kubuntu 20.10 with KDE desktop environment.
I tried everything, including modifying the
etfile to add-style motif, and starting from the command lineet -style=motif, but I don't notice any difference in any case.
You can see the difference in the option dialog
Most helpful comment
Here is a solution that works across reboots, but probably not across subsequent installs of WPS:
gksu gedit /usr/bin/etFind:
${gInstallPath}/office6/${gApp} ${gOptExt} ${gOpt} "$@"Replace with:
${gInstallPath}/office6/${gApp} -style motif ${gOptExt} ${gOpt} "$@"Attribution goes to Dan Temkin on AskUbuntu.