Nástroje používateľa

Nástoje správy stránok


blog:odborny:2015-12-20-disable_os_x_spell_checking_totally_system-wide

Rozdiely

Tu môžete vidieť rozdiely medzi vybranou verziou a aktuálnou verziou danej stránky.

Odkaz na tento prehľad zmien

Obojstranná predošlá revíziaPredchádzajúca revízia
Nasledujúca revízia
Predchádzajúca revízia
blog:odborny:2015-12-20-disable_os_x_spell_checking_totally_system-wide [2017/02/27 10:58] – added El Capitan Solution Róbert Tothblog:odborny:2015-12-20-disable_os_x_spell_checking_totally_system-wide [2026/05/09 13:32] (aktuálne) Róbert Toth
Riadok 2: Riadok 2:
  
 Tired of annoying "red dots" under every single word because your language is not supported by OS X spell-checker? Here's what to do to completely disable it. System-wide & for ever. Tired of annoying "red dots" under every single word because your language is not supported by OS X spell-checker? Here's what to do to completely disable it. System-wide & for ever.
- 
  
 ===== Solution ===== ===== Solution =====
 +With macOS 10.11+ (El Capitan) and later, Apple introduced System Integrity Protection (SIP), with which you simply cannot change anything under ''/System'' folder – that means the original solution does not work anymore.
 +
 +So there are three possible ways to go about it (I am currently testing #1):
 +
 +==== Approach #1: Disable spell checking by default system-wide ====
 +<code>defaults write -g NSAllowContinuousSpellChecking -bool false</code>
 +Original source: [[https://superuser.com/questions/367533/can-spell-checking-be-disabled-by-default-on-os-x|SuperUser]] and [[https://www.reddit.com/r/MacOS/comments/1mnr461/how_to_turn_off_spell_check/|Reddit]]
 +
 +==== Approach #2: Relocate spell-checking resources with SIP disabled ====
 +This uses original solution, but with SIP disabled:
 +
 +=== Step 1: Disable SIP ===
 +See [[https://www.r-studio.com/data_recovery_macintosh/System_Integrity_Protection.shtml]]
 +
 +  - Restart your Mac with <key>Cmd</key>+<key>R</key> pressed.
 +  - Open Terminal and disable SIP with:<code>csrutil disable</code>
 +  - Restart Mac
 +
 +=== Step 2: relocate Spell-checking resources ===
 +
 +To „sabotage“ SpellChecker you need to rename folder containing its resource files. Simply open Terminal and write down:
 +
 +  sudo mv /System/Library/Services/AppleSpell.service/Contents/Resources /System/Library/Services/AppleSpell.service/Contents/Resources.__DISABLED
 +
 +=== Step 3: Re-enable SIP ===
 +
 +  - Restart your Mac with <key>Cmd</key>+<key>R</key> pressed.
 +  - Open Terminal and enable SIP with:<code>csrutil enable</code>
 +  - Restart Mac
 +
 +==== Approach #3: Disable spell-checking by removing all languages against which to check spelling ====
 +See
 +[[https://web.archive.org/web/20100123201632/http://myrkur.de/thoughts/2008/09/25/disable-spell-checking-os-x/]]
 +
 +
 +===== Original Solution =====
  
 To disable SpellChecker you need to rename folder containing its resource files. Simply open Terminal and write down: To disable SpellChecker you need to rename folder containing its resource files. Simply open Terminal and write down:
  
     cd /System/Library/Services/AppleSpell.service/Contents/     cd /System/Library/Services/AppleSpell.service/Contents/
-    sudo mv Resources Resources_DISABLED+    sudo mv Resources Resources.__DISABLED 
 + 
 +Original source of solution: [[https://web.archive.org/web/20140711050231/www.chromescreen.com/disable-spell-checker-in-mac-osx-system-wide/|Disable spell check in Mac OSX system-wide (archived)]]
  
-Original source of solution: [[http://www.chromescreen.com/disable-spell-checker-in-mac-osx-system-wide/]]+However, with macOS 10.11+ (El Capitan) and later, Apple introduced System Integrity Protection (SIP), with which you simply cannot change anything under ''/System'' folder.
  
  
-===== El Capitan Solution =====+===== El Capitan pseudo-solution =====
  
   - Go to System Preferences → Keyboard → Text   - Go to System Preferences → Keyboard → Text
Riadok 24: Riadok 61:
  
  
-{{socialshareprivacy2}}+~~socialite~~
 {{tag>os-x fresh-install howto}} {{tag>os-x fresh-install howto}}
  
blog/odborny/2015-12-20-disable_os_x_spell_checking_totally_system-wide.1488189508.txt.gz · Posledná úprava: 2017/02/27 10:58 od Róbert Toth