Go Back   MacRumors Forums > News and Article Discussion > Mac Blog Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 17, 2014, 04:14 PM   #1
MacRumors
macrumors bot
 
Join Date: Apr 2001
OS X Yosemite's 'Dark Mode' Now Available via Terminal Command




OS X Yosemite's dark mode, which was demoed on stage at Apple's Worldwide Developers Conference, has yet to make it into the beta as an available setting. It is, however, possible to get a glimpse of dark mode with a Terminal command, as discovered by iOS developer Hamza Sood.
Quote:
To enable the somewhat functional dark mode: sudo defaults write /Library/Preferences/.GlobalPreferences AppleInterfaceTheme Dark - Hamza Sood (@hamzasood) June 17, 2014
The command enables an early version of dark mode, which is clearly not yet complete, likely explaining why it is not yet officially available in the beta. Users should, of course, use caution when deciding whether or not to try this feature for themselves. Dark mode can be undone with a second Terminal command.

The second beta of OS X Yosemite was released to developers earlier today, bringing several new changes like the return of Photo Booth and a new look for Time Machine. The public release of the software will likely come in the fall, after several more beta iterations.

Article Link: OS X Yosemite's 'Dark Mode' Now Available via Terminal Command
MacRumors is offline   2 Reply With Quote
Old Jun 17, 2014, 04:15 PM   #2
ashwin4
macrumors member
 
Join Date: Aug 2013
Location: In the midst of it
This looks good enough to leave on the entire time
__________________
Macbook Air 13'' 2013 Haswell , Nexus 5 (White)
ashwin4 is offline   8 Reply With Quote
Old Jun 17, 2014, 04:15 PM   #3
iLoveiTunes
macrumors regular
 
Join Date: Feb 2011
welcome to the dark side...
iLoveiTunes is offline   10 Reply With Quote
Old Jun 17, 2014, 04:15 PM   #4
Lapidus
macrumors regular
 
Join Date: May 2012
Just wondering, how does this guy discover this command?
Lapidus is offline   1 Reply With Quote
Old Jun 17, 2014, 04:15 PM   #5
chirpie
macrumors 6502a
 
Join Date: Jul 2010
Finally, professionals can call themselves 'pros' again.
chirpie is offline   2 Reply With Quote
Old Jun 17, 2014, 04:16 PM   #6
mrxak
macrumors 65816
 
Join Date: Apr 2004
Location: Drifting through space in a broken escape pod
I anticipate Dark Mode vs. Light Mode to become the new Bottom Dock vs. Side Dock argument in certain circles.
__________________
Phones Will Kill You
mrxak is offline   17 Reply With Quote
Old Jun 17, 2014, 04:17 PM   #7
gmcalpin
macrumors 6502
 
Join Date: Oct 2008
As stupid and minor as dark mode is, I'm actually pretty excited about it. I spend too many late nights alone with my computer in a dark room. (Not just masturbating.)
__________________
I write and draw Multiplex, an online comic about the staff of a movie theater. Now available in the App Store!
gmcalpin is offline   7 Reply With Quote
Old Jun 17, 2014, 04:17 PM   #8
diddl14
macrumors 6502
 
Join Date: Aug 2009
“Impressive. Most impressive."
diddl14 is offline   28 Reply With Quote
Old Jun 17, 2014, 04:19 PM   #9
saxon48
macrumors 6502a
 
saxon48's Avatar
 
Join Date: Jun 2010
Location: Barad-dûr
Quote:
Originally Posted by mrxak View Post
I anticipate Dark Mode vs. Light Mode to become the new Bottom Dock vs. Side Dock argument in certain circles.
With side dock being, of course, superior.

:P
saxon48 is offline   11 Reply With Quote
Old Jun 17, 2014, 04:23 PM   #10
perealb
macrumors regular
 
Join Date: Oct 2009
Now we need a dark mode for iOS 8.
perealb is offline   32 Reply With Quote
Old Jun 17, 2014, 04:25 PM   #11
bbfc
macrumors 68020
 
bbfc's Avatar
 
Join Date: Oct 2011
Location: Gosforth, England
Nice find, but doesn't work very well.
__________________
MacBook Pro (Early 2011), 2.3 GHz Intel Core i5, 4GB RAM, OS X Mavericks | iPhone 5 16GB White, iOS 8.1
bbfc is offline   0 Reply With Quote
Old Jun 17, 2014, 04:26 PM   #12
Thares
macrumors regular
 
Join Date: Feb 2011
Location: Dresden, Germany
I wonder what the Finder looks like while using the dark mode. Can anyone enlighten me?
Thares is offline   3 Reply With Quote
Old Jun 17, 2014, 04:26 PM   #13
Snow.
macrumors newbie
 
Join Date: Sep 2013
Location: Higher State Of Mind
Send a message via Skype™ to Snow.
Hm....

Sounds really great! it would be nice if it would work properly.
__________________
雪。
Snow. is offline   0 Reply With Quote
Old Jun 17, 2014, 04:27 PM   #14
LorenzMeir
macrumors 6502
 
Join Date: Aug 2012
Location: Belgium
 
So how can I go back in light mode? Because for me it worked only partially. Thanks.
__________________
13" Mid 2012 cMBP, 2.5GHz i5, 16GB RAM, 120GB Samsung 840 SSD, iPhone 5s, 4S, iPad mini Retina, Time Capsule 4th Gen, ATV 3thG
LorenzMeir is offline   0 Reply With Quote
Old Jun 17, 2014, 04:29 PM   #15
arn
macrumors god
 
arn's Avatar
 
Join Date: Apr 2001
Send a message via AIM to arn
Quote:
Originally Posted by LorenzMeir View Post
So how can I go back in light mode? Because for me it worked only partially. Thanks.
Code:
sudo defaults write /Library/Preferences/.GlobalPreferences AppleInterfaceTheme Light
according to the original tweeter.
arn is offline   2 Reply With Quote
Old Jun 17, 2014, 04:32 PM   #16
mdridwan47
macrumors regular
 
Join Date: Jan 2014
Can't wait for iOS 9!
mdridwan47 is offline   5 Reply With Quote
Old Jun 17, 2014, 04:39 PM   #17
Parasprite
macrumors 68000
 
Parasprite's Avatar
 
Join Date: Mar 2013
Quote:
Originally Posted by Lapidus View Post
Just wondering, how does this guy discover this command?
I'd imagine it's placeholder was left in the plist, if so it isn't hard to figure it out from there. Even if it wasn't, there are other ways to figure out possible keys, it just requires a bit more digging.
__________________
Has anyone, anywhere, ever actually used ~/Pictures/iPod Photo Cache/ for anything besides deleting or hiding it?
Parasprite is offline   0 Reply With Quote
Old Jun 17, 2014, 04:40 PM   #18
vdgroodt
macrumors newbie
 
Join Date: Jun 2014
Location: Belgium
Help needed :(

mine says no such file or directory
vdgroodt is offline   0 Reply With Quote
Old Jun 17, 2014, 04:41 PM   #19
Tough Guy
macrumors regular
 
Join Date: Jun 2014
Ugh. Yosemite is such an eye sore. Ugly, ugly, ugly.
Tough Guy is offline   5 Reply With Quote
Old Jun 17, 2014, 04:42 PM   #20
GeneralChang
macrumors 6502
 
Join Date: Dec 2013
Quote:
Originally Posted by Lapidus View Post
Just wondering, how does this guy discover this command?
I know, right? Can you find these terminal commands hiding the OS configuration somewhere, or do you just sit there and guess likely combinations until something happens? Or do you just have a buddy who works at Apple tip you off?
GeneralChang is offline   1 Reply With Quote
Old Jun 17, 2014, 04:48 PM   #21
milo
macrumors 603
 
Join Date: Sep 2003
If anyone is curious or wants to get really crazy with their system...

Quote:
defaults read /Library/Preferences/.GlobalPreferences
This doesn't make any changes, just shows everything in that pref file. I assume there's probably a way to use an editing app instead of the terminal but I haven't figured it out. There's an app called Property List Editor that edits pref files but I'm not sure how to make it open an invisible file like that.
milo is offline   0 Reply With Quote
Old Jun 17, 2014, 04:51 PM   #22
altaic
macrumors member
 
Join Date: Jan 2004
Quote:
Originally Posted by GeneralChang View Post
I know, right? Can you find these terminal commands hiding the OS configuration somewhere, or do you just sit there and guess likely combinations until something happens? Or do you just have a buddy who works at Apple tip you off?
It's easy. Disassemble various system executables/libraries and look for stuff that gets/sets preferences. Looking for "Appearance" is a good guess, since the APIs use that term-- preferences that are set near those API calls are likely related to the dark theme.

Last edited by altaic; Jun 17, 2014 at 05:04 PM.
altaic is offline   0 Reply With Quote
Old Jun 17, 2014, 04:52 PM   #23
milo
macrumors 603
 
Join Date: Sep 2003
Quote:
Originally Posted by mrxak View Post
I anticipate Dark Mode vs. Light Mode to become the new Bottom Dock vs. Side Dock argument in certain circles.
It already has.

Quote:
Originally Posted by vdgroodt View Post
mine says no such file or directory
Are you running yosemite DP2?
milo is offline   0 Reply With Quote
Old Jun 17, 2014, 04:53 PM   #24
ArtOfWarfare
macrumors 603
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Quote:
Originally Posted by milo View Post
If anyone is curious or wants to get really crazy with their system...



This doesn't make any changes, just shows everything in that pref file. I assume there's probably a way to use an editing app instead of the terminal but I haven't figured it out. There's an app called Property List Editor that edits pref files but I'm not sure how to make it open an invisible file like that.
There's a setting in there to reveal hidden files. Also, TinkerTool is a free app with a GUI that will let you edit some of the hidden preferences, including the hidden files one.

Also, there's a terminal command for opening documents in specific applications which you could use for it.

Not sure what that terminal command is.
__________________
Don't tell me Macs don't last: 2007 iMac, 2007 Mac Mini, 2008 MacBook Air, all Vintage.
(iMac obsoletion: April 28, 2015, MBA: October 14, 2015, Mac Mini: March 9, 2016)
ArtOfWarfare is offline   1 Reply With Quote
Old Jun 17, 2014, 04:54 PM   #25
Parasprite
macrumors 68000
 
Parasprite's Avatar
 
Join Date: Mar 2013
Quote:
Originally Posted by milo View Post
This doesn't make any changes, just shows everything in that pref file. I assume there's probably a way to use an editing app instead of the terminal but I haven't figured it out. There's an app called Property List Editor that edits pref files but I'm not sure how to make it open an invisible file like that.
Quote:
defaults write com.apple.finder AppleShowAllFiles -boolean true&&killall Finder
I remember there being a keyboard shortcut like "CMD+Shift+." or something to temporarily show hidden files when in a Open/Save file dialog, but I don't remember if they pulled the feature, I installed something to make it do that in the first place, or a combination of the two (it's been a while).

Edit: Yup that was it.
__________________
Has anyone, anywhere, ever actually used ~/Pictures/iPod Photo Cache/ for anything besides deleting or hiding it?

Last edited by Parasprite; Jun 17, 2014 at 05:10 PM.
Parasprite is offline   2 Reply With Quote

Reply
MacRumors Forums > News and Article Discussion > Mac Blog Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

All times are GMT -5. The time now is 07:30 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC