On 14.04.2014 01:28, Vladimir Kudrya wrote:
Maybe example would clarify things? The spec would need an example anyway.

I will update this question taking into account the new patch and inability for desktop-specific list to add/remove apps.

$XDG_CONFIG_HOME desktop-specific list:
     [Default Applications]
     foo/bar=app2.desktop

$XDG_CONFIG_HOME list:
     [Added Associations]
     foo/bar=app2.desktop
     [Removed Associations]
     foo/bar=app4.desktop

$XDG_DATA_HOME applications:
     app5.desktop

$XDG_CONFIG_DIRS list:
     [Removed Associations]
     foo/bar=app2.desktop

$XDG_DATA_DIRS desktop-specific list:
     [Default Applications]
     foo/bar=app3.desktop

$XDG_DATA_DIRS list:
     [Default Applications]
     foo/bar=app1.desktop
     [Added Associations]
     foo/bar=app4.desktop

$XDG_DATA_DIRS applications:
     app1.desktop;app2.desktop;app3.desktop


Please show how to iterate through the list.
Is the result app2.desktop;app3.desktop;app1.desktop;app5.desktop?
_______________________________________________
xdg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to