Optimus GPU Switcher
KDE Plasma widget to change the GPU mode using the EnvyControl command line tool.
- This widget depends on EnvyControl, so you must install it first.
- One of the following tools is required for notifications to work. Note that in many distros at least one of the two is installed by default, check it out.
- notify-send - a program to send desktop notifications.
- zenity - display GTK+ dialogs.
You can find it in your software center, in the subcategories Plasma Addons > Plasma Widgets
.
Or you can download or install it directly from the KDE Store website.
- Download/clone this repo.
- Run from a terminal the command
kpackagetool6 -t Plasma/Applet -i [widget folder name]
.
I'm not a widget or KDE developer, I did this by looking at other widgets, using AI chatbots, consulting documentation, etc. So use it at your own risk. Any recommendations and contributions are welcome.
- Screenshots running on a laptop with AMD integrated graphics and an Nvidia GPU.
- The icon changes depending on the current mode and the manufacturer of the processor (Intel, AMD, or "other" in case it is another manufacturer or in case it is one of the first two and it cannot detect it).