TekRevue

  • Home
  • OS X
  • Windows
  • Mobile
  • Games
  • Reviews
  • Editorials
  • Tips
    • Windows
    • Mac
    • Mobile
  • Twitter
  • Facebook
  • Google+
  • Feed

 084

OS X

How to Enable and Disable OS X Yosemite Dark Mode with a Keyboard Shortcut

By Jim Tanous on December 5, 2014 at 2:14 AM • @mggjim

We’ve already discussed the new Dark Mode in OS X Yosemite, which gives the OS X Menu Bar and Dock a dark background, and shown you how to enable it in System Preferences. That method is fine if you just want to pick the default light mode or new dark mode and stick with it, or change it only infrequently, but what if you want to enable dark mode frequently and on the fly? Instead of a trip to System Preferences, here’s how to enable and disable dark mode in OS X Yosemite with a quick keyboard shortcut.

Don’t wait another day to Level Up Your Life! Join the Nerd Fitness Rebellion and learn how to use your favorite video games, books, and movies as inspiration for adventure.

You can enable or disable Yosemite’s Dark Mode using a checkbox in System Preferences.

To set up your own OS X Yosemite dark mode shortcut, we first need to head to Terminal and modify a system preference file. Open Terminal from Applications > Utilities (or by searching for it with Spotlight) and copy and paste the following command:

sudo defaults write /Library/Preferences/.GlobalPreferences.plist _HIEnableThemeSwitchHotKey -bool true

Press Return to activate the command and enter your admin user account password (which is required in this case because we prefaced our command with sudo). You won’t receive any sort of confirmation as long as you entered the correct password.

You’ll need an admin password to modify the Dark Mode preference file.

Now, close Terminal, save all open documents on your Mac, and log out of your user account (alternatively, you can reboot your Mac if you want to). When you log back in, use the keyboard shortcut Control+Option+Command+T and dark mode will be immediately enabled. Use the shortcut again and dark mode will be disabled just as fast.

Not all users like the new Dark Mode look in OS X Yosemite and even those who do don’t want to see it all the time. By enabling this handy keyboard shortcut, users can switch between the dark and light “themes” (as Apple calls them) in a flash.

If, however, you’d like to disable Yosemite’s Dark Mode shortcut functionality, just use the command above again, but replace true with false at the end of the command. This will restore the default setting and you’ll need to visit System Preferences once again in order to change the light or dark theme settings.

Want news and tips from TekRevue delivered directly to your inbox? Sign up for the TekRevue Weekly Digest using the box below. Get tips, reviews, news, and giveaways reserved exclusively for subscribers.

 084

  • Categories: OS X
  • Tags: #Dark Mode #How To #OS X Yosemite #Terminal #Tips #UI Customization

Sign Up for the TekRevue Weekly Digest

Read more in OS X on TekRevue

  • command symbol mac
    How to Find the Command Symbol and Other Technical Symbols in Mac OS X

    Filed Under: OS X

  • mac keyboard command control
    How to Switch the Command and Control Keys on Your Mac Keyboard

    Filed Under: OS X

  • ps4 remote play mac
    How to Change PS4 Remote Play Resolution & Frame Rate on the Mac

    Filed Under: Games / OS X / Tips

  • http://vonnau.com Chad von Nau

    Nice tip. But why would anyone want to turn off dark mode? 😉

  • http://www.horan.nyc/ MH

    1. Is it possible to do the same thing but for toggling “Use Grayscale” (System Preferences > Accessibility > “Use Grayscale” checkbox)?
    2. Is it possible to set the hotkey to an as yet unused combo of your choosing (ex: Cmd + g)?

    I wrote an AppleScript to accomplish both above tasks (using FastScripts to enable the keyboard shortcut) however it takes about 3 seconds to run!

    Even a point in the right direction is much appreciated. Below is my script:

    tell application “System Preferences” to activate
    delay 1

    tell application “System Events”
    tell process “System Preferences”
    click button “Accessibility” of scroll area 1 of window “System Preferences” of application process “System Preferences” of application “System Events”
    click checkbox “Use grayscale” of window “Accessibility” of application process “System Preferences” of application “System Events”
    end tell
    end tell
    tell application “System Preferences” to quit

    Thanks!

  • Okhoo

    Wallpaper? :)

    • http://www.tekrevue.com/ TekRevue

      It’s one of the images included in OS X 10.4 Tiger: http://www.tekrevue.com/wp-content/uploads/2015/03/osx-tiger-1.jpg

      • Okhoo

        Thx!!!

Search

Related Articles

  • yosemite-finder
    How to Batch Rename Multiple Files in OS X Yosemite
  • yosemite-dark-dock
    How to Enable Dark Mode for the Dock Only in OS X Yosemite
  • How to Reduce Transparency Effects in OS X Yosemite
  • How to Enable Dark Mode in OS X Yosemite

Connect with TekRevue

  • TekRevue on Twitter
  • TekRevue on Facebook
  • TekRevue on Google+
  • Cheats
  • Deals
  • Distractions
  • Editorials
  • Gadgets
  • Games
  • Giveaway
  • Hardware
  • Mobile
  • News
  • More in OS X
  • Podcast
  • Reviews
  • Sponsor
  • Tips
  • Windows
  • command symbol mac
    How to Find the Command Symbol and Other Technical Symbols in Mac OS X
  • mac keyboard command control
    How to Switch the Command and Control Keys on Your Mac Keyboard
  • ps4 remote play mac
    How to Change PS4 Remote Play Resolution & Frame Rate on the Mac
  • disable automatic updates el capitan
    How to Disable Automatic Updates in OS X El Capitan
  • mac os x custom resolutions
    How to Set Custom Resolutions for External Displays in Mac OS X
  • itunes-movies-metadata
    How to Add Detailed Metadata to Ripped Movies in iTunes
  • safari responsive design mode
    Test Your Website’s Mobile Layout With Safari Responsive Design Mode
  • mac os x help window
    How to Stop the OS X Help Window from Staying on Top
  • delete zip file mac
    How to Automatically Delete Zip Files When Opened in Mac OS X
  • mac uptime
    How to Find Mac Uptime in OS X
  • map location pin
    How to Manually Add a Location to Your Images in Photos for Mac
  • macbook-dual-monitor
    How to Move the Dock to a Another Monitor in OS X El Capitan
  • gatekeeper el capitan
    How to Permanently Disable Gatekeeper in OS X El Capitan
  • el capitan transparency
    How to Reduce Transparency in OS X El Capitan
  • replace login screen wallpaper os x el capitan
    How to Replace the OS X El Capitan Login Screen Wallpaper
  • Mac OS X Dock
    How to Dim Hidden Mac App Icons in the Dock
  • file-path-mac
    OS X El Capitan: How to Copy a File Path in Finder
  • raid os x el capitan
    How to Create RAID Volumes in OS X El Capitan
  • using macbook trackpad
    How to Turn Off Force Touch in OS X El Capitan
  • shake cursor large os x el capitan
    How to Stop Your Cursor from Getting Bigger in OS X El Capitan

Tips

  • Apps
  • Gaming
  • Mac
  • Mobile
  • Online
  • Windows
  • format skype text chats
    How to Format Skype Text Chats
  • chrome for mac os x
    How to Test Chrome’s Native Notifications for Mac
  • office 365 installer
    How to Install the Older Office 2013 via Office 365
  • itunes 12 separate download window
    iTunes 12: How to Show a Separate iTunes Downloads Window
  • ipad controller game
    How to Set Up and Game With an iOS Controller on Your iPhone or iPad
  • ps4 remote play mac
    How to Change PS4 Remote Play Resolution & Frame Rate on the Mac
  • steam trash
    How to Remove a Game From Your Steam Library
  • xbox one elite controller
    How to Use Custom Button Mapping on the Xbox One
  • command symbol mac
    How to Find the Command Symbol and Other Technical Symbols in Mac OS X
  • mac keyboard command control
    How to Switch the Command and Control Keys on Your Mac Keyboard
  • disable automatic updates el capitan
    How to Disable Automatic Updates in OS X El Capitan
  • mac os x custom resolutions
    How to Set Custom Resolutions for External Displays in Mac OS X
  • hey siri iphone
    How to Turn Off Hey Siri on the iPhone and iPad
  • safari-reader-ios-ipad
    How to Use and Customize Safari Reader in iOS
  • ipad controller game
    How to Set Up and Game With an iOS Controller on Your iPhone or iPad
  • ipad pro true tone display
    How to Disable True Tone Display on the 9.7-inch iPad Pro
  • youtube loop
    How to Loop YouTube Videos
  • netflix bandwidth data usage
    How to Reduce Netflix Bandwidth Usage to Avoid ISP Data Caps
  • netflix autoplay
    How to Stop Netflix From Automatically Playing the Next Episode
  • distracted man computer
    How to Turn Off Distraction-Free Mode in WordPress
  • map location pin
    How to Download and Manage Offline Maps in Windows 10
  • windows-10-drop-shadow
    Disable Windows 10 Animations for a Snappier Experience
  • chkdsk windows 10
    How to Scan & Fix Hard Drives with CHKDSK in Windows 10
  • windows 10 login screen
    How to Skip the Windows 10 Login Screen and Log Into Your User Account Automatically
Company
  • About TekRevue
  • Get in Touch
  • Sponsorships

Sign Up for the TekRevue Weekly Digest

© TekRevue LLC. All Rights Reserved.

  • TekRevue User Agreement
  • TekRevue Privacy Policy

Built by Blazer Six