Author hans-meine
Recipients hans-meine, ned.deily, ronaldoussoren
Date 2021-02-03.09:21:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
For a long time, I wondered why opening Jupyter notebooks through nbopen always led to XQuartz starting.  Now, I found the reason: nbopen uses to open a web page, and 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/<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:34hans-meinesetrecipients: + hans-meine, ronaldoussoren, ned.deily
2021-02-03 09:21:34hans-meinesetmessageid: <>
2021-02-03 09:21:34hans-meinelinkissue43111 messages
2021-02-03 09:21:33hans-meinecreate