Files
cheatsheet-tldr/tldr/linux/envycontrol
2025-12-08 00:21:51 +00:00

34 lines
649 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# envycontrol
> GPU switching utility for Nvidia Optimus laptops.
> More information: <https://github.com/bayasdev/envycontrol#%EF%B8%8F-usage>.
- Switch between different GPU modes:
`sudo envycontrol {{[-s|--switch]}} {{nvidia|integrated|hybrid}}`
- Specify your [d]isplay [m]anager manually:
`envycontrol --dm {{gdm|gdm3|sddm|lightdm}}`
- Check current GPU mode:
`sudo envycontrol {{[-q|--query]}}`
- Reset settings:
`sudo envycontrol --reset`
- Display help:
`envycontrol {{[-h|--help]}}`
- Display version:
`envycontrol {{[-v|--version]}}`