Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Hello i'm creating an ide called SLY. Sly creates .slyproj files i want that when user click on it they see the file icon, and sly must open up!

i asked on the IRC i made sly.sharedmimeinfo : http://paste.ubuntu.com/915799/ (in first row ? is missing i now)

and i've added dh_installmime -i to my rules file

sly.desktop: http://paste.ubuntu.com/915941/

Then i packaged the .deb but nothing happened to .slyproj files (i can't see the icon)

--EDIT:

i edit sly.sharedmimeinfo: paste.ubuntu.com/916010 now when i double click on .slyproj i can't see icon but it says that no application is found for opening .slyproj

NOW IT WORKS WHEN I CLICK .slyproj SLy open ups! I only can't see file icon...

share|improve this question
    
For adding mime types: see this answer. To make Nautilus open your files with their default application: see this answer –  Takkat Apr 5 '12 at 13:31
    
Possible duplicate? askubuntu.com/questions/46020/… –  fossfreedom Apr 5 '12 at 22:31
    
Possible duplicate? askubuntu.com/questions/103594/mime-type-of-a-file –  fossfreedom Apr 5 '12 at 22:32

1 Answer 1

See /etc/mime.types and man mime.types. Not sure how additional types get added by programs without editing the main file, that'll be an exercise for the OP. Good luck.

share|improve this answer
    
i edit sly.sharedmimeinfo: paste.ubuntu.com/916010 now when i double click on .slyproj i can't see icon but it says that no application is found for opening .slyproj –  Raffa50 Apr 5 '12 at 13:21
    
Sorry, I only have time to point you in the right direction, not solve the problem for you. –  ppetraki Apr 5 '12 at 13:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.