Open satmandu opened 2 years ago
XDG_RUNTIME_DIR
basically tells Owl where to put its socket, and tells its clients where to look for the socket. It'd be useless to only set XDG_RUNTIME_DIR
to some value in Owl; we have to set XDG_RUNTIME_DIR
to the same value in the clients as well, so that Owl and its clients can find each other.
Setting the value for everyone through launchd is the option I'm leaning towards, yes; but this is again not something that Owl should do. We'd have to think how to do this best.
Maybe have a reasonable default of
XDG_RUNTIME_DIR ~/Library/Application\ Support/
?Otherwise maybe in the error dialog suggest running
launchctl setenv XDG_RUNTIME_DIR ~/Library/Application\ Support/
or something to that effect to set the variable.