Linux – How to launch Chrome with explicit “hardware acceleration” setting

chromiumgoogle-chromelinuxmacterminal

There is an advanced setting in Google Chrome to toggle "hardware acceleration."

On a Mac, I want to be able to choose whether Chrome launches with this option on or off.

Any way to do this? (from the command line or AppleScript)

see: https://www.chromium.org/developers/how-tos/run-chromium-with-flags

and: http://peter.sh/experiments/chromium-command-line-switches/

Best Answer

Your own answer is correct. The only thing is that this only changes the setting for the current execution and does not affect your preferences. I say this because I had issues running chrome with the setting enabled (https://productforums.google.com/forum/#!topic/chrome/7D3P84WKqew;context-place=forum/chrome), and the only way to get around it was to launch using the command yuo provided and then go into settings and disable it.

Related Question