All Projects → jakubroztocil → Macos Fn Toggle

jakubroztocil / Macos Fn Toggle

Licence: mit
A macOS app to quickly toggle the behavior of the fn key.

Projects that are alternatives of or similar to Macos Fn Toggle

Latex Makefile
A Makefile for LaTeX - drop it in, type make, and magic happens.
Stars: ✭ 168 (-5.62%)
Mutual labels:  makefile
Explainers
Explainers from WebKit contributors
Stars: ✭ 174 (-2.25%)
Mutual labels:  makefile
Usb2 Power Hub
4-Port High Power USB 2.0 Hub
Stars: ✭ 178 (+0%)
Mutual labels:  makefile
Android device xiaomi kenzo
Stars: ✭ 170 (-4.49%)
Mutual labels:  makefile
Proprietary vendor oneplus
Stars: ✭ 172 (-3.37%)
Mutual labels:  makefile
Zeus
An Electrifying Build System
Stars: ✭ 176 (-1.12%)
Mutual labels:  makefile
Specification
Serverless Workflow Specification
Stars: ✭ 166 (-6.74%)
Mutual labels:  makefile
Kios
A Linux OS created by Buildroot which runs Kerberos Open Source out-of-the-box.
Stars: ✭ 178 (+0%)
Mutual labels:  makefile
Pu Gan
PU-GAN: a Point Cloud Upsampling Adversarial Network, ICCV, 2019
Stars: ✭ 173 (-2.81%)
Mutual labels:  makefile
Pyeco
pyeco翻译
Stars: ✭ 177 (-0.56%)
Mutual labels:  makefile
Uninstallfeedback
Show feedback page when the apk is uninstalled.
Stars: ✭ 169 (-5.06%)
Mutual labels:  makefile
Gcc4mbed
Project to allow GCC compilation of code using mbed SDK libraries.
Stars: ✭ 171 (-3.93%)
Mutual labels:  makefile
Openwrt Node Packages
OpenWrt Project Node.js packages. v10.x LTS and v12.x LTS and v14.x LTS
Stars: ✭ 176 (-1.12%)
Mutual labels:  makefile
Easyndk For Cocos2dx
NDK is always a problem. Writing such a code that can become a breeze in connecting with other platforms is always a problem when working with cocos2dx. This repo is a step made forward to make this pain a simple step.
Stars: ✭ 168 (-5.62%)
Mutual labels:  makefile
Awesome Scanning
A curated list of awesome projects to simplify and improve paper scanning.
Stars: ✭ 178 (+0%)
Mutual labels:  makefile
Maid
Markdown driven task runner.
Stars: ✭ 1,999 (+1023.03%)
Mutual labels:  makefile
Hx dk for nordic 52840 ble
该代码仓主要用于发布基于红旭开发板的NORDIC 52840 BLE教程(This repository is mainly to publish the NORDIC 52840 BLE tutorials based on the HX DK)
Stars: ✭ 175 (-1.69%)
Mutual labels:  makefile
Vpnpivot
Explore the network using VPNPivot tool
Stars: ✭ 179 (+0.56%)
Mutual labels:  makefile
Shashlik Build
Stars: ✭ 178 (+0%)
Mutual labels:  makefile
Binary Samples
Samples of binary with different formats and architectures. A test suite for your binary analysis tools.
Stars: ✭ 177 (-0.56%)
Mutual labels:  makefile

fn-toggle.app

fn-toggle.app programmatically toggles the "Use all F1, F2, etc. keys as standard function keys" option in macOS System Preferences. A task that is tedious when done manually, which especially keyboard-heavy users, such as programmers, tend to do very often.

keyboard settings

All it does is that it executes this AppleScript snippet through an Automator-created app:

tell application "System Preferences"
	reveal anchor "keyboardTab" of pane "com.apple.preference.keyboard"
end tell
tell application "System Events" to tell process "System Preferences"
	click checkbox 1 of tab group 1 of window 1
end tell
quit application "System Preferences"

Installation

Run make install which installs the following files:

  • /Applications/fn-toggle.app — the app containing the script that toggles the setting.
  • ~/Library/Services/fn-toggle.workflow — a service that allows fn-toggle.app to be invoked with a keyboard shortcut.

(You can run make clean to remove those files again.)

In OS X 10.9 (Mavericks) and later, you also need to:

  1. Open the fn-toggle app once either from spotlight or from Applications folder (it will do nothing but it's needed for the app to appear in the accessibility menu in step 3)
  2. Go to System Preferences > Security & Privacy > Accessibility > Privacy
  3. Click the lock to make changes and tick fn-toggle.app under Allow the apps below to control your computer.

preferences

Usage

Run the app. The fastest way to do it is from Spotlight:

  1. Press ⌘ + space (or similar) to open Spotlight.
  2. Type fn, fn-toggle.app should be the Top Hit.
  3. Hit Enter.

Enable Keyboard shortcut

  1. Go to System Preferences > Keyboard > Shortcuts > Services > General (at the end of the list) and assign a new shortcut to fn-toggle service

keybard-shortcut

Contact

Jakub Roztočil

Alternatives

  • 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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].