This forum has been archived. All content is frozen. Please use KDE Discuss instead.

WPS Office not working

Tags: None
(comma "," separated)
User avatar
waynes
Registered Member
Posts
122
Karma
0

Re: WPS Office not working

Thu Oct 12, 2017 10:19 am
Perhaps we should move this discussion somewhere else. I think it's on the verge of not being tolerated much longer. There are rules that we must obey.


@raddison... I'm not sure what you mean by that!!
The idea of the forum is so that problems like this can be resolved. Sometimes they're resolved quickly other times they may take months.
If & when WPS office runs on Plasma the same as it does on Gnome, a lot of people will benefit.

What rules are we breaking exactly?
raddison
Registered Member
Posts
515
Karma
0

Re: WPS Office not working

Thu Oct 12, 2017 12:51 pm
@Waynes I'm not sure whether this is a Neon thing but I'm endorsing your wish.


Proud to be powered by Plasma
raddison
Registered Member
Posts
515
Karma
0

Re: WPS Office not working

Thu Oct 12, 2017 10:07 pm
The idea of the forum is so that problems like this can be resolved. Sometimes they're resolved quickly other times they may take months.


@Waynes Okay, then let's do something about it. Answers don't fall out of the sky.

https://github.com/Plasmoner/WPS-and-Plasma/issues/1

We might get an answer right there.


Proud to be powered by Plasma
raddison
Registered Member
Posts
515
Karma
0

Re: WPS Office not working

Thu Oct 12, 2017 11:18 pm
@Waynes Have you contacted the WPS people or should I? ;)


Proud to be powered by Plasma
User avatar
waynes
Registered Member
Posts
122
Karma
0

Re: WPS Office not working

Fri Oct 13, 2017 9:34 am
raddison wrote:@Waynes Have you contacted the WPS people or should I? ;)

I don't think it's a WPS issue. The fact it works perfectly well on other distro's & DEs is testament to that.
Remember Neon is according to the Devs NOT a distro, it just showcases KDE on top of Ubuntu packages. It is also a very minimalistic install, so it's just likely that we're missing some packages. Sooner or later someone will work out what. On the other hand it just may not play nicely with Plasma. Either way looking at the development for WPS on Linux, it's highly unlikely, they'll even be bothered.
raddison
Registered Member
Posts
515
Karma
0

Re: WPS Office not working

Wed Nov 29, 2017 9:56 pm
waynes wrote:
raddison wrote:@Waynes Have you contacted the WPS people or should I? ;)

I don't think it's a WPS issue. The fact it works perfectly well on other distro's & DEs is testament to that.
Remember Neon is according to the Devs NOT a distro, it just showcases KDE on top of Ubuntu packages. It is also a very minimalistic install, so it's just likely that we're missing some packages. Sooner or later someone will work out what. On the other hand it just may not play nicely with Plasma. Either way looking at the development for WPS on Linux, it's highly unlikely, they'll even be bothered.


An excerpt from my conversation with my boss

- Hey, have you ever thought about migrating your business to a GNU/Linux OS?

- Nah.

- No, seriously, have a look right here.

- Hey, what the heck is this? Looks great!

- It's called the Plasma desktop.

- Plasma? Wow, didn't know about it. Does it support MS Office?

- Nope, but it supports LibreOffice.

- Tried it but ran into formatting issues. Nah. Anything else?


If you are a core developer (hey, I know you all by name :)) and are reading this post, please consider making adjustments to Plasma so it can run WPS Office. Patented formats are still an industry standard. WPS Office runs on all GTK-based desktops but it does not run on Plasma. Put aside any misconceptions you might or might not have and consider making Plasma compatible with WPS Office. I'd like to think Plasma is for the real world. Thank you.

PS: This not a bug, so I shall not report just hope. At least I might or might not get a technical answer as of why aforementioned software does not work on Plasma OR a dev's thoughts on the matter.


Proud to be powered by Plasma
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS

Re: WPS Office not working

Thu Nov 30, 2017 12:36 am
it is a packaging bug on WPS part. I have Xfce along side Plasma 5 via Neon User on my Chromebook. WPS runs as expected, with some menus not working as mentioned previously.
On my Neon laptop with only Plasma 5, it does segfault. I have no idea how to tell which of the Gtk2, libgnome or other related libraries I have which make it work on the Chromebook. Blaming Plamsa for WPS not having proper dependencies listed is probably misplaced


Also, you can get the menus to work by running it like so:
Code: Select all
WPS_NO_KDE_NATIVE_DIALOG=1 wps -style gtk


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
raddison
Registered Member
Posts
515
Karma
0

Re: WPS Office not working

Thu Nov 30, 2017 1:48 am
claydoh wrote:it is a packaging bug on WPS part. I have Xfce along side Plasma 5 via Neon User on my Chromebook. WPS runs as expected, with some menus not working as mentioned previously.
On my Neon laptop with only Plasma 5, it does segfault. I have no idea how to tell which of the Gtk2, libgnome or other related libraries I have which make it work on the Chromebook. Blaming Plamsa for WPS not having proper dependencies listed is probably misplaced


Also, you can get the menus to work by running it like so:
Code: Select all
WPS_NO_KDE_NATIVE_DIALOG=1 wps -style gtk


Thanks Clay. I'm not blaming anything or anyone. Truth to tell, I can't stand gtk-based desktop environments, so I rather live without WPS but not without Plasma. Honest.


Proud to be powered by Plasma
javo_O-
Registered Member
Posts
1
Karma
0

Re: WPS Office not working

Thu Nov 30, 2017 2:30 am
This (https://linuxdicasesuporte.blogspot.mx/ ... ntu-e.html) worked for me in Kubuntu 16.04,
1.- just run this
Code: Select all
 apt -y install Qt4 qtconfig

2.- Open Qt4 Settings
3.- Change GUI-Style to GTK+
4.- Save changes

Thank you raddison


raddison wrote:
projetolinuxkdu wrote:Ola Pessoal...
Segue um script para gerar a solução no GNU/Linux KDu4 Alpha2 KDE-Plasma.

#!/bin/bash

# https://linuxdicasesuporte.blogspot.com ... ntu-e.html
# The dependency should correspond with the package name.
#
# Instalar o qt4-qtconfig - Isso é para se evitar o erro reportado pelo membro da comunidade
# Correção wps - Erro de Falaha de Segmentação:
# /usr/bin/wps, linha 38: 13405 Falha de segmentação ${gInstallPath}/office6/${gApp} ${gOptExt} ${gOpt} "$@"
# Otimizado para uso no GNU/Linux KDu4 Alpha2 KDE-Plasma
# Abra o qtconfig e set para GTK em "Select GUI Style" Salve, saia e e execute o WPS

clear

dependencies=(
"http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb"
"http://kdl.cc.ksosoft.com/wps-community/download/fonts/wps-office-fonts_1.0_all.deb"
"http://repo.uniaolivre.com/packages/trusty/main/wps-office-mui-pt-br_1.1.0-0kaiana1_all.deb"
"http://kdl1.cache.wps.com/ksodl/download/linux/a21//wps-office_10.1.0.5707~a21_amd64.deb"
"http://br.archive.ubuntu.com/ubuntu/pool/universe/q/qt4-x11/qt4-qtconfig_4.8.7+dfsg-7ubuntu1_amd64.deb"
)
package_name=(
"libpng12-0_1.2.54-1ubuntu1_amd64.deb"
"wps-office-fonts_1.0_all.deb"
"wps-office-mui-pt-br_1.1.0-0kaiana1_all.deb"
"wps-office_10.1.0.5707~a21_amd64.deb"
"qt4-qtconfig_4.8.7+dfsg-7ubuntu1_amd64.deb"
)
for (( x=0; x<${#dependencies[@]}; x++ )); do
wget -c ${dependencies[${x}]}
done
for (( x=0; x<${#package_name[@]}; x++ )); do
sudo dpkg --install ${package_name[${x}]}
# Abrindo o qtconfig para setar GTK em "Select GUI Style" Salve, saia e e execute o WPS
xterm -bg darkblue -fg white -title "Setando GTK para o ambiente sem QT cfgs." -e '
echo -e "\n\n\n Configurando o ambiente QT,\n\n Set "Select GUI Style" para GTK"; /usr/bin/qtconfig'
sleep 5
sudo apt update -y; sudo apt dist-upgrade -y
done

Now open WPS it is fine working



@projetolinuxkdu

Muito obrigado! :)

As WPS is proprietary and closed-source, do you happen to know whether it sends anything to mothership (as in spyware?) I haven't sniffed the traffic yet but I will. I hate to admit it but it's better-looking, snappier and more compatible with those darn patented Mikerosoft formats than LibreOffice and it's got night mode. What's your plasma version, If I may?

Again, I like WPS a lot but It makes me feel uneasy because I still don't know whether it's mining any data or not.
raddison
Registered Member
Posts
515
Karma
0

Re: WPS Office not working

Sun Dec 03, 2017 7:57 pm
This (https://linuxdicasesuporte.blogspot.mx/ ... ntu-e.html) worked for me in Kubuntu 16.04,
1.- just run this
Code: Select all
 apt -y install Qt4 qtconfig

2.- Open Qt4 Settings
3.- Change GUI-Style to GTK+
4.- Save changes

Thank you raddison


@javo
Nothing to thank me. I got it working on Kubuntu 16.04.3 as well as previously mentioned. I use breeze dark (always :)) so I had some not so nice rendering (maybe on breeze light there's no rendering issue) but functionally speaking it behaved as it should.

***
That being said, who can confirm it works on Neon or Kubuntu 17.04 or 17.10? I think nobody can.
***
The only way is to head straight to the packagers of WPS office and kindly ask them to make necessary adjustments for it to work on Plasma 5.x.x. I shall do that. I had it.


Proud to be powered by Plasma
Invictus
Registered Member
Posts
12
Karma
0

Re: WPS Office not working

Mon Dec 04, 2017 3:02 am
raddison wrote:
This (https://linuxdicasesuporte.blogspot.mx/ ... ntu-e.html) worked for me in Kubuntu 16.04,
1.- just run this
Code: Select all
 apt -y install Qt4 qtconfig

2.- Open Qt4 Settings
3.- Change GUI-Style to GTK+
4.- Save changes

Thank you raddison


@javo
Nothing to thank me. I got it working on Kubuntu 16.04.3 as well as previously mentioned. I use breeze dark (always :)) so I had some not so nice rendering (maybe on breeze light there's no rendering issue) but functionally speaking it behaved as it should.

***
That being said, who can confirm it works on Neon or Kubuntu 17.04 or 17.10? I think nobody can.
***
The only way is to head straight to the packagers of WPS office and kindly ask them to make necessary adjustments for it to work on Plasma 5.x.x. I shall do that. I had it.


Check out this thread.
raddison
Registered Member
Posts
515
Karma
0

Re: WPS Office not working

Mon Dec 04, 2017 5:05 pm
How to Install and Open WPS Office in KDE Neon?

Jebin Tony Raj
2017 07 28



WPS Office is a popular MS Office clone for Linux and they provide better support for MS Office files than Libre Office or any other Office in Linux (as far as I know). But, WPS Office doesn't work well with Neon's KDE environment and fails to launch. So, I will explain the steps to install and setup WPS Office successfully in Neon.

- Download the latest WPS Office from http://wps-community.org/downloads
- Open the Downloads folder in Dolphin file manager and right click on the Debian package.
- Select Open With --> QApt Package Installer. It is available in every KDE Neon installation.
- Select Install and input your Password when requested.
- Close it once the installation is over.
- sudo dpkg --configure -a

Now, after installing, you may not be able to launch it when opening a document opening a document or in Applications menu. This is because of incompatibility with KDE. We have to make it fallback to GTK for it to work. Now follow these steps.

http://3.bp.blogspot.com/-6z-pxMhd66o/W ... 194554.png

- Right click the Application Launcher and select "Edit Applications".
- Select Submenu WPS Writer under Office.
- In the General tab, replace "/usr/bin/wps %f" with "/usr/bin/wps %f -style gtk".
- Similarly, add "-style gtk" to the existing commands for WPS Presentation and Spreadsheets.
- Finally, click Save and close the Menu Editor.

Now, if you open WPS Office from Application Menu, it will launch successfully. However, if you try to open documents from Dolphin, the Ark archive tool will open. For that problem, follow this work around.
Microsoft Documents opens via Ark in KDE Neon (with Solution)



The above is a transcript of Jebin Tony Raj's blogpost. All credit belongs to the original author.
===============================================================================================================


Originally Posted by claydoh:
To get menus to work, run it like so:

WPS_NO_KDE_NATIVE_DIALOG=1 wps -style gtk


Now it's all in one place. But it's closed-source and clearly sends packets to mothership, while Libre Office does not. It might be just telemetry and usage statistics though.

Last edited by raddison on Mon Dec 04, 2017 11:28 pm, edited 1 time in total.


Proud to be powered by Plasma
raddison
Registered Member
Posts
515
Karma
0

Re: WPS Office not working

Mon Dec 04, 2017 9:04 pm
Thank you all guys. If one follows the previous post step-by-step, WPS Office works on Neon indeed. No need for qt4-qtconfig at all as a prerequisite. So yeah, now it works. Just checked, so I know it for a fact. It renders well and all.

@Waynes Hope you're happy. This has been a long road. Please close this thread. The issue has been sorted out. For good. :D :D :D


Proud to be powered by Plasma
raddison
Registered Member
Posts
515
Karma
0

Re: WPS Office not working

Mon Dec 04, 2017 11:18 pm
How to install WPS Office in KDE Neon - Condensed Guide for Purists ;D

1. Download the latest WPS Office from http://wps-community.org/downloads

2. Open the Downloads folder in Dolphin file manager and right click on the .deb package

3. Select Open With > QApt Package Installer

4. Select Install and input your password when requested

5. Once the installation is completed, close it

6. Open Konsole and type in
Code: Select all
sudo dpkg --configure -a


7. Right click the Application Launcher and select Edit Applications

8. In the KDE Menu Editor, select WPS Writer under Office

9. In the General tab, replace "/usr/bin/wps %f" with "/usr/bin/wps %f -style gtk"

10. Similarly, add " -style gtk" to the existing commands for WPS Presentation and Spreadsheets

11. Click Save and close the Menu Editor

12. Input
Code: Select all
WPS_NO_KDE_NATIVE_DIALOG=1 wps -style gtk
in Konsole

Done. Enjoy.

@Waynes This is it. No further.


Proud to be powered by Plasma
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS

Re: WPS Office not working

Tue Dec 05, 2017 4:34 am
raddison wrote:How to install WPS Office in KDE Neon - Condensed Guide for Purists ;D

1. Download the latest WPS Office from http://wps-community.org/downloads

2. Open the Downloads folder in Dolphin file manager and right click on the .deb package

3. Select Open With > QApt Package Installer

4. Select Install and input your password when requested

5. Once the installation is completed, close it

6. Open Konsole and type in
Code: Select all
sudo dpkg --configure -a


7. Right click the Application Launcher and select Edit Applications

8. In the KDE Menu Editor, select WPS Writer under Office

9. In the General tab, replace "/usr/bin/wps %f" with "/usr/bin/wps %f -style gtk"

10. Similarly, add " -style gtk" to the existing commands for WPS Presentation and Spreadsheets

11. Click Save and close the Menu Editor

12. Input
Code: Select all
WPS_NO_KDE_NATIVE_DIALOG=1 wps -style gtk
in Konsole

Done. Enjoy.

@Waynes This is it. No further.


2 and 3 are unnecessary, as discover, or (qapt, or the dpkg command) can be used here -- just double click the file, and enter the password when prompted
6 is also completely unnecessary
9 should read "WPS_NO_KDE_NATIVE_DIALOG=1 /usr/bin/wps %f -style gtk", which eliminates step 12, and makes the menu entry work


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]