Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

OSCAR Feature Request - Dark Mode
#11
RE: OSCAR Feature Request - Dark Mode
That would be a Mac Terminal, I presume...
Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply






Donate to Apnea Board  
#12
RE: OSCAR Feature Request - Dark Mode
(07-19-2022, 02:48 AM)multicast Wrote: Exactly, just enter the line in Terminal.

Mike

This did not work as written.  Did you get this to work on your Mac?  and it turned OSCAR to a dark mode configuration automatically just with that line of code into Terminal?  If so, would you be so kind as to double check how you wrote it, as I copied and pasted it directly into terminal and it says "command not found".  thanks
Post Reply Post Reply
#13
RE: OSCAR Feature Request - Dark Mode
First, make sure OSCAR is not running.

Then try the text below in the code block.  It should copy/paste into Terminal without the extra formatting:

Code:
defaults write org.oscar-team.OSCAR NSRequiresAquaSystemAppearance -bool false

Then open OSCAR and the changes should take effect.

It does enable dark mode for parts of OSCAR (not the graph's), but there is a minor issue with the color of some of the text.  See screenshots below.

On the profile page I have 3 different profiles.  They are virtually invisible here:
   

On the Welcome tab the text is white on a light yellow background:
   

The Daily page didn't look bad:
   

If you decide you don't like the change you can revert back to the original.
Make sure OSCAR is not running then copy/paste the following code into Terminal:

Code:
defaults delete org.oscar-team.OSCAR NSRequiresAquaSystemAppearance


NOTE: The original "NSRequiresAquaSystemAppearance" setting is located inside the OSCAR.app bundle in the "Info.plist" and I don't recommend editing that.  Using "defaults write" places a copy of the setting into ~/Library/Preferences/org.oscar-team.OSCAR.plist which seems to override the bundle version without any issues.
MacBook Air (2017, Intel) | macOS Monterey (12.5) | OSCAR v1.4.0 | VM = Win10 (19043.1446) |
An Apnea Board Monitor (ABM) is a member of the Apnea Board Forum who volunteers to help watch the forum, and keep things running smoothly.
Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.

Installing OSCAR on a Mac
Organizing your OSCAR charts
Attaching screenshots and files for the forum
OSCAR Help
OSCAR Data Interpretation
Post Reply Post Reply
#14
RE: OSCAR Feature Request - Dark Mode
(07-19-2022, 02:03 PM)Jeff8356 Wrote: Try the text below in the code block.  It should copy/paste without the extra formatting:

Code:
defaults write org.oscar-team.OSCAR NSRequiresAquaSystemAppearance -bool false

It does enable dark mode for parts of OSCAR (not the graph's), but there is a minor issue with the color of some of the text.  See screenshots below.

On the profile page I have 3 different profiles.  They are virtually invisible here:


On the Welcome tab the text is white on a light yellow background:


The Daily page didn't look bad:


If you decide you don't like the change you can revert back to the original with the following code:

Code:
defaults delete org.oscar-team.OSCAR NSRequiresAquaSystemAppearance


NOTE: The original "NSRequiresAquaSystemAppearance" setting is located inside the OSCAR.app bundle in the "Info.plist" and I don't recommend editing that.  Using "defaults write" places a copy of the setting into ~/Library/Preferences/org.oscar-team.OSCAR.plist which seems to override the bundle version without any issues.

Thanks brother!  This works.  Though as you mention, definitely not optimized like a true dark mode could be done by the developers, as some of the white text isn't legible on the 'Profile' and 'Welcome' tabs, and the charts are still in white on the 'Daily' tab, but its a step in the right direction and I'm going to keep it toggled on until (hopefully) dark mode gets added as a full feature.  I really appreciate the reply!  

Also, for anyone else that reads this, you do have to copy and paste the exact text above that Jeff wrote into Terminal on the Mac, and then you have to quit OSCAR and relaunch the application for the changes to take effect.
Post Reply Post Reply






Donate to Apnea Board  
#15
RE: OSCAR Feature Request - Dark Mode
(07-19-2022, 02:28 PM)BobbyAxelrod Wrote: ... you have to quit OSCAR and relaunch the application for the changes to take effect.

Sorry, my mistake, I should have mentioned that.  Make sure OSCAR is not running when you make either of the above changes.  It won't harm anything but the changes won't take effect if OSCAR is open when you make them.  I have edited my post above to reflect that little omission...
MacBook Air (2017, Intel) | macOS Monterey (12.5) | OSCAR v1.4.0 | VM = Win10 (19043.1446) |
An Apnea Board Monitor (ABM) is a member of the Apnea Board Forum who volunteers to help watch the forum, and keep things running smoothly.
Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.

Installing OSCAR on a Mac
Organizing your OSCAR charts
Attaching screenshots and files for the forum
OSCAR Help
OSCAR Data Interpretation
Post Reply Post Reply
#16
RE: OSCAR Feature Request - Dark Mode
(07-19-2022, 02:33 PM)Jeff8356 Wrote: Sorry, my mistake, I should have mentioned that.  Make sure OSCAR is not running when you make either of the above changes.  It won't harm anything but the changes won't take effect if OSCAR is open when you make them.  I have edited my post above to reflect that little omission...

All good, thanks again!  I'm watching YouTube videos on how to improve CPAP/APAP usage right now and here I am at 11pm looking at my OSCAR data on a big 4K monitor.  It's nice to have some extra darkness to the app tonight.  Would be great to have dark mode on this Apnea Board forum as well.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Feature Request: User Notes dkovax 7 189 07-02-2022, 12:46 AM
Last Post: SevereApnea
  Feature request: BMC machine support pumba 7 844 05-14-2022, 01:47 AM
Last Post: return
Idea Feature Request PaulBarn 3 229 04-01-2022, 01:25 PM
Last Post: PaulBarn
  Feature request -- Air11 time zone, have OSCAR do the right thing. cathyf 1 264 04-01-2022, 07:43 AM
Last Post: Crimson Nape
  Installing Oscar v 1.3.0 in a different C drive folder from version Oscar 1.2.0. rumtap 7 655 03-15-2022, 05:51 PM
Last Post: Crimson Nape
  CSR Graph is not displayed in Overview mode. LoudSnorer 7 367 02-22-2022, 05:21 PM
Last Post: LoudSnorer
  OSCAR feature request (UX) Millstone50 1 215 01-29-2022, 10:08 PM
Last Post: GuyScharf


New Posts   Today's Posts






About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.