Pop up a message on the GUI from cron
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
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.
x11 notifications
add a comment |Â
up vote
2
down vote
favorite
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.
x11 notifications
If you can think of a better title, feel free to change it.
â cst1992
Sep 4 '16 at 7:53
@Thomasnotify-send
is exactly what I was looking for. Thanks! If you post that as an answer, I'll accept it.
â cst1992
Sep 4 '16 at 16:51
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
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.
x11 notifications
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.
x11 notifications
x11 notifications
edited 8 mins ago
don_crissti
48.4k15129158
48.4k15129158
asked Sep 4 '16 at 7:53
cst1992
1154
1154
If you can think of a better title, feel free to change it.
â cst1992
Sep 4 '16 at 7:53
@Thomasnotify-send
is exactly what I was looking for. Thanks! If you post that as an answer, I'll accept it.
â cst1992
Sep 4 '16 at 16:51
add a comment |Â
If you can think of a better title, feel free to change it.
â cst1992
Sep 4 '16 at 7:53
@Thomasnotify-send
is exactly what I was looking for. Thanks! If you post that as an answer, I'll accept it.
â cst1992
Sep 4 '16 at 16:51
If you can think of a better title, feel free to change it.
â cst1992
Sep 4 '16 at 7:53
If you can think of a better title, feel free to change it.
â cst1992
Sep 4 '16 at 7:53
@Thomas
notify-send
is exactly what I was looking for. Thanks! If you post that as an answer, I'll accept it.â cst1992
Sep 4 '16 at 16:51
@Thomas
notify-send
is exactly what I was looking for. Thanks! If you post that as an answer, I'll accept it.â cst1992
Sep 4 '16 at 16:51
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
4
down vote
accepted
If you want to send a pop up message to a user logged into a Desktop Environment, have a look at notify-send
.
And see unix.stackexchange.com/questions/10121/⦠about accessing X11 from cron.
â Gilles
Sep 5 '16 at 22:14
add a comment |Â
up vote
1
down vote
Are you looking for the write
command? This command allows you to send a message to a given user, which is then printed on his terminal/console. You can optionally specify the tty to send the message to.
I knowwrite
already. I'm looking for a GUI alternative.
â cst1992
Sep 4 '16 at 16:50
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
If you want to send a pop up message to a user logged into a Desktop Environment, have a look at notify-send
.
And see unix.stackexchange.com/questions/10121/⦠about accessing X11 from cron.
â Gilles
Sep 5 '16 at 22:14
add a comment |Â
up vote
4
down vote
accepted
If you want to send a pop up message to a user logged into a Desktop Environment, have a look at notify-send
.
And see unix.stackexchange.com/questions/10121/⦠about accessing X11 from cron.
â Gilles
Sep 5 '16 at 22:14
add a comment |Â
up vote
4
down vote
accepted
up vote
4
down vote
accepted
If you want to send a pop up message to a user logged into a Desktop Environment, have a look at notify-send
.
If you want to send a pop up message to a user logged into a Desktop Environment, have a look at notify-send
.
edited Sep 5 '16 at 8:23
cst1992
1154
1154
answered Sep 4 '16 at 17:12
Thomas
3,64141225
3,64141225
And see unix.stackexchange.com/questions/10121/⦠about accessing X11 from cron.
â Gilles
Sep 5 '16 at 22:14
add a comment |Â
And see unix.stackexchange.com/questions/10121/⦠about accessing X11 from cron.
â Gilles
Sep 5 '16 at 22:14
And see unix.stackexchange.com/questions/10121/⦠about accessing X11 from cron.
â Gilles
Sep 5 '16 at 22:14
And see unix.stackexchange.com/questions/10121/⦠about accessing X11 from cron.
â Gilles
Sep 5 '16 at 22:14
add a comment |Â
up vote
1
down vote
Are you looking for the write
command? This command allows you to send a message to a given user, which is then printed on his terminal/console. You can optionally specify the tty to send the message to.
I knowwrite
already. I'm looking for a GUI alternative.
â cst1992
Sep 4 '16 at 16:50
add a comment |Â
up vote
1
down vote
Are you looking for the write
command? This command allows you to send a message to a given user, which is then printed on his terminal/console. You can optionally specify the tty to send the message to.
I knowwrite
already. I'm looking for a GUI alternative.
â cst1992
Sep 4 '16 at 16:50
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Are you looking for the write
command? This command allows you to send a message to a given user, which is then printed on his terminal/console. You can optionally specify the tty to send the message to.
Are you looking for the write
command? This command allows you to send a message to a given user, which is then printed on his terminal/console. You can optionally specify the tty to send the message to.
answered Sep 4 '16 at 9:52
ph0t0nix
508416
508416
I knowwrite
already. I'm looking for a GUI alternative.
â cst1992
Sep 4 '16 at 16:50
add a comment |Â
I knowwrite
already. I'm looking for a GUI alternative.
â cst1992
Sep 4 '16 at 16:50
I know
write
already. I'm looking for a GUI alternative.â cst1992
Sep 4 '16 at 16:50
I know
write
already. I'm looking for a GUI alternative.â cst1992
Sep 4 '16 at 16:50
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f307772%2fpop-up-a-message-on-the-gui-from-cron%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
If you can think of a better title, feel free to change it.
â cst1992
Sep 4 '16 at 7:53
@Thomas
notify-send
is exactly what I was looking for. Thanks! If you post that as an answer, I'll accept it.â cst1992
Sep 4 '16 at 16:51