• jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Posts: 2026 from 2003/2/24
    From: po-RNO
    Quote:

    Barren wrote:
    how can I set up mime types for MOS elf executables and amiga os 68K ones, even just to associate different icons


    Different default icons can be setted up just by copying icons to these names:

    SYS:Prefs/Presets/Deficons/application/x-amigados.info
    SYS:Prefs/Presets/Deficons/application/x-executable-amigaos-68k.info
    SYS:Prefs/Presets/Deficons/application/x-executable-morphos-ppc.info


    But for actual mime types I still haven't figured out how those three internal mime types could be overridden... I thought it could work like this:
    Code:
    AMTD
    1
    Type application/x-amigados
    Name Script
    Priority 128
    Action
    Name Execute
    Event Menu
    Command AMIGADOS Execute %sp
    End
    End


    But it doesn't seem to work... could some MorphOS developer check what goes wrong? I tried different priorities too, but no luck.

    It also looks that there is an internal option to check protection bits, but there doesn't seem to be any command for it when creating mimetypes externally...


    Quote:

    Andreas_Wolf wrote:
    > Getting Started [...] Open PDF Files Automatically

    That is about OWB MIME types, not Ambient MIME types.


    Ambient MIME types are covered in these:
    http://library.morph.zone/Getting_Started#Setting_MPlayer_as_the_Default_Player_on_Ambient
    http://library.morph.zone/Getting_Started#Setting_Jukebox_as_the_Default_Player_for_MP3_Files


    [ Edited by jPV 31.01.2017 - 16:31 ]
  • »31.01.17 - 15:26
    Profile Visit Website