Skip to content

dbus-launch: Replace slashes in DISPLAY if present

sourtin requested to merge sourtin/dbus:macos-x11-bugfix into master

Per issue #311 (closed), DBus fails to autolaunch with X11 on macOS 10.8+ because XQuartz (the X11 package for macOS) provides a value for $DISPLAY that is not expected by DBus, in that it contains / characters. This is addressed by replacing the invalid path character / with _.

Resolves: #311 (closed)

Resolves: #8 (closed)

Edited by Simon McVittie

Merge request reports