# Mac Superuser

## Troubleshooting

### [Apps will not connect to internet](https://apple.stackexchange.com/questions/6147/some-applications-on-macbook-pro-think-internet-is-not-connected-when-it-is)

```
dscacheutil -flushcache
```

### [External HDD won't mount](https://apple.stackexchange.com/questions/268998/external-hard-drive-wont-mount)

#### Diagnostics

```
ps aux | grep fsck
```

```
sudo kill -9 2587
```

###

* [Remove monitor audio output](https://discussions.apple.com/thread/6044880#:~:text=You%20need%20to%20go%20to,as%20the%20main%20audio%20source.)
  * I think I found a solution! It's not about the audio output - it's about what display is your 'main display'. You need to go to System preferences > Display > Arrangement. Here, drag that little white title bar on the main display screen, which currently will be on the HDMi display, to your mac display. Apple will always keep the audio output corresponding to the main display as the main audio source. Once you change the main display to your inbuilt display, the HDMi audio output is never used by default! This solved it for me.
  * A simple fast way to select connected Audio Output devices, is to hold the Alt (option) key and click the Sound icon on your Menu Bar.

### Bypass Gatekeep to use apps from anywhere

1. Use[ terminal to disable settings](https://macpaw.com/how-to/allow-apps-anywhere)
2. Control + RMB open an app

## Apps

* **Utilities**
  * Magnet: <https://apps.apple.com/us/app/magnet/id441258766?mt=12>

## Essentials Shortcuts

| Shortcut             | Function        |
| -------------------- | --------------- |
| Cmd shift A          | Applications    |
| Command + Spacebar   | Finder bar      |
| Cmd + Shift + G      | Go to path      |
| Option + RMB on file | Get file name   |
| Shift-Cmd-Q          | Log out         |
| F3                   | Mission Control |
| Cmd-F3               | Show Desktop    |

### Get path directory of file (hold option + RMB)

![](/files/-Lx6r2d4Sd4auk6gFmvM)

## Notes

* Make use of Finder top bar
* Preview in 'collage"


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nosleepcreative.com/dev/archive/mac.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
