PyQt5 widget for the EnvyControl, program aimed to provide an easy way to switch GPU modes on Nvidia Optimus systems under Linux. Widget supports both windowed and system tray mode.
Recored with Peek
EnvyControlQt.mp4
On Arch Linux/EndeavourOS/Manjaro/Garuda/Artix and other Arch-based:
- PyQt5
pip install pyqt5 - To run it with .desktop file:
- Make it executable
- Add fullpath to the script and icon in this lines -
Exec=python3 /full path to the script/envycontrol_qt.py Icon=/full path to the icon/envycontrol.png- Autostart
On KDE plasma you can try to add EnvyControl Qt.dekstopp file to the autostart in Plasma Settings. If it's didn't worked, try manually place EnvyControl Qt.dekstop file into the ~/.config/autostart folder.
- You still need to reboot after change of the graphics mode.