2005-09-26 | paulb | raw annotate files changeset graph | [project @ 2005-09-26 12:09:52 by paulb] Separated detection out from the open function. Added detection of "standard" environments employing the DESKTOP_LAUNCH environment variable (thus replacing the usage of OPENER). Changed the desktop parameter value to "standard" from "generic" for such environments, and added "Windows" as a desktop parameter value. Improved the module docstring, adding a reference to standardisation discussions. Changed the logic in the open function to test the suitability of desktop parameter overrides (ie. whether insisting on certain desktops actually makes sense). |
1 Notes on desktop application/environment support: 2 3 KDE Supports file and URL opening using kfmclient, where the openURL 4 command opens the resource and the exec command runs the 5 resource. 6 7 GNOME Supports file and URL opening using gnome-open. 8 9 ROX-Filer Supports file opening using "rox <filename>" but not URL 10 opening.