![]() ![]() Lastly, in the info window for the shutdown timer, click the logo in the top left corner to highlight it, then press command + V to paste the image. Open the image you want to use in Preview and press command + A to select all and command + C to copy. This opens the info page for the shortcut. If you want to replace the default icon of an executable file, click to highlight the icon and press command + I. ![]() On older MacBook Air models, the power button is located in the upper-right corner of the keyboard. The Command key is also known as the Apple key on some keyboards. If your MacBook Air has become unresponsive, you can force it to shut down by pressing and holding the power button for about 10 seconds. Press and hold Command-W to close the window that is active on your Macs screen. Now if you double-click the shutdown shortcut on your desktop, Terminal will open, prompting you to enter your user password. How to Force Your Macbook Air to Restart. Next, type chmod 774 shutdown and press enter. Open terminal and change directory to Desktop by typing cd /Users//Desktop and press enter. Before clicking Save, make sure to uncheck the box beside If no extension is provided, use ".txt". Click Save.įinally, we need to make the file executable. ![]() Save the file to Desktop and give it a simple name, like shutdown. Press return twice, and on the third line, enter your shutdown timer command, such as sudo shutdown -h +15. This tells the operating system that the command should be executed using Bash. On the very top line of the text file, type #!/bin/bash. If you find yourself using the same shutdown timer often, you may want to create a desktop shortcut for the timer.Ī partially complete script for a shutdown timer. In fact, if the fan isn’t working for an extended period of time, the MacBook will most likely shut down to. One thing that we must make clear before we go any further is that the fan in your MacBook should always be on. If you wish to cancel a shutdown timer, take note of its pid and enter this command in Terminal: sudo kill. Possible causes of a MacBook fan being always on can be dust build-up, heavy GPU use, regular wear and tear, and more. It will also give you the process ID, also known as a pid, which is a three- to four-digit number. The shutdown timer will then be created, giving you the exact time and date that the shutdown/restart/sleep process will occur. When you enter one of these commands, you will need to enter the password for the user account and press return.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |