How to Disable Dark Mode for Outlook in macOS? - outlook

With the latest update of Microsoft Outlook for Mac (Version 16.20), I activated Dark Mode but, now that I've been using it for a while, I find it difficult to read my mails.
How can I switch back to normal mode? I didn't find an option to disable the dark mode in the UI.

In a command line, type:
defaults write com.microsoft.Outlook NSRequiresAquaSystemAppearance -bool yes
Credits: Is there a way to toggle Dark Mode on/off for individual apps in MacOs Mojave?

Related

Is there a way to toggle Dark Mode on/off for individual apps in MacOs Mojave?

Is there a way in Terminal to toggle Dark Mode On/Off for an individual app without affecting the rest of the environment? I use calendar on my Mac, and the appearance is dreadful. The rest of the apps look great in Dark Mode. I want to disable it JUST for that one app.
From Terminal, run this command:
defaults write com.apple.iCal NSRequiresAquaSystemAppearance true
To revert the change:
defaults write com.apple.iCal NSRequiresAquaSystemAppearance false

Enable vi mouse wheel scrolling using bash on ubuntu on windows 10

I'm using bash on ubuntu on windows 10 and would like to enable scrolling using the mouse wheel in vi or vim. I've tried entering the following command in vim and added it to the .vimrc file and /usr/share/vim/vim74/debian.vim
set mouse=a
However I still can't scroll with the mouse.
I added this to my /etc/vim/vimrc.local, and it worked:
set mouse=a
map <ScrollWheelUp> <C-Y>
map <ScrollWheelDown> <C-E>
Quick and simple answer:
If you use mintty/wsltty it works just fine!
You have done, properly, all you can in vim and the problem is with your terminal emulator.
Mouse wheel scrolling through the scrollback buffer of a terminal emulator is a function of the terminal emulator which is consuming the mouse events. You are wanting to send these events to the application (vim) hooked to the terminal.
Most terminal emulators have a way to enable the passthrough of mouse events when in "Application Key Mode" or "Alternate Screen". Most also support using a modifier key (like holding ALT) that will passthrough the mouse events as you wish.
Your version of Vim may not have been compiled with mouse support. See if you can get gvim. It contains a graphical version of Vim. Depending on your distribution it may also contain the terminal vim with almost all features enabled, including mouse support.
To check for mouse support in Vim, enter :version and check whether +mouse is in the list of features.

MacBook's Switchable Graphics to toggle by script

Recently I had a problem with Photoshop CS4 but I solved the problem by turning off switchable graphics in System Preferences.
Is there any way to toggle switchable graphics with a program?
The best tool for this is Cody Krieger's gfxCardStatus, which not only allows forcing the setting from the menu bar, but also does a fine job of monitoring why your system has switched GPU modes.

In mac 10.6 and above, How to disable ctrl+fn+f4 in kiosk mode?

Using SetSystemUIMode in carbon framework, I am able to disable apple menu, dock and disable process switching. But ctrl +fn+f4 is able to break the kiosk mode.
Can some one help me how to block this shortcut as well.

"Use windows xp style dpi scaling" disables automatic auto-hide of taskbar on W7. Workaround?

We noticed that on W7 with DPI set to > 125% or to > 100% with ("Use windows xp style dpi scaling") turned off, our fullscreen mode (which sets the client rect of our window = desktop rect of the main monitor) no longer hides the task bar like it does for other settings.
(The setting can be found in the Control Panel\Appearance and Personalization\Display section after clicking on the "Set custom text size (DPI)" link)
I found the following interesting article:
http://www.mathies.com/weblog/?p=908
So I set out to try to work around the bug in other means than manually hiding/restoring the taskbar visibility but so far I've failed and currently believe it's a bug in W7 (and possibly vista).
The following applications also fail to work properly in fullscreen mode (the taskbar is still visible):
* Microsoft Visual Studio 2008
* Microsoft Word 2007
* Adobe Reader 9.1.3
These apps work (probably by hiding the task bar through the WIN32 API):
* Powerpoint Slide Show
I also tried creating a brand new MFC-based app and use its "SetFullScreenMode()" functionality but it fails in the same way as all other apps on the list.
For now it seems the only temporary fix which has worked for me is to disable display scaling on high DPI settings for the program your using fullscreen with.
To do this goto properties (right-click the program's shortcut) >> compatability >> and check the option to disable display scaling on high DPI settings.
The only drawback is that you will not get the higher DPI for that program but the taskbar should hide when fullscreen is enabled.
This is a problem that I understand Windows 7 developers are aware of but have not come out with a solution.

Resources