On 28 January 2013 06:51, Sergey "Shnatsel" Davidoff
<ser...@elementaryos.org> wrote:
> To solve this, I wrote a wrapper that registers itself in alternatives
> system with a very high priority (500) and, when invoked via a symlink
> controlled by alternatives system, it determines the symlink by which
> it was invoked based on argv[0], then looks up the user preference for
> this kind of app by its primary mimetype and launches it. If it fails
> to do so, it falls back to the second-highest-priority item in
> alternatives system, i.e. executes the behavior which would happen if
> the wrapper wouldn't exist at all.

This sounds very interesting. Why don't you propose it to Debian too,
perhaps on the debian-devel mailing list?

Jeremy

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to