Possible mime-actions implementation?

George Kranis geokran at ath.forthnet.gr
Sat Mar 19 20:22:58 EET 2005


just an idea while i was trying to figure a mime-actions system for my 
file manager:

in mime-database:

<?xml version="1.0" encoding="utf-8"?>
<mime-action>
    <open>
        <default>
            <action priority="1">gedit.desktop</action>
            <action priority="2">gvim.desktop</action>
            <action priority="3">mozillafirefox-bin.desktop</action>
        </default>
        <kde>
             <action priority="1">konqueror.desktop</action>
        </kde>
        <gnome>
             <action priority="1">epiphany.desktop</action>
        </gnome>
    </open>
    <edit>
    blabla...
    </edit>
</mime-action>

in gedit.desktop


OpenCommand=gedit %s
EditCommand=gedit --fooflag %s
OpenComment=Open with gedit
OpenComment[de]=SS gedit
EditComment=.....



More information about the xdg mailing list