Message386182
For a long time, I wondered why opening Jupyter notebooks through nbopen always led to XQuartz starting. Now, I found the reason: nbopen uses webbrowser.py to open a web page, and webbrowser.py sees the `DISPLAY` variable being set and calls xdg-settings (which I installed via the xdg-utils port / MacPorts).
Apparently, in order to be able to fire up XQuartz on demand and to allow people starting X11 applications, `DISPLAY` is set to a string like `/private/tmp/com.apple.launchd.<somecode>/org.xquartz:0`.
I am using Safari and find this starting of XQuartz undesirable (causes a delay, uses system resources, leads to a new running program in the Dock / task switcher). On the other hand I can totally understand that the code makes sense.
As a workaround, I can unset DISPLAY, or uninstall xdg-utils (although it is useful, and may be a dependency of other ports), but I thought I should also bring it up here for discussion. |
|
Date |
User |
Action |
Args |
2021-02-03 09:21:34 | hans-meine | set | recipients:
+ hans-meine, ronaldoussoren, ned.deily |
2021-02-03 09:21:34 | hans-meine | set | messageid: <1612344094.48.0.0202402812851.issue43111@roundup.psfhosted.org> |
2021-02-03 09:21:34 | hans-meine | link | issue43111 messages |
2021-02-03 09:21:33 | hans-meine | create | |
|