Xdg

Нету информации и точных ответов по вопросу ассоцииации.

Костыльный вариант через переменную $BROWSER
 * 1

Загадочный способ добавить в .xinit.rc export DE=kde или export DE=gnome
 * 2


 * Для всей системы /usr/share/applications/defaults.list (может не работать этот вариант)
 * Для пользователя ~/.local/share/applications/defaults.list

xdg-mime default firefox3.desktop text/html /usr/home/lke/.local/share/applications/defaults.list

xdg-open 'http://www.freedesktop.org/' firefox: not found mozilla: not found netscape: not found xdg-open: no method available for opening 'http://www.freedesktop.org/'

psearch xdg-utils devel/xdg-utils          Tools to allow all applications to integrate with the free desktop

pkg_info -L xdg-utils-1.0.2_5

apropos xdg xdg-desktop-icon(1) - (un)installing icons to the desktop xdg-desktop-menu(1) - (un)installing desktop menu items xdg-email(1)       - sending mail using the user's preferred e-mail composer xdg-icon-resource(1)- (un)installing icon resources xdg-mime(1)        - querying information about file type handling and adding descriptions for new file types xdg-open(1)        - opens a file or URL in the user's preferred application xdg-screensaver(1) - command line tool for controlling the screensaver

'update-alternatives' is a Debian (and I suppose Ubuntu)
 * Для линуксов


 * как это в psi
 * описание в вики freedesktop
 * http://www.reddit.com/r/linux/comments/ea0tm/
 * https://bbs.archlinux.org/viewtopic.php?id=84844