View Full Version : My Own file format
rulk88
May 19th, 2009, 09:36 PM
I'm a game developer and I have custom file format for in-game animation, also i have editor for it. Is there a way to assosiate this file format with the editor?
simeon87
May 19th, 2009, 09:40 PM
Right-click the file > Properties > Open With. Then add the editor here.
rulk88
May 19th, 2009, 10:04 PM
Is there a way to do it not using GUI? From a program or command line?
nvteighen
May 19th, 2009, 10:33 PM
Hmm... I guess there has to be a way to set this through some script executed while installing a .deb package... or your target DE's API should have some way to do it?
Ferrat
May 20th, 2009, 12:33 PM
Is there a way to do it not using GUI? From a program or command line?
cd /proc/sys/fs/binfmt_misc
echo ‘:MyFileExtentionName:E::MyFileExtention::/the/path/to/theprogram/Iwantto/registeritWith:’ > register
You have to sudo it possibly.
So ex. if you want text files to register with vim you would do
echo ":text:E::txt::/bin/vi:" > register
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.