Jump to content

how to show Restart/Shutdown prompt?


LockDown
 Share

6 posts in this topic

Recommended Posts

Have you tried? I just gave the command this is the result

Screenshot2024-11-28alle10_07_00.png.fbfc3685287ba4587181247dbb92b8b6.png

 

You can also use

 

defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool yes

 

in both cases the dialog box is shown (at least in my case)

 

Edited by Anto65
  • Like 2
Link to comment
Share on other sites

1 hour ago, Anto65 said:

Have you tried? I just gave the command this is the result

Screenshot2024-11-28alle10_07_00.png.fbfc3685287ba4587181247dbb92b8b6.png

 

Hi @Anto65 yes i tried, and it only enable/disable the prompt when i press the power button.

What im trying to do is to write a command in a script to popup that dialogue prompt

Link to comment
Share on other sites

 Share

×
×
  • Create New...