Score:0

Center mouse cursor position at start-up

US flag
user1239526

I am trying to get rid of the old problem of mouse cursor going to bottom right of the screen at boot. I am running Ubuntu 22.10 with GNOME 43. Basically, I have created a Python script (as instructed here), saved it in Home as center_screen.py and confirm that it works (centers cursor immediately) when called with python3 from the Terminal.

Then, I used Startup applications GUI to add the command python3 ~/center_screen.py to run at start-up. Which should be enough, but it does not do anything.

I tried delaying the script (perhaps it runs before some internal Ubuntu startup commands mess the cursor position) using the instructions from here, appending X-GNOME-Autostart-Delay=10 to the file in ~/.config/autostart/, with no success, despite trying different timings.

I know Startup applications works, since I use it run the command plank. Which makes me think delaying the script can't help, since plank seems to pop up after the mouse cursor is misplaced in the bottom right.

Do you have any insights on how to make this work? Or if there are other alternatives I could try?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.