LINUX LITE 7.4 RC1 RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Notification on login
#1
Hi, anybody knows how to make a notification appear when somebody logs in to an account. I am upgrading a PC and I want a message to appear after log in.
Reply
#2
Hi liamjake05,

If you just want a notification shown without confirmation/ interaction you could add a line like this to the file /home/<user_name/.profile

Code:
notify-send "Big brother is watching you."

With confirmation/ interaction:

Code:
zenity --info --text="Big brother is watching you."

Hope that helps Smile
Reply
#3
Thanks man, did not have a .profile file but used the following command to make one
Code:
touch .profile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)