Page 2 of 2 FirstFirst 12
Results 11 to 11 of 11

Thread: Bash script (or alias) using ssh & notify-send

  1. #11
    Join Date
    Apr 2010
    Location
    Canada
    Beans
    13

    Re: Bash script (or alias) using ssh & notify-send

    In my case I was able to get this working by changing the display number. I used the "w" command on the remote host to determine the display I wanted the notification to appear on.

    "w" reported ":1.0" so I used:
    ssh user@remote-host "DISPLAY=:1.0 notify-send "Hello" "
    Last edited by merc82; January 28th, 2013 at 07:36 PM.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •