diff --git a/index.js b/index.js index 6bf40ec1..07801d58 100644 --- a/index.js +++ b/index.js @@ -40,6 +40,11 @@ if (config.get("options.disableHardwareAcceleration")) { app.disableHardwareAcceleration(); } +if (is.linux() && config.plugins.isEnabled("shortcuts")) { + //stops chromium from launching it's own mpris service + app.commandLine.appendSwitch('disable-features', 'MediaSessionService'); +} + if (config.get("options.proxy")) { app.commandLine.appendSwitch("proxy-server", config.get("options.proxy")); }