Hayl
10-29-2002, 02:33 PM
Does anyone know how to create new mime types for ROX Filer?
their documentation sucks - and doesn't work.
their documentation sucks - and doesn't work.
|
Click to See Complete Forum and Search --> : ROX Filer MIME-types Hayl 10-29-2002, 02:33 PM Does anyone know how to create new mime types for ROX Filer? their documentation sucks - and doesn't work. mrBen 10-29-2002, 03:22 PM From what I can see you go to your choices/MIME-Types/ directory and make an executable script that runs the correct application. So I think to create an html MIME you would put a script: #!/bin/sh exec bluefish '$@' in the <whatever>/Choices/MIME-Type/ directory named text_html HTH Hayl 10-29-2002, 03:35 PM I created: application_xml_writer-sxw #! /bin/sh exec ~/.OpenOffice.org1.0.1/program/swriter "$1" When I right-click on the icon to try to associate an icon with it, it still says is is text/plain :( AdaHacker 10-29-2002, 07:34 PM Actually, the posted procedure is how you set a MIME-type program association, not how you create a MIME-type. In order to add a new MIME-type, you will need to edit the MIME-type database. If you're using the 1.3 development version, this may involve editing the shared MIME database, which could be an unpleasant process. I haven't tried doing it, and I don't plan to. If you're using the 1.2 stable version, however, it's easy. Just open up ~/Choices/MIME-info/Standard in your favorite text editor and go to town. The syntax will be pretty clear when you see the file. Once you make your changes, just restart the filer, and you should be all set. Hayl 10-29-2002, 07:42 PM I don't have that file :( ddicks@linuxbox:~/Choices/MIME-info$ rox -v ROX-Filer 1.2.2 Copyright (C) 2002 Thomas Leonard. ROX-Filer comes with ABSOLUTELY NO WARRANTY, to the extent permitted by law. You may redistribute copies of ROX-Filer under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. -- features set at compile time -- Large File Support... Yes Old VFS support... No (incompatible with Large File Support) Gtk+-2.0 support... No (using Gtk+-1.2 instead) Save thumbnails... Yes (using libpng) Character set translations... Yes Hayl 10-29-2002, 07:48 PM ahhh.. i just downloaded the source and found the "Standard" file in it. I will post again if it doesn't work. Hayl 10-29-2002, 07:52 PM it works. thanks AdaHacker. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |