Outils pour utilisateurs

Outils du site


tech:envoyer_un_message_a_un_poste_gnu_linux

Envoyer un message a un poste GNU/Linux

Voir :

  • write
  • wall (write to all)

Pour un poste bureautique avec le paquet libnotify-bin installé

export DISPLAY=:0 
notify-send -t 30000 "Titre" "Message"

Avant il peut être intéressant de sortir l'écran de sa mise en veille

export DISPLAY=:0 
xset dpms force on

Autres

alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
tech/envoyer_un_message_a_un_poste_gnu_linux.txt · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki