{"id":15372599,"url":"https://github.com/jkbrzt/macos-fn-toggle","last_synced_at":"2026-03-02T10:31:14.255Z","repository":{"id":7058845,"uuid":"8341336","full_name":"jkbrzt/macos-fn-toggle","owner":"jkbrzt","description":"A macOS app to quickly toggle the behavior of the fn key.","archived":false,"fork":false,"pushed_at":"2023-05-26T08:26:32.000Z","size":6428,"stargazers_count":237,"open_issues_count":4,"forks_count":30,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-01-14T06:09:21.430Z","etag":null,"topics":["jakubroztocil","keyboard-shortcuts","macos","preferences","toggles"],"latest_commit_sha":null,"homepage":"https://twitter.com/jakubroztocil","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jkbrzt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2013-02-21T18:37:58.000Z","updated_at":"2026-01-05T10:23:25.000Z","dependencies_parsed_at":"2022-07-30T09:07:58.054Z","dependency_job_id":null,"html_url":"https://github.com/jkbrzt/macos-fn-toggle","commit_stats":null,"previous_names":["jkbrzt/macos-fn-toggle","jakubroztocil/macos-fn-toggle"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jkbrzt/macos-fn-toggle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkbrzt%2Fmacos-fn-toggle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkbrzt%2Fmacos-fn-toggle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkbrzt%2Fmacos-fn-toggle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkbrzt%2Fmacos-fn-toggle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkbrzt","download_url":"https://codeload.github.com/jkbrzt/macos-fn-toggle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkbrzt%2Fmacos-fn-toggle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29998512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T09:59:02.300Z","status":"ssl_error","status_checked_at":"2026-03-02T09:59:02.001Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["jakubroztocil","keyboard-shortcuts","macos","preferences","toggles"],"created_at":"2024-10-01T13:52:16.611Z","updated_at":"2026-03-02T10:31:11.055Z","avatar_url":"https://github.com/jkbrzt.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fn-toggle.app\n\n\u003cimg align=\"left\" src=\"https://github.com/jakubroztocil/macos-fn-toggle/blob/master/Logo.png\"\u003e\n\n`fn-toggle.app` programmatically toggles the\n**\"Use all F1, F2, etc. keys as standard function keys\"**\noption in macOS System Preferences. A task that is tedious\nwhen done manually, which especially keyboard-heavy users,\nsuch as programmers, tend to do very often.\n\n![keyboard settings](https://github.com/jakubroztocil/macos-fn-toggle/blob/master/Screenshots/keyboard-settings.png)\n\nAll it does is that it executes \n[this AppleScript snippet](http://apple.stackexchange.com/questions/59178#answer-60496)\nthrough an Automator-created app:\n\n```applescript\ntell application \"System Preferences\"\n\treveal anchor \"keyboardTab\" of pane \"com.apple.preference.keyboard\"\nend tell\ntell application \"System Events\" to tell process \"System Preferences\"\n\tclick checkbox 1 of tab group 1 of window 1\nend tell\nquit application \"System Preferences\"\n```\n\n\n## Installation\n\nRun `make install` which installs the following files:\n\n* `/Applications/fn-toggle.app` — the app containing the script that toggles \n  the setting.\n* `~/Library/Services/fn-toggle.workflow` — a service that allows \n  `fn-toggle.app` to be invoked with a keyboard shortcut.\n\n(You can run `make clean` to remove those files again.)\n\nIn OS X 10.9 (Mavericks) and later, you also need to:\n\n1. Open the `fn-toggle` app once either from spotlight or from `Applications` \n   folder (it will do nothing but it's needed for the app to appear in  the \n   accessibility menu in step 3)\n2. Go to `System Preferences` \u003e `Security \u0026 Privacy` \u003e `Accessibility` \u003e \n   `Privacy` \n3. `Click the lock to make changes` and tick `fn-toggle.app` under \n   `Allow the apps below to control your computer`.\n\n\n![preferences](https://github.com/jakubroztocil/macos-fn-toggle/blob/master/Screenshots/privacy-settings.png)\n\n\n## Usage\n\nRun the app. The fastest way to do it is from Spotlight:\n\n1. Press `⌘ + space` (or similar) to open Spotlight.\n2. Type `fn`, `fn-toggle.app` should be the Top Hit.\n3. Hit `Enter`.\n\n## Enable Keyboard shortcut\n\n1. Go to `System Preferences` \u003e `Keyboard` \u003e `Shortcuts` \u003e `Services` \u003e `General` \n   (at the end of the list) and assign a new shortcut to `fn-toggle` service\n\n\n![keybard-shortcut](https://github.com/jakubroztocil/macos-fn-toggle/blob/master/Screenshots/keyboard-shortcut.png)\n\n\n## Contact\n\nJakub Roztočil\n\n* http://github.com/jakubroztocil\n* http://twitter.com/jakubroztocil\n* https://roztocil.co\n\n\n## Alternatives\n\n* https://github.com/Pyroh/Fluor — a really nice menubar application that allows you to automatically change the behaviour of the keyboard's fn keys depending on the active application.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkbrzt%2Fmacos-fn-toggle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkbrzt%2Fmacos-fn-toggle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkbrzt%2Fmacos-fn-toggle/lists"}