You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently webbrowser.py only trying to use GNOME and KDE default browser
setting. This patch adds launching Xfce default browser if xfce environment detected.
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.
Activity
ava1ar commentedon Aug 9, 2009
Currently webbrowser.py only trying to use GNOME and KDE default browser
setting. This patch adds launching Xfce default browser if xfce environment detected.
BreamoreBoy commentedon Jul 11, 2010
This is a three line patch.
birkenfeld commentedon Jul 11, 2010
I'm not so keen on the os.popen() -- is there no other way to find out if XFCE is running?
merwok commentedon Nov 29, 2010
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.
[-]webbrowser.py doesn't respect xfce default browser[/-][+]webbrowser doesn't respect xfce default browser[/+]birkenfeld commentedon Mar 28, 2013
Closing to due to lack of a better way to detect Xfce.
merwok commentedon Mar 28, 2013
Sorry I did not comment earlier, but there is this way:
tiran commentedon Jul 6, 2013
I have a box with Ubuntu 12.04 and XFCE4:
declare -x XDG_CURRENT_DESKTOP="XFCE"
declare -x DESKTOP_SESSION="xubuntu"
merwok commentedon Jul 6, 2013
I don’t understand what your message is saying, Christian.
3 remaining items
merwok commentedon Jul 6, 2013
XDG_CURRENT_DESKTOP*
berkerpeksag commentedon May 18, 2014
Attaching a patch that checks both XDG_CURRENT_DESKTOP and DESKTOP_SESSION env vars for XFCE.
csabella commentedon Mar 25, 2018
Should this patch be converted to a PR?
minrk commentedon Feb 21, 2025
Looks like the exo-open command should be
to ensure a browser is launched (e.g. for
file://URL).