classification
Title: webbrowser doesn't respect xfce default browser
Type: behavior Stage: test needed
Components: Library (Lib) Versions: Python 3.2, Python 3.1, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: BreamoreBoy, ava1ar, eric.araujo, georg.brandl
Priority: normal Keywords: patch

Created on 2009-08-09 10:35 by ava1ar, last changed 2010-11-29 14:05 by eric.araujo.

Files
File name Uploaded Description Edit
webbrowser.py.patch ava1ar, 2009-08-10 08:18
Messages (4)
msg91426 - (view) Author: Aliaksandr Stelmachonak (ava1ar) Date: 2009-08-09 10:35
Currently webbrowser.py only trying to use GNOME and KDE default browser 
setting. This patch adds launching Xfce default browser if xfce environment detected.
msg109969 - (view) Author: Mark Lawrence (BreamoreBoy) Date: 2010-07-11 09:05
This is a three line patch.
msg109970 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-07-11 09:20
I'm not so keen on the os.popen() -- is there no other way to find out if XFCE is running?
msg122800 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-11-29 14:05
Gajim lists processes thanks to /proc, which is platform-specific; a Web search shows the use of pidof, to the same effect; I looked for an envvar (I use Xfce) and found nothing.
History
Date User Action Args
2010-11-29 14:05:37eric.araujosetnosy: + eric.araujo

messages: + msg122800
title: webbrowser.py doesn't respect xfce default browser -> webbrowser doesn't respect xfce default browser
2010-07-11 09:20:53georg.brandlsetmessages: + msg109970
2010-07-11 09:05:06BreamoreBoysetversions: + Python 3.1, Python 2.7, Python 3.2, - Python 2.6
nosy: + georg.brandl, BreamoreBoy

messages: + msg109969

assignee: georg.brandl
stage: test needed
2009-08-10 08:19:45ava1arsetfiles: - webbrowser.py.patch
2009-08-10 08:18:21ava1arsetfiles: + webbrowser.py.patch
2009-08-09 10:35:24ava1arcreate