Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

P1989

macrumors newbie
Original poster
Jul 5, 2018
6
0
Vienna
Hey guys!

Somehow the position of my shutdown dialog window is not align with the center of my desktop (picture below with a red center line).
Since this window doesn't have an option to close (x in the upper left corner), the workaround with cmd+arrow doesn't provide an option.

Is there any option to customize its position? Maybe through terminal?

Thanks a lot already.

With best regards from Vienna!

Ohne Titel.jpg
 
I don't think you're going to change the position in which that dialog appears... ;)
 
First things first, thank you for your reply. Are you sure? Almost everything else is customizable :)
 
Can you drag the window around by its title bar? If so, drag it far off-center to the left. Then click its "Cancel" button.

Then try a Shutdown again, and observe where the dialog window is placed.

If it's at the same off-center left position where you dragged it, then the system is preserving the location. If not, then it's not.

If it's not preserving the location, then there's probably an algorithm that's calculating placement, as distinct from a configurable value you can set. If that algorithm is using a value that's wrong for the conditions (e.g. the mid-point of a narrower screen width), or is using factors that are mistaken (e.g. adding in Dock width as if it were placed at the left side, rather than at bottom), then the resulting placement will be wrong.

I have no idea what factors the dialog placement algorithm might be using. My guess is screen size and Dock position at the very least. You can try altering your screen size (System Preferences > Display) and/or your Dock placement (Apple menu > Dock > Position at XX), then see how that affects dialog placement.

It may be that changing those values and then changing them back will cause the problem to go away. Try it and see what happens.
 
No matter where you "move" the shutdown dialog after you invoke it...
...If you then click "cancel", and re-invoke it, it will ALWAYS re-appear in its default location.

I seriously doubt this can be changed without mucking somewhere very deep into the OS.
Not something I would want to try.
 
@chown33 thanks for the reply. Sure i can drag it around, but its default position won't change. Dock position wan't affecting it at all (and I wasn't expecting it to do so), but screen size was a good idea. However, it didn't help at all. The window stays off the center line. But good thinking! Props to that.

@Fishrrman yes, but I thought someone here would know how to change its default position through terminal commands, which would be harmless to the operating system.

But important question: Is the shutdown dialog off the center line in your screens aswell?
 
What Operating System is that? My Shutdown dialog only has two buttons, Cancel and Shut Down.
 
You can get that full dialog with a keyboard shortcut, CTRL-Eject, or CTRL-power button. That's one that I have used for years, and is muscle memory for me when sleeping my Mac. CTRL-Eject, then press S to sleep, or just press enter the accept a shutdown, as that's the default on that window.
 
@chabig I'm still running 10.12.6 Sierra

@DeltaMac I know those shortcuts but that wasn't my issue (btw, no need for CTRL-Eject-S for the Sleep-Mode, if you can just press the power-button for Sleep-mode on Default Preferences on most recent macOS). Nevertheless, my issue was the default position of the window of the shutdown dialog, which apparently is not centered on the screen... and how to fix it. Thanks anyways tho
 
Last edited:
I dont care where and how the window is positioned as pushing enter dissapears :) what it is very anoing is the Shut Down command position in the drop down menu. I dont understand why it is not positioned at the bottom of all options for much easier access!
 
  • Like
Reactions: P1989
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.