how to automatically center the mouse cursor on new opened windows?












0















I cant find any option on Unity tweak tool neither compiz for that.

Google only shows info about that feature on WindowsOS.



related but about already opened windows: Automatically move mouse to focused window



I am using ubuntu 16.04.3 (but I am going to install 18.04.1 soon probably).










share|improve this question

























  • Provide information about the Ubuntu version and the desktop you are using by editing your question

    – vanadium
    Jan 3 at 9:22











  • "the desktop you are using" do you mean the hardware??? like in, this is not a notebook but an actual desk-top machine

    – Aquarius Power
    Jan 3 at 18:34











  • Desktop refers to you using either Unity, or Gnome, or xfce. You indicated now Ubuntu 16.04. The default desktop there is Unity indeed. A possible solution may depend on the desktop environment and the window manager in use.

    – vanadium
    Jan 3 at 20:15











  • @vanadium oh I had already said unity from the beginning, despite I change to metacity quite often for performance, but as I understand some xdotool trick could work being WM independent :)

    – Aquarius Power
    Jan 4 at 0:31













  • I could infer you used unity because you referred to Unity tweak tool, but you did not indicate specifically. Unity uses Compiz, and relies on, compiz as window manager, so when you are on metacity, you must be using another desktop. This might indeed be possible with xdotool, but that will require scripting.

    – vanadium
    Jan 4 at 7:37
















0















I cant find any option on Unity tweak tool neither compiz for that.

Google only shows info about that feature on WindowsOS.



related but about already opened windows: Automatically move mouse to focused window



I am using ubuntu 16.04.3 (but I am going to install 18.04.1 soon probably).










share|improve this question

























  • Provide information about the Ubuntu version and the desktop you are using by editing your question

    – vanadium
    Jan 3 at 9:22











  • "the desktop you are using" do you mean the hardware??? like in, this is not a notebook but an actual desk-top machine

    – Aquarius Power
    Jan 3 at 18:34











  • Desktop refers to you using either Unity, or Gnome, or xfce. You indicated now Ubuntu 16.04. The default desktop there is Unity indeed. A possible solution may depend on the desktop environment and the window manager in use.

    – vanadium
    Jan 3 at 20:15











  • @vanadium oh I had already said unity from the beginning, despite I change to metacity quite often for performance, but as I understand some xdotool trick could work being WM independent :)

    – Aquarius Power
    Jan 4 at 0:31













  • I could infer you used unity because you referred to Unity tweak tool, but you did not indicate specifically. Unity uses Compiz, and relies on, compiz as window manager, so when you are on metacity, you must be using another desktop. This might indeed be possible with xdotool, but that will require scripting.

    – vanadium
    Jan 4 at 7:37














0












0








0








I cant find any option on Unity tweak tool neither compiz for that.

Google only shows info about that feature on WindowsOS.



related but about already opened windows: Automatically move mouse to focused window



I am using ubuntu 16.04.3 (but I am going to install 18.04.1 soon probably).










share|improve this question
















I cant find any option on Unity tweak tool neither compiz for that.

Google only shows info about that feature on WindowsOS.



related but about already opened windows: Automatically move mouse to focused window



I am using ubuntu 16.04.3 (but I am going to install 18.04.1 soon probably).







window-manager focus mouse-pointer






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 3 at 18:33







Aquarius Power

















asked Jan 2 at 20:30









Aquarius PowerAquarius Power

1,64922042




1,64922042













  • Provide information about the Ubuntu version and the desktop you are using by editing your question

    – vanadium
    Jan 3 at 9:22











  • "the desktop you are using" do you mean the hardware??? like in, this is not a notebook but an actual desk-top machine

    – Aquarius Power
    Jan 3 at 18:34











  • Desktop refers to you using either Unity, or Gnome, or xfce. You indicated now Ubuntu 16.04. The default desktop there is Unity indeed. A possible solution may depend on the desktop environment and the window manager in use.

    – vanadium
    Jan 3 at 20:15











  • @vanadium oh I had already said unity from the beginning, despite I change to metacity quite often for performance, but as I understand some xdotool trick could work being WM independent :)

    – Aquarius Power
    Jan 4 at 0:31













  • I could infer you used unity because you referred to Unity tweak tool, but you did not indicate specifically. Unity uses Compiz, and relies on, compiz as window manager, so when you are on metacity, you must be using another desktop. This might indeed be possible with xdotool, but that will require scripting.

    – vanadium
    Jan 4 at 7:37



















  • Provide information about the Ubuntu version and the desktop you are using by editing your question

    – vanadium
    Jan 3 at 9:22











  • "the desktop you are using" do you mean the hardware??? like in, this is not a notebook but an actual desk-top machine

    – Aquarius Power
    Jan 3 at 18:34











  • Desktop refers to you using either Unity, or Gnome, or xfce. You indicated now Ubuntu 16.04. The default desktop there is Unity indeed. A possible solution may depend on the desktop environment and the window manager in use.

    – vanadium
    Jan 3 at 20:15











  • @vanadium oh I had already said unity from the beginning, despite I change to metacity quite often for performance, but as I understand some xdotool trick could work being WM independent :)

    – Aquarius Power
    Jan 4 at 0:31













  • I could infer you used unity because you referred to Unity tweak tool, but you did not indicate specifically. Unity uses Compiz, and relies on, compiz as window manager, so when you are on metacity, you must be using another desktop. This might indeed be possible with xdotool, but that will require scripting.

    – vanadium
    Jan 4 at 7:37

















Provide information about the Ubuntu version and the desktop you are using by editing your question

– vanadium
Jan 3 at 9:22





Provide information about the Ubuntu version and the desktop you are using by editing your question

– vanadium
Jan 3 at 9:22













"the desktop you are using" do you mean the hardware??? like in, this is not a notebook but an actual desk-top machine

– Aquarius Power
Jan 3 at 18:34





"the desktop you are using" do you mean the hardware??? like in, this is not a notebook but an actual desk-top machine

– Aquarius Power
Jan 3 at 18:34













Desktop refers to you using either Unity, or Gnome, or xfce. You indicated now Ubuntu 16.04. The default desktop there is Unity indeed. A possible solution may depend on the desktop environment and the window manager in use.

– vanadium
Jan 3 at 20:15





Desktop refers to you using either Unity, or Gnome, or xfce. You indicated now Ubuntu 16.04. The default desktop there is Unity indeed. A possible solution may depend on the desktop environment and the window manager in use.

– vanadium
Jan 3 at 20:15













@vanadium oh I had already said unity from the beginning, despite I change to metacity quite often for performance, but as I understand some xdotool trick could work being WM independent :)

– Aquarius Power
Jan 4 at 0:31







@vanadium oh I had already said unity from the beginning, despite I change to metacity quite often for performance, but as I understand some xdotool trick could work being WM independent :)

– Aquarius Power
Jan 4 at 0:31















I could infer you used unity because you referred to Unity tweak tool, but you did not indicate specifically. Unity uses Compiz, and relies on, compiz as window manager, so when you are on metacity, you must be using another desktop. This might indeed be possible with xdotool, but that will require scripting.

– vanadium
Jan 4 at 7:37





I could infer you used unity because you referred to Unity tweak tool, but you did not indicate specifically. Unity uses Compiz, and relies on, compiz as window manager, so when you are on metacity, you must be using another desktop. This might indeed be possible with xdotool, but that will require scripting.

– vanadium
Jan 4 at 7:37










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1106389%2fhow-to-automatically-center-the-mouse-cursor-on-new-opened-windows%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1106389%2fhow-to-automatically-center-the-mouse-cursor-on-new-opened-windows%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Human spaceflight

Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

張江高科駅