terminator
terminator copied to clipboard
Terminator window disappears in Windows10
Description
This is a feature
or help
request related to my problem.
I'm using:
- WSLv2 in Windows 10 pro.
- terminator
1.91
- Ubuntu
20.04.4 LTS (Focal Fossa)
I have configured and use terminator
as following:
Note: Please guide me if there is a better way to run/use Terminator for WSLv2.
- Installed
VcXsrv
Version:1.20.14.0 (31 Dec 2021)
- VcXrsv configuration is:
<?xml version="1.0" encoding="UTF-8"?>
<XLaunch WindowMode="MultiWindow" ClientMode="NoClient" LocalClient="False" Display="-1" LocalProgram="xcalc" RemoteProgram="xterm" RemotePassword="" PrivateKey="" RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False" XDMCPIndirect="False" Clipboard="True" ClipboardPrimary="True" ExtraParams="" Wgl="True" DisableAC="True" XDMCPTerminate="False"/>
- Configured in
.bashrc
file to make this permanent:
# Set and export the DISPLAY environmental variable
_Display="$(netstat -nr | grep -w '^0\.0\.0\.0' | awk '{print $2}')"
export DISPLAY=${_Display}:0.0
# Simple function to run the Terminator in background.
open_terminator(){
nohup terminator &>/dev/null &
}
By this, I can run Terminator.
My Issue
For any reason, if the network (usually using WiFi) is disconnected and reconnected (to the same source or another), my terminator
window got closed/disappeared from Windows but I can see that the process is running in the background.
Note: I have tried to open terminator
in the foreground, but the same issue happens.
I'm suffering from losing all my ongoing processes/opened tabs/and command history/opened directories in the terminator
:(
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered
Could you please suggest a resolution/how-to to avoid this situation?
Is there any other way to run the terminator
that can solve this problem?
Additional context
Please let me know if any other information is needed.
Thank you in advance.
I've never actually tried running Terminator on Windows.
Might be an X Server problem? https://github.com/microsoft/WSL/issues/4675 seems to be relevant.