{"id":22517786,"url":"https://github.com/andy-wu12/macbook-touchbar-reset","last_synced_at":"2026-05-08T04:13:20.814Z","repository":{"id":54114327,"uuid":"521778667","full_name":"Andy-Wu12/Macbook-Touchbar-Reset","owner":"Andy-Wu12","description":"Zsh (Shell) script that fixes the intermittent issue of the Macbook touchbar crashing.","archived":false,"fork":false,"pushed_at":"2022-08-06T20:51:10.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T02:35:01.982Z","etag":null,"topics":["bash","macbook","macbook-pro","shell-script","touchbar","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Andy-Wu12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-05T21:19:36.000Z","updated_at":"2022-08-06T20:53:57.000Z","dependencies_parsed_at":"2022-08-13T06:51:08.557Z","dependency_job_id":null,"html_url":"https://github.com/Andy-Wu12/Macbook-Touchbar-Reset","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Andy-Wu12/Macbook-Touchbar-Reset","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andy-Wu12%2FMacbook-Touchbar-Reset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andy-Wu12%2FMacbook-Touchbar-Reset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andy-Wu12%2FMacbook-Touchbar-Reset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andy-Wu12%2FMacbook-Touchbar-Reset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Andy-Wu12","download_url":"https://codeload.github.com/Andy-Wu12/Macbook-Touchbar-Reset/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Andy-Wu12%2FMacbook-Touchbar-Reset/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265623339,"owners_count":23800142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","macbook","macbook-pro","shell-script","touchbar","zsh"],"created_at":"2024-12-07T04:12:23.296Z","updated_at":"2026-05-08T04:13:15.794Z","avatar_url":"https://github.com/Andy-Wu12.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Macbook-Touchbar-Reset\nZsh (Shell) script that fixes the intermittent issue of the Macbook touchbar crashing, such as \nwhen it goes completely black, various options disappear, or you are unable to navigate after\nclicking on an option.\n## How to Run (Terminal Commands)\n\nClone the project\n\n```bash\n  git clone https://github.com/Andy-Wu12/Macbook-Touchbar-Reset.git\n```\n\nGo to the project directory\n\n```bash\n  cd Macbook-Touchbar-Reset-main\n```\n\\\n\\\nYou need to provide execute permissions to the ```resetTouchbar.sh``` file and\nwill need your **Terminal** application to do so.\n\nOnce **Terminal** is open, navigate to the directory where your file is stored\nand run the command\n\n```bash\n  chmod +x resetTouchbar.sh\n```\n\nYou should see the following permissions set for the file after running ```ls -l```:\n```-rwxr-xr-x```\n\nYou should now be able to run this script with one of the following commands\n```bash\n  ./resetTouchbar.sh\n```\n```bash\n  zsh ./resetTouchbar.sh\n```\n```bash\n  bash ./resetTouchbar.sh\n```\n\nAnd entering your password, as the script requires **sudo permission**\n\n## How to Run (Double-click file)\nAn alternative (and easier) way to run the script is to take advantage of\nthe built-in **Get Info** feature. This option is preferable as it simplifies the execution\nprocess by only requiring you to double-click on the file to run the script.\n\n1. After providing execute permission to the script as shown in the previous section,\n   right click on the file and click **Get Info**\n\n2. Click on the dropdown menu in the **Open with** section and select **Other**\n\n3. Click on the dropdown menu in the **Enable** section and select **All Applications**\n\n4. Navigate to your **Applications** folder, then to **Utilities**\n\n5. Select the **Terminal** and click **Add**\n\nAt this point you should be able to double-click the ```resetTouchbar.sh``` file\nand have it run automatically, only requesting your password for **sudo permission**\n\nShould you need to edit the file after this setup, you can always right-click on the file, select **Open with**, and\nchoose your preferred text editor to do so\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandy-wu12%2Fmacbook-touchbar-reset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandy-wu12%2Fmacbook-touchbar-reset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandy-wu12%2Fmacbook-touchbar-reset/lists"}