Open mmhobi7 opened 6 years ago
it's a bit slow to restart, and I can't tell if it's my system or the indicator
Leave the logout for versions for which it works... some systems (like mine) still work well with logout.
IMHO, we haven't investigated enough to make such an extreme solution the default.
I'll leave this PR open until I can take a better look into this.
/sys/kernel/debug/vgaswitcheroo/switch requires root to read, and I didn't test this.
also, the output is misleading as of right now, https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1757180
https://github.com/andrebrait/prime-indicator/issues/34