Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to configure Empathy so that when a new IM arrives I can open it using a keyboard shortcut rather than having to click the envelope icon of the Indicator Applet?

share|improve this question

It isn't exactly what you want, but in Empathy there is an unfortunately-labelled box in preferences: “Display incoming events in the notification area.”

alt text

Make sure that isn't checked and new messages will open right away in the background.

share|improve this answer
I can't find this option on Empathy 3.8.4. Is this answer still relevant? – Waldir Leoncio Nov 26 '13 at 22:29
I was looking for that on 3.8~ too. Any idea? – euDennis Mar 19 '14 at 23:07

This answer to another Empathy question might meet your needs.

share|improve this answer

The solution I ended up using is as follows:

  1. Launch empathy.
  2. Right click on the launcher in the navigation bar
  3. Select "keep launcher".
  4. Finally remember the position where the laucher is (lets say 3), and whenever you want to focus on Empathy just press WIN+3. If the chat window was not on focus last time in that workspace you can just press WIN+3 twice till you see the chat window.

N.B.: The options name may differ as my actual version is not in english.

share|improve this answer

You can do it using the xdotool package.

  1. Make sure xdotool is installed
    sudo apt-get install xdotool
  2. Open a new bash script called, and paste the following code into it.

    #! /bin/bash  
    mp=$(xdotool getmouselocation | sed 's/x:\(\w\+\) y:\(\w\+\) scr.*/\1 \2/')  
    xdotool mousemove --clearmodifiers 951 10 click --clearmodifiers 1 mousemove --clearmodifiers $mp
  3. Save it, mark it as executable (you can do this in the file properties).

  4. Bind it to a hotkey of your liking (you can do this by going into "Keyboard Shortcuts" in the main menu).

All it really does is move the mouse on top of the icon, click the icon, and move the mouse back where it was. I have it bound to F11 and so far it's great.

Important: the number 951 inside the script depends on the resolution and will not work on your monitor. It is the x coordinate of the messaging menu icon in your screen, you have to tweak it until it works.

share|improve this answer

I think the default shortcut for the messaging menu is Super+M (Super = Windows-key).

There is at least one Compiz extension that uses that shortcut too. In that case you have to remove that shortcut in Compiz, and then restart the indicator-applet (e.g. log out & back in).

share|improve this answer
Super-M switch my screen to negative – Extender Oct 31 '10 at 6:18
Extender is right. I even disabled compiz and Super+M didn't do anything. – amh Oct 31 '10 at 6:34
Hm, this worked in Lucid I'm sure, doesn't seem to work in Maverick anymore... :-( – JanC Oct 31 '10 at 6:40
See addition to my answer... – JanC Oct 31 '10 at 6:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.