
Enviado em 04/07/2021 - 12:31h
#!/bin/bash
# Ctrl + Alt + F1
#
# Ctrl + Alt + F2
# w
# 12:21:27 up 54 min, 3 users, load average: 1,20, 0,57, 0,48
# USUARIO TTY DE LOGIN@ OCIOSO JCPU PCPU O QUE
# master tty1 - 12:01 20:07 0.51s 0.00s xinit /etc/X11/xinit/xinitrc -- /usr/bin/X :1 -auth /home/master/.serverauth.
# Goku pts/1 :0.0 12:10 3:05 0.11s 2.65s /usr/bin/xfce4-terminal
# https://unix.stackexchange.com/questions/2881/show-a-notification-across-all-running-x-displays
# https://stackoverflow.com/questions/28195805/running-notify-send-as-root
clear
echo "
"
w
echo "
"
who
echo "
"
# sleep 20
users=$(who | awk '{print $1}')
for user in $users
do
# DISPLAY=:0
# echo "$user"
su "$user" -c 'notify-send "hello '$user'!!"'
done
exit 0
Instalando COSMIC no Linux Mint
Turbinando o Linux Mint: o poder das Nemo Actions
Inteligência Artificial no desenvolvimento de software: quando começar a usar?
Como utilizar emblemas em pastas e arquivos no pcmanfm?
Instalando e definindo as novas fontes Adwaita no GNOME









