-
Notifications
You must be signed in to change notification settings - Fork 768
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
i3-msg socket path should follow i3 default socket path #1579
Comments
|
I don’t see a link to logs.i3wm.org. Did you follow http://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.) |
|
I don’t see a version number. Could you please copy & paste the output of |
|
I would be weary of this change because it seems like too much guessing. If i3 is not running on the display, or if there is no display, I think an error is appropriate. Keep in mind that there could be any number of i3 processes running at one time. The best way to do this is to find your display env variable: It's probably something like and that should work fine. |
|
Sorry but the purpose of socket communication is just that - use the socket. Why would I need to know DISPLAY if I want to use socket? That doesn't make much sense. OK, valid point is there could be more |
|
Ah, got it about DISPLAY :) One discovers everyday some new things, thanks! |
Hello,
I use
i3-msgfrom outside of X11 env, thusi3-msgdoesn't find socket path info from X11 root window, IIUC.Thus it would be nice if
i3-msgwould usei3default socket path by default, so I do not need to to explicitly define it.(
i3-msgruns OK when executed from X11 env, but I talk for example about scripts running from cron etc. usingi3-msg).Thanks!
Version: i3-4.8p3 / OpenBSD 5.7 snapshot 2015-03-18
Reproduce steps: log into console (not X11 env) and for example do
i3-msg "exec /usr/bin/touch /tmp/test"The text was updated successfully, but these errors were encountered: