From ea7435d35d6813ba078b5e2bb46b08db54c591da Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 29 Jun 2016 11:57:48 +0200 Subject: remote-notify-client.sh: Run ssh in batch mode Password queries could cause hanging X sessions if this script is run in .xinitrc. Signed-off-by: Florian Pritz --- remote-notify-client.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote-notify-client.sh b/remote-notify-client.sh index c53fa95..40caac5 100755 --- a/remote-notify-client.sh +++ b/remote-notify-client.sh @@ -4,7 +4,7 @@ exec 0<&- -sup ssh caju 'socat unix-connect:notify.sock stdout' | +sup ssh -o BatchMode=yes caju 'socat unix-connect:notify.sock stdout' | while read heading message; do if [[ -n $heading ]]; then notify-send --hint=int:transient:1 -t 5000 -- "${heading}" "${message}"; -- cgit v1.2.3-24-g4f1b