Message369872
In a pure Wayland environment (without xwayland), the DISPLAY environment variable is not present. Therefore the call to `xdg-settings get default-browser` is not made. So the webbrowser behaviour is different between X11 and Wayland environment. I'm working on a fix, should submit a GitHub PR soon.
```
❯ export | grep DISPLAY
WAYLAND_DISPLAY=wayland-0
❯ python -c "import webbrowser; print(webbrowser.get())"
<webbrowser.GenericBrowser object at 0x7f6f1b755160>
``` |
|
Date |
User |
Action |
Args |
2020-05-25 11:38:08 | Jeremy Attali | set | recipients:
+ Jeremy Attali |
2020-05-25 11:38:08 | Jeremy Attali | set | messageid: <1590406688.74.0.158171351248.issue40767@roundup.psfhosted.org> |
2020-05-25 11:38:08 | Jeremy Attali | link | issue40767 messages |
2020-05-25 11:38:08 | Jeremy Attali | create | |
|