You are Here:
Linux Lite 7.0 Final Released - See Release Announcement Section



Notification on login

Author (Read 2110 times)

0 Members and 1 Guest are viewing this topic.

Re: Notification on login
« Reply #3 on: February 20, 2016, 06:10:39 AM »
 

liamjake05

  • Forum Regular
  • ***
  • 100
    Posts
  • Reputation: 3
    • View Profile

  • MEMORY: 4Gb
Thanks man, did not have a .profile file but used the following command to make one
Code: [Select]
touch .profile
« Last Edit: February 20, 2016, 06:56:55 AM by liamjake05 »
 

Re: Notification on login
« Reply #2 on: February 18, 2016, 03:54:53 PM »
 

LL-user

  • I come here a lot
  • *****
  • 458
    Posts
  • Reputation: 215
  • Linux Lite Member
    • View Profile
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: [Select]
notify-send "Big brother is watching you."

With confirmation/ interaction:

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

Hope that helps :)
 

Notification on login
« Reply #1 on: February 18, 2016, 11:32:14 AM »
 

liamjake05

  • Forum Regular
  • ***
  • 100
    Posts
  • Reputation: 3
    • View Profile

  • MEMORY: 4Gb
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.
« Last Edit: February 20, 2016, 06:57:23 AM by liamjake05 »
 

 

-->
X Close Ad

Linux Lite 7.0 Final Released - See Release Announcement Section