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

I'm wondering if there's a way to make one action have two different effects depending on the workspace it's on.

For example: if on workspace 1, then the command to focus Empathy's chat list is used, but if on workspace 2, then the command to open Chrome is used.

It would be linked to mousing over to the right edge of the screen in Compiz.

Is this possible?

share|improve this question

Have a look at xdotool. get_desktop will output the current desktop in view.

share|improve this answer

Your Answer

 
discard

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.