Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-22-2009, 11:28 PM   #1
Senior Member
Registered: Sep 2005
Distribution: Slackware
Posts: 1,442

Rep: Reputation: 71
mime type associations for Office files

I installed MS office 2003 via wine on Slackware 13. I need to know how to associate files with the right Office (msword, msexcel, msppt) program. I made launcher scripts that can launches office files from the CL, but the user on this computer will want to be able to just double click a file in dolphin and have the right office program come up.

For some reason all office files show up as x-ole-storage instead of application/msword or something similar. So, even if I tell Excel to associate with that file, it will do it for Word and PowerPoint files as well.

.ppt, .doc, and .xls extensions were configured via the KDE file associations panel, but this did not help. I played around with the raw files under ~/.local/share, but I did not find the solution.

The version of WINE is 1.1.24 (built from SBo SlackBuild).

I appreciate your help.
Old 10-24-2009, 11:01 AM   #2
Registered: Jan 2008
Location: Kolkata
Distribution: Slackware(64)-current, Fedora 14, FreeBSD
Posts: 136
Blog Entries: 1

Rep: Reputation: 29
The generic MIME type handler application for KDE would be kfmclient
#kfmclient exec file/url

will launch the application associated with the MIME type of the given file or
If the MIME type is known beforehand, it can be supplied as an additional
#kfmlclient exec file/url mimetype

Old 10-25-2009, 07:27 PM   #3
Senior Member
Registered: Sep 2005
Distribution: Slackware
Posts: 1,442

Original Poster
Rep: Reputation: 71

that is good information, but I do not see how that could be helpful in forcing dolphin to recognize the mimetypes I want it to for each of the different Office files.

Temporarily, as a workaround, I created a .desktop file that points to a script that basically runs "wine start". Since all of the Office files seem to currently be of mimetype x-ole-storage, I chose that script as a handler for that mimetype. This works for now since WINE knows what the correct mimetypes are, and using "wine start" will pull up the correct program based upon the mimetype known in WINE. Unfortunately, since Linux still sees all of the files as x-ole-storage, I cannot have different icons to represent them. This makes it a little more confusing for the user and is not ideal.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning ___ specifies undefined mime type/service type mbvpixies78 Linux - Software 0 12-29-2007 10:25 PM
How to change mime associations in firefox gkiagia Linux - Desktop 11 12-07-2006 07:33 AM
Editing File Type Associations in Bluecurve? KryspyG Red Hat 0 04-06-2004 08:23 PM
how do I change mime type? brian_eye Linux - Newbie 2 06-10-2002 09:14 AM
Mime type settings saravanan1979 Linux - Newbie 0 04-15-2002 05:53 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration