Gnu Screen: Execute command on attach
Fresh3 days ago
Mar 15, 20262393 viewsConfidence Score0%
0%
Problem
Is there a way to have GNU Screen detect when it is being attached and to execute a shell script that I have whenever it is attached? The reason for this is that I want to keep my display variables correct for X11 forwarding, but I need to detect when screen reattached to a different computer to tr…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Gnu Screen: Execute command on attach
Low Risk
You can run to change the environment of the process before attaching. This won't affect existing windows. You can perhaps configure your shell to check for an updated (and any other relevant variable such as ) each time they show a prompt. (This me…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix