Changed capture to put screenshots in a subdirectory
authorAndrew DeFaria <A.DeFaria@cpanel.net>
Mon, 28 Mar 2022 02:12:00 +0000 (19:12 -0700)
committerAndrew DeFaria <A.DeFaria@cpanel.net>
Mon, 28 Mar 2022 02:12:00 +0000 (19:12 -0700)
Also both machines seem to be using DISPLAY=:1 now.
Finally minor changes to sshconfig

bin/capture-area.sh
bin/capture-window.sh
bin/lightsout.sh
rc/sshconfig

index 4ed0f95..8540f6d 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/bash
-gnome-screenshot -caf /System/tmp/Screenshot-$(date +%F@%T).png
+gnome-screenshot -caf /System/tmp/Screenshots/$(date +%F@%T).png
index 46ad937..ce75bdd 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/bash
-gnome-screenshot -cwf /System/tmp/Screenshot-$(date +%F@%T).png
+gnome-screenshot -cwf /System/tmp/Screenshots/$(date +%F@%T).png
index bd09301..126f943 100755 (executable)
@@ -9,11 +9,11 @@ if [ "$1" = "-a" ]; then
   fi
 fi
 
-if [ $host = "earth" ]; then
+#if [ $host = "earth" ]; then
   export DISPLAY=:1
-else
-  export DISPLAY=:0
-fi
+#else
+#  export DISPLAY=:0
+#fi
 
 sleep 2
 /usr/local/bin/setdpms.sh
index fd83394..6b6598f 100644 (file)
@@ -1,11 +1,11 @@
 StrictHostKeyChecking no
 LogLevel ERROR
 
-Host mars earth home defaria.com
+Host mars earth home defaria.com sandboxu
   ForwardX11 yes
   ForwardX11Trusted yes
   
-Host jupiter cpanel github.com sandbox sandboxal sandboxu
+Host jupiter cpanel github.com sandbox sandboxal
   ForwardX11 no
   ForwardX11Trusted no
 
@@ -32,9 +32,6 @@ Host sandboxal
   Hostname 10.2.99.106
   IdentityFile         ~/.ssh/cpanelkey
 
-Host enterprise.cpanel.net
-  IdentityFile         ~/.ssh/cpanelkey
-
 Host 10.2.* sandbox*
   ForwardAgent yes
   StrictHostKeyChecking no