PDA

View Full Version : OS X Transparency Flickering - Convenient Fix?


Junto026
10-07-2015, 12:41 AM
Hey all,

I think issues with DisplayLink and transparency has been written about on this form more than a few times. It's been explained that it's due to some underlying OS X inner workings that DisplayLink can't work around, and that checking "Reduce Transparency" in your System Preferences, Accessibility settings totally fixes it.

See (older but still relevant):
http://www.displaylink.org/forum/showthread.php?t=63853&highlight=transparency

http://www.displaylink.org/forum/showthread.php?t=63695&highlight=transparency

My Question: I like turning it back on when not using my DisplayLink powered devices, but going into the settings overtime, while minor, gets tedious over time. I'd love to write a tiny script in Automator, save it as an app, and put it on my dock to take care of turning it on and off in one click. But I can't find a terminal command to enable the "Reduce Transparency" setting. Does anyone know a terminal command to turn on and off the "Reduce Transparency" setting in System Preferences, Accessibility settings in OS X?

Thanks!

shad0wca7
10-23-2015, 06:21 AM
Yes, I have two scripts:

Disable:
#!/bin/bash
defaults write com.apple.dock expose-animation-duration -float 0
defaults write com.apple.universalaccess reduceTransparency -bool true
killall Dock


Enable:
#!/bin/bash
defaults delete com.apple.dock expose-animation-duration
defaults write com.apple.universalaccess reduceTransparency -bool false
killall Dock


These are run automatically whenever the my D3100 is plugged in / unplugged. I use ControlPlane (http://www.controlplaneapp.com) to detect when that happens so it's all automatic and painless!