User Tools

Site Tools


osx:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
osx:start [2017/12/05 13:03]
robm [VPN over SSH]
osx:start [2018/05/01 18:23]
robm + smcFanControl
Line 723: Line 723:
  
 ====== Global Keyboard Shortcut to toggle Skype microphone ====== ====== Global Keyboard Shortcut to toggle Skype microphone ======
 +
 +<note tip>I've since switched to using [[https://www.boastr.net/|BetterTouchTool]] which lets me add buttons to the TouchBar that do the same</note>
  
 Use Automator to create a new Service which takes no input, this will appears in System Preferences > Keyboard Shortcuts > Services > General. Get this new service to run the following AppleScript which uses an *unsupported* Skype Desktop API: Use Automator to create a new Service which takes no input, this will appears in System Preferences > Keyboard Shortcuts > Services > General. Get this new service to run the following AppleScript which uses an *unsupported* Skype Desktop API:
Line 742: Line 744:
  
 Credit to http://stackoverflow.com/a/20049615/83100 Credit to http://stackoverflow.com/a/20049615/83100
 +
 +====== Use TouchID for sudo ======
 +
 +Based on https://apple.stackexchange.com/a/306324/21948
 +
 +  * Prompts for TouchID when working locally, asks for password otherwise (e.g. SSH)
 +
 +Add ''auth sufficient pam_tid.so'' to ''/etc/pam.d/sudo'', e.g.:
 +
 +<code>
 +# sudo: auth account password session
 +auth       sufficient     pam_tid.so
 +auth       sufficient     pam_smartcard.so
 +auth       required       pam_opendirectory.so
 +account    required       pam_permit.so
 +password   required       pam_deny.so
 +session    required       pam_permit.so
 +</code>
 +
 +These appear to be tried in the order listed, and if one aborts (e.g. press ESC for TouchID) the next is tried (i.e. the usual terminal password prompt)
 +
 +====== Automatic fan control when on AC power to avoid sweaty palms ======
 +
 +https://github.com/hholtmann/smcFanControl can do this, and is as easy to install as:
 +
 +  brew cask install smcfancontrol
 +
osx/start.txt · Last modified: 2022/05/13 13:19 by robm