Bug 397526 - I open the file with wrong application
Summary: I open the file with wrong application
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 17.12.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-08-16 16:28 UTC by imxys1994
Modified: 2018-11-16 03:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description imxys1994 2018-08-16 16:28:47 UTC
Sorry for my poor English
I install the wps office for linux to open *.pptx files.
But in Dolphin, when I click to open *.pptx files, Ark starts running.
I have to right click the file again, and choose the right application.
The MIME type of the file is correct with "application/wps-office.pptx".
I tried to reset the default application but failed.
Comment 1 Julian Steinmann 2018-08-16 17:24:54 UTC
Hello,

Thanks for reporting this bug. Your problem is luckily already known (see https://forum.manjaro.org/t/xlsx-and-docx-files-are-opened-as-zip-file/25814/36 for a lengthy discussion). Apparently, this is the workaround:
1. Open a terminal. 
2. Move /usr/share/mime/packages/kde.xml to /usr/share/mime/packages/kde_backup.xml (or similar)
3. Run 'sudo update-mime-database /usr/share/mime'

Could you confirm that these steps work for you? Thanks!
Comment 2 Julian Steinmann 2018-09-15 12:24:06 UTC
Have you been able to test those steps?
Comment 3 Andrew Crouthamel 2018-10-21 05:04:29 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-11-12 16:05:03 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 5 imxys1994 2018-11-16 03:23:34 UTC
(In reply to Julian Schraner from comment #2)
> Have you been able to test those steps?

Sorry for my late reply; I forgot view my emails at my outlook's account.
I found the same hyperlink on Sept. 1st, and it did work for me.
Thx.