#!/bin/sh # Everything you write here will be executed by the display manager when setting up the login screen in Nvidia mode. # (but before optimus-manager sets up PRIME with xrandr commands). #sudo sh -c 'echo "\\_SB.PCI0.GPP0.PG00._ON" > /proc/acpi/call'