I have a multiscreen setup at work using a docking station and a one monitor with laptop at home. I run a bit into trouble configuring my system, more particularly am wondering what you do when disconnecting your laptop from your docking station? Any commands on terminal so i3wm doesn’t panic or get lost?
My setup: I use autorandr —save home
And autorandr —save work
to set up initially both of my layouts. When I connect to let’s say home I just do autorandr —change home
and it normally recognizes either home or work. I also have this started in my config file.
Problems: for one, when I simply disconnect my docking at home, go to work and reconnect, I can’t make it work via autorandr —change work
in my terminal. I need to logout and back in then it accepts it. Slight annoyance. For two, sometimes when I disconnect and later reconnect the lapop to my screen it often freezes, literally no mouse no workspaces, nothing works. Doesn’t make any sense to me since this happens 50/50 of the time.
I find the problems rather eratic, don’t have these at all when using gnome wayland. Just wondering if there is any best practice before disconnecting my docking station to avoid a full freeze, like a simple terminal command and such?
And second question, what would be the best practice to troubleshoot the screen freeze, looking at journal log?