Results 1 to 4 of 4

Thread: Any hack/option somewhere to pop up new Empathy messages?

  1. #1
    Join Date
    Nov 2008
    Beans
    381
    Distro
    Ubuntu 11.04 Natty Narwhal

    Question Any hack/option somewhere to pop up new Empathy messages?

    I don't like having to click twice to do what I had happen automatically in Pidgin- that is, open up my new messages in Empathy. It's just cumbersome- is there any hack or option for this, or should I merely go back to Pidgin for now?

    I really like Empathy, but this is just annoying.

  2. #2
    Join Date
    Nov 2008
    Beans
    381
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Any hack/option somewhere to pop up new Empathy messages?

    Huh, I guess I'll just wishlist it if possible. I'm too lazy to figure out how to code it in myself at the moment. *sigh*

  3. #3
    Join Date
    Nov 2007
    Beans
    9

    Re: Any hack/option somewhere to pop up new Empathy messages?

    Try this (needs wmctrl)- I set it to run every minute in cron (note username in cron line):

    Code:
    #get dispay of user - 1st check is not xrdp/vnc user
    dpl=`ps aux | grep -i Xvn | grep $1 | grep -v grep | cut -c71-73 | sed -e 's/  *$//'`
    #if not found default to display 0
    if [ -z $dpl ] ; then
    dpl=":0"
    fi
    export DISPLAY=$dpl #set display
    
    for i in {0..11} ; 
    do
     for pid in `wmctrl -p -l | grep -i unread | cut -c 15-21` ; #look for pid of processes with unread in title
     do 
     if [ `ps -p $pid -o comm=` == "empathy" ] ; then #if process is empathy
     wmctrl -i -a `wmctrl -lp | grep unread | grep $pid | cut -c1-10` #bring to front
     fi
     done
     sleep 5 #run check for unread messages every 5 seconds
    done
    crontab line:
    */1 * * * * bash /usr/bin/unread.sh [USERNAME OF ACCOUNT TO CHECK]
    e.g.
    */1 * * * * bash /usr/bin/unread.sh david
    Last edited by johnnyrevell; September 15th, 2011 at 09:44 AM.

  4. #4
    Join Date
    Jul 2012
    Beans
    12

    Re: Any hack/option somewhere to pop up new Empathy messages?

    Edit ➜ Preferences ➜ General ➜ Behavior ➜ Uncheck Display incoming events in notification area.

    Hope this will solve the issue.
    found on this page:
    http://askubuntu.com/questions/22292...-talking-to-me

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •