Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
10-22-2009, 11:28 PM
|
#1
|
|
Senior Member
Registered: Sep 2005
Distribution: Slackware
Posts: 1,439
Rep:
|
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.
|
|
|
|
10-24-2009, 11:01 AM
|
#2
|
|
Member
Registered: Jan 2008
Location: Kolkata
Distribution: Slackware(64)-current, Fedora 14, FreeBSD
Posts: 136
Rep:
|
The generic MIME type handler application for KDE would be kfmclient
Code:
#kfmclient exec file/url
will launch the application associated with the MIME type of the given file or
URL
If the MIME type is known beforehand, it can be supplied as an additional
parameter
Code:
#kfmlclient exec file/url mimetype
|
|
|
|
10-25-2009, 07:27 PM
|
#3
|
|
Senior Member
Registered: Sep 2005
Distribution: Slackware
Posts: 1,439
Original Poster
Rep:
|
jedi_sith_fears,
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 |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:47 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|