fsmsg allows you to leave messages to other users on the system
fsmsg send [recipient] [message] - Send a message to the recipient's inbox.
fsmsg show - Show messages in your inbox.
fsmsg check - Check if you have any new messages (useful on login).
fsmsg clear - Clear all messages in your inbox.
fsmsg help - Display this help message.
yay -S fsmsg-githttps://aur.archlinux.org/packages/fsmsg-git
Download the fsmsg executable from this repository
# Copy the executable somewhere all users can execute
sudo mv fsmsg /usr/bin/fsmsg
# Setting up the inbox directory
sudo mkdir -p /var/spool/fsmsg
sudo chmod 0777 /var/spool/fsmsgIt's useful for everyone to check their messages on a regular basis
In order to do this, a new profile.d entry is a nice option
sudo echo "fsmsg check" > /etc/profile.d/fsmsg.sh
sudo chmod +x /etc/profile.d/fsmsg.sh