It seems to me that this problem is exactly equivalent to the problem of filter chain in KOffice, which was solved using a wieghting system using for example: X-KDE-Weight=50 Wouldn't that be a more generic and existing mechanism? Thanks, Shaheed