https://bugzilla.redhat.com/show_bug.cgi?id=388531 diff -up Python-2.5.1/Lib/webbrowser.py~ Python-2.5.1/Lib/webbrowser.py --- Python-2.5.1/Lib/webbrowser.py~ 2007-03-21 13:52:38.000000000 +0200 +++ Python-2.5.1/Lib/webbrowser.py 2007-10-02 22:56:17.000000000 +0300 @@ -442,6 +442,10 @@ class Grail(BaseBrowser): # a console terminal or an X display to run. def register_X_browsers(): + # The default freedesktop.org browser + if _iscommand("xdg-open"): + register("xdg-open", None, GenericBrowser("xdg-open")) + # The default Gnome browser if _iscommand("gconftool-2"): # get the web browser string from gconftool diff -up Python-2.5.1/Doc/lib/libwebbrowser.tex~ Python-2.5.1/Doc/lib/libwebbrowser.tex --- Python-2.5.1/Doc/lib/libwebbrowser.tex~ 2006-07-28 15:32:43.000000000 +0300 +++ Python-2.5.1/Doc/lib/libwebbrowser.tex 2007-10-02 22:57:11.000000000 +0300 @@ -107,6 +107,7 @@ in this module. \lineiii{'elinks'}{\class{Elinks('elinks')}}{} \lineiii{'lynx'}{\class{GenericBrowser('lynx')}}{} \lineiii{'w3m'}{\class{GenericBrowser('w3m')}}{} + \lineiii{'xdg-open'}{\class{GenericBrowser('xdg-open')}}{} \lineiii{'windows-default'}{\class{WindowsDefault}}{(2)} \lineiii{'internet-config'}{\class{InternetConfig}}{(3)} \lineiii{'macosx'}{\class{MacOSX('default')}}{(4)}