LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do i associate files to applications?? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-associate-files-to-applications-219367/)

unixmad 08-18-2004 02:52 PM

how do i associate files to applications??
 
Basically what I have done is created a new file on the desktop on fedora 2, I called the file test.myext obvioulsly this isnt a known file extension so what I want to do is make this new extension assosiate with /usr/bin/abiword application.
I done this as follows :

I double clicked test.myext and it says there is know action associated with test.myext so I clicked assosiate application then entered the mime type field as application/x-myext and in the part which requires the path to the application that runs the file I browsed to /usr/bin/abiword and clicked okay. Everything seemed to have worked however when I double click the test.myext file to open it , it tells me again that no application is associated with this file? correct me if im wrong here but I thought thats what I just did? To my understanding I thought that if I associated an application to a file type then when I clicked the new file type it should open with the specified application?.

I no making my own file extension may seem silly , but its not just for that.... the thing is I want to set up various essential files so that they open with various apps apon click.

My knowledge in this area is limited and any help on this would be greatly appreciated

Regards
David

or1onas 08-18-2004 03:06 PM

Don't worry...it's not only your problem!
I've been trying for almost a week to set gnochm as the default app for opening chm files but i'm facing the same problem with you.
I've tried to create my own mime type or use the default 'application/x-chm' but everytime i double click on a chm file, i get the same message as you do...
It must be a bug, i can't explain it....:(

unixmad 08-18-2004 03:47 PM

mime no work :(
 
Thanks for the reply, surely theres got to be a fix? well one that mere mortals like myself can apply hehe. If I find one I shall let you no although I cant seem to at the minute. Does anyone no if there is a bug regarding the creation of customised file extensions and mime types please feel free to input? Its just I want to be able to create my own extension & more importantly get certain files to open with specified applications.

Thanks for the input
David

or1onas 08-18-2004 03:50 PM

I'll be checkin the thread in case a reply comes from someone, but in the meantime i'm 'searching' on it :)and if i find anything i'll let you know too :rolleyes:


All times are GMT -5. The time now is 12:42 PM.