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 mouse preferences to move the pointer automatically to the default button?

share|improve this question
What do you mean by "default button" ? By automatically, did you mean at startup of Ubuntu / an application ? – Lekensteyn Apr 13 '11 at 19:56
Actually, that's the phrasing used in Windows. When you have a dialog box, there is a "default button". Therefore, I want the pointer to move automatically to the position of that button. – Robert Smith Apr 14 '11 at 1:19
Default button is the button, which triggers, if I just hit <kbd> enter</kbd>? And this, independent from the language (c, java, python) in which the application was written, and which GUI-lib it uses qt/gtk/swing/awt/swt/tk)? – user unknown Apr 14 '11 at 1:40
up vote 1 down vote accepted

I believe that this is window manager-dependent. By default, in Ubuntu you're running either Compiz or Metacity. I don't think that either of those WMs has the option you're looking for. But there are many WMs out there. I seem to recall encountering at least one such WM years ago when I used to experiment with window managers. Of course, I no longer remember which one it was, but I suspect a Synaptic and/or Google search for window managers would yield some interesting reading.

share|improve this answer

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.