Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

This question already has an answer here:

I want to create an application in Ubuntu which should run in the background. It needs to be informed when the focused window changes. Basically I need to run a callback function in my application on window focus change event.

I have never programmed anything in Ubuntu. I am not sure how to move ahead. Please, help me.

share|improve this question

marked as duplicate by Eric Carvalho, Luis Alvarado Aug 8 '13 at 9:57

This question was marked as an exact duplicate of an existing question.

You should start here: https://wiki.ubuntu.com/Quickly

This is an easy tutorial: https://www.youtube.com/watch?v=sO8hiPreNBg

Enjoy it!

share|improve this answer

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