DisplayLink Forum

DisplayLink Forum (https://displaylink.org/forum/index.php)
-   Mac Software (https://displaylink.org/forum/forumdisplay.php?f=30)
-   -   OS X Transparency Flickering - Convenient Fix? (https://displaylink.org/forum/showthread.php?t=64136)

Junto026 10-07-2015 12:41 AM

OS X Transparency Flickering - Convenient Fix?
 
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/sho...t=transparency

http://www.displaylink.org/forum/sho...t=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:
Code:

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

Enable:
Code:

#!/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 to detect when that happens so it's all automatic and painless!


All times are GMT. The time now is 09:15 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.