xfce4-i3-workspaces-plugin icon indicating copy to clipboard operation
xfce4-i3-workspaces-plugin copied to clipboard

cannot connect to i3 window manager socket path atom library is null

Open psamim opened this issue 9 years ago • 9 comments

Hi,

I am not sure if this error is caused by xfce4-i3-workspaces-plugin or not. I start i3 and xfce4-panel using startx without any display manager.

When I close i3, the message cannot connect to i3 window manager socket path atom library is null is displayed continuously. When I switch to another TTY and kill the process /usr/lib/xfce4/panel/wrapper-1.0 /usr/lib/xfce4/panel/plugins/libi3workspaces.so, the message is stopped.

Thanks, Samim

psamim avatar Jun 21 '16 05:06 psamim

Yes, the plugin tries to reconnect to the window manager continuously after a disconnect. I'm not sure what to do about that. This makes sense when you are running an i3 session and the window manager have restarted or crashed. You can remove the plugin from the panel when you are done using i3 and then the spamming will stop.

denesb avatar Jun 21 '16 05:06 denesb

Maybe it can stop trying to reconnect after some time.

Or react differently on i3 exit command.

Thanks, Samim

psamim avatar Jun 21 '16 06:06 psamim

I have no way of determining how i3 exited. I could modify it to check only once in a second.

denesb avatar Jun 21 '16 06:06 denesb

Frequency of checking does not matter. As long as it is checking, I cannot exit i3 and return to shell. I think we can have maximum retries.

psamim avatar Jun 21 '16 07:06 psamim

But it seems that the ultimate solution is to have an exit event for i3ipc.

psamim avatar Jun 21 '16 07:06 psamim

I'm working in the exit event. It's done, I just need to do some cleanup.

acrisci avatar Jun 21 '16 15:06 acrisci

@denesb Sorry for bumping this old issue, but i3 has solved this here: https://i3wm.org/docs/ipc.html#_shutdown_event. Are you still willing to work on this? If yes, will you fix this issue using this shutdown event?

rharish101 avatar Mar 25 '20 18:03 rharish101

WFIW, this makes my ".xsession-errors.old" quickly fill the 37GB left of my /home partition :{

liar666 avatar May 13 '20 13:05 liar666

This happened to me too.. after I restarted i3 to make a config change

hypergig avatar Jul 10 '20 20:07 hypergig