Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XDG_RUNTIME_DIR not set fallback option doesn't exist #8

Open
satmandu opened this issue Nov 10, 2021 · 1 comment
Open

XDG_RUNTIME_DIR not set fallback option doesn't exist #8

satmandu opened this issue Nov 10, 2021 · 1 comment

Comments

@satmandu
Copy link

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.

@bugaevc
Copy link
Member

bugaevc commented Nov 10, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants