Announcement
Collapse
No announcement yet.
WPS office not running in kubuntu 18.04
Collapse
This topic is closed.
X
X
-
On Kubuntu (18.04) bionic I downloaded the file the OP did, and installed it with dpkg. (I did not have to do the libpng12 thing; WPS for Linux was repackaged last month, and it seems they've fixed that problem.)
An item was created on my K menu called "WPS Office", with three items for Presentation, Spreadsheets, and Writer.
It first complained about "No necessary symbol fonts", and gave a link to a page in Chinese (AFAICT). Googling that I found a github project that maintains the fonts, so
(That install after eye-balling that script, one shouldn't download random stuff and run it with sudo.)Code:git clone https://github.com/iamdh4/ttf-wps-fonts.git cd ttf-wps-fonts sudo bash install.sh
Then WPS started fine. It appeared to be much more like recent versions of MS Office than LibreOffice is. (I really don't like that, I've found the MS Office interface very frustrating.) My dark colour scheme caused problems; light grey text on a white background is hard to read. But that's not unusual for me, trying to keep to dark backgrounds is often a quixotic tilt at windmills.
But, I couldn't open files. Clicking on open did nothing. I diagnosed this by running wps in a konsole:
That's a kdialog error, so I imagine it only happens with KDE. Google found a workaround; I used the KDE menu editor to edit the commands to have "WPS_NO_KDE_NATIVE_DIALOG=1 " ahead of the commands, now they work fine.Code:$ wps Unexpected value after '--separate-output'.
So, OP, if you're still having trouble, please run "wps" in a konsole, to perhaps find out what's going wrong.
- Top
- Bottom
Leave a comment:
-
It occurs in just about every distro I've seen, not just Ubuntu & its derivatives. The problem is in the file:Originally posted by chimak111 View PostRe., I see that very often even if a program installs successfully. As jlittle points out, it's harmless. Not an error but an irritant which has persisted over the years and "kde" gets a bit of credit ......Code:unknown media type in type 'all/all' unknown media type in type 'all/allfiles'
/usr/share/mime/packages/kde.xml
Those using the en_US character set do not have a line in kde.xml like:Code:<!-- all/ fake mime types --> <mime-type type="all/all"> <comment>all files and folders</comment> and </mime-type> <mime-type type="all/allfiles"> <comment>all files</comment>
<comment xml:lang="en_US">all files and folders</comment>
and
<comment xml:lang="en_US">all files</comment>
in their respective sections.
To overcome the errors, open a Konsoleand enter the following commands:
$ cd /usr/share/mime/packages
$ ls -al kde.xml
If it exists, then:
$ sudo rm kde.xml
$ sudo update-mime-database /usr/share/mime
$ sudo apt update
$ sudo apt full-upgradeLast edited by GreyGeek; Nov 10, 2018, 01:20 PM.
- Top
- Bottom
Leave a comment:
-
Snap has a version that works fine.
Purge the .deb you installed. Then open a terminal and type
sudo snap install wps-office
Sent from my ONEPLUS A5010 using Tapatalk
- Top
- Bottom
Leave a comment:
-
This page may be of help: http://technologyinfinite.blogspot.c...office-in.html
- Top
- Bottom
Leave a comment:
-
Re., I see that very often even if a program installs successfully. As jlittle points out, it's harmless. Not an error but an irritant which has persisted over the years and "kde" gets a bit of credit ...Code:unknown media type in type 'all/all' unknown media type in type 'all/allfiles'
From the image you posted, sudo dpkg -i has done what it was told to.Last edited by chimak111; Nov 10, 2018, 05:55 AM.
- Top
- Bottom
Leave a comment:
-
Did you install libpng12?
18.04 has moved on to libpng16, and libpng12 is not supported anymore. However, there are reports of installing libpng12 from a 16.04 repository without trouble, as they say libpng12 can coexist with libpng16.
My Kubuntu system is presently in the middle of a noisy student party, but tomorrow I may be able to have a go at WPS Office.
Regards, John Little
- Top
- Bottom
Leave a comment:
-
I followed the instructions here. I am getting the same error message.Originally posted by Snowhog View PostLook through this: https://www.how2shout.com/how-to/how...-terminal.html
- Top
- Bottom
Leave a comment:
-
Look through this: https://www.how2shout.com/how-to/how...-terminal.html
- Top
- Bottom
Leave a comment:
-
WPS office not running in kubuntu 18.04
I could install WPS office with an error message. WPS is not running int he system. Pls help.

I have pasted the image of system installing WPS with its error message.
unknown media type in type 'all/all'
unknown media type in type 'all/allfiles'
this is the only error message I found while installing. WPS not working at all after installation.Tags: None
- Top
- Bottom
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.
Leave a comment: