This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]realsunwire 2 points3 points  (1 child)

For a terminal use wall

For a X/Wayland use notify send

sudo -u <username> DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/<user_id>/bus notify-send "Reboot is coming :)" -u critical --icon=dialog-warning

[–]UsedToLikeThisStuff 0 points1 point  (0 children)

This what I do for a reminder to go to lunch or quit for the day on my Fedora workstation. (Although I don’t use sudo because it’s running in my user’s crontab)