In KDE, I find that if I echo something to pts/0
:
me@mypc:~$ echo hello > /dev/pts/0
I get a message flash sent to myself.
I'd like to make a cron job to send similar messages to myself regularly. How can I do this?
P.S. I know that Ctrl+Alt+F7 switches to the GUI, but echo
ing to /dev/tty7
just gives me a permission denied
error.
notify-send
is exactly what I was looking for. Thanks! If you post that as an answer, I'll accept it. – cst1992 Sep 04 '16 at 16:51