Announcement

Collapse
No announcement yet.

WPS office not running in kubuntu 18.04

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    #2
    Look through this: https://www.how2shout.com/how-to/how...-terminal.html
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Originally posted by Snowhog View Post
      I followed the instructions here. I am getting the same error message.

      Comment


        #4
        Originally posted by rockonn View Post
        ... error message.
        unknown media type in type 'all/all'
        unknown media type in type 'all/allfiles'
        Those messages happen to me a lot and are unrelated to your problem.

        Regards, John Little
        Regards, John Little

        Comment


          #5
          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
          Regards, John Little

          Comment


            #6
            Re.
            Code:
            unknown media type in type 'all/all'
            unknown media type in type 'all/allfiles'
            , 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 ...

            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.
            Kubuntu 20.04

            Comment


              #7
              This page may be of help: http://technologyinfinite.blogspot.c...office-in.html
              Dave Kubuntu 20.04 Registered Linux User #462608

              Wireless Script: http://ubuntuforums.org/showthread.p...5#post12350385

              Comment


                #8
                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

                Comment


                  #9
                  Originally posted by mr_raider View Post
                  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
                  The snap works great here
                  Dave Kubuntu 20.04 Registered Linux User #462608

                  Wireless Script: http://ubuntuforums.org/showthread.p...5#post12350385

                  Comment


                    #10
                    Originally posted by chimak111 View Post
                    Re.
                    Code:
                    unknown media type in type 'all/all'
                    unknown media type in type 'all/allfiles'
                    , 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 ......
                    It occurs in just about every distro I've seen, not just Ubuntu & its derivatives. The problem is in the file:
                    /usr/share/mime/packages/kde.xml
                    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>
                    Those using the en_US character set do not have a line in kde.xml like:
                    <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-upgrade
                    Last edited by GreyGeek; Nov 10, 2018, 01:20 PM.
                    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                    – John F. Kennedy, February 26, 1962.

                    Comment


                      #11
                      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
                      Code:
                      git clone https://github.com/iamdh4/ttf-wps-fonts.git
                      cd ttf-wps-fonts
                      sudo bash install.sh
                      (That install after eye-balling that script, one shouldn't download random stuff and run it with sudo.)

                      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:
                      Code:
                      $ wps
                      Unexpected value after '--separate-output'.
                      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.

                      So, OP, if you're still having trouble, please run "wps" in a konsole, to perhaps find out what's going wrong.
                      Regards, John Little

                      Comment


                        #12
                        Nice sluthing, jlittle!
                        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                        – John F. Kennedy, February 26, 1962.

                        Comment

                        Working...
                        X