[Portland] Using Xdg-utils on distros where they're not available

Jeremy White jwhite at codeweavers.com
Fri Mar 28 08:21:33 PDT 2008


> Now I wonder.. what about distros where Xdg-utils are not present?
> According to the wiki, it's recommended to install a copy of the
> scripts somewhere and use those ones to perform desktop integration.

And the specific way I would recommend is that you include your own
copy, and add the directory you have them in to the PATH, but make
it the *last* entry in the PATH.  That way, if the system you're
installing on has it's own xdg-utils, they take precedence, but
you're still covered on ones that don't.

> But will it be pertinent on all "old" systems (yeah, "old" would have
> to be defined)? Are they clues about cases where Xdg-utils will work
> or fail, or more or less work on that "old" distros?

I think that depends in part on what functions of xdg-utils you
want to use; I don't think they'll degrade consistently.

For menus, I think you'd find joy on most versions of KDE and Gnome from
the past 4 or so years.  Once you get back to the vfolders stuff on
Gnome, I don't think xdg-utils will work for menus any longer.

The other utilities may be a bit more of a mixed bag; I don't have a clean
sense of how things like xdg-open will work on an older distribution.

Cheers,

Jeremy


More information about the Portland mailing list