![]() If you renamed your startup disk or have different Time Machine backups, you may need to edit the condition that filters out the drives. Next, open the Terminal (Applications, Utilities, Terminal), and type the following: mv Desktop/sleep.txt. In the shortcut box, enter RunDll32.exe shell32.dll,ControlRunDLL hotplug.dll and press Enter. If you want a pure bash solution, here is a function that you can call with ejectall. Press and hold the Windows + R keys together to open the Run application. Select Taskbar corner overflow to expand it. If you can't find the Safely Remove Hardware icon, press and hold (or right-click) the taskbar and select Taskbar settings. This will require you giving permission to Terminal to control Finder, or you will get this error: execution error: Not authorised to send Apple events to Finder. Press and hold (or right-click) the icon and select the hardware you want to remove. You can use the in-built AppleScript solution, as mentioned in this thread and this page, by adding this to ~/.bash_profile: alias ejectall='osascript -e "tell application \"Finder\" to eject (every disk whose ejectable is true)"' ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |