Skip to content

Instantly share code, notes, and snippets.

@camilosampedro
Last active September 5, 2015 00:47
Show Gist options
  • Save camilosampedro/2cc1617e9c7bc965e51b to your computer and use it in GitHub Desktop.
Save camilosampedro/2cc1617e9c7bc965e51b to your computer and use it in GitHub Desktop.
Showing a message
sudo -u $USERNAME DISPLAY=:0.0 zenity --warning --text="$MESSAGE"
@camilosampedro
Copy link
Author

Message with Zenity when you are in the Linux Terminal

$USERNAME: User name who is going to receive the message.
$MESSAGE: String with message to send.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment