Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 2.27 KB

README.md

File metadata and controls

45 lines (33 loc) · 2.27 KB
Logo
Optimus GPU Switcher

Optimus GPU Switcher for KDE 6

KDE Plasma widget to change the GPU mode using the EnvyControl command line tool.

Install

Dependencies

  • 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.

From KDE Store

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.

Manually

  • Download/clone this repo.
  • Run from a terminal the command kpackagetool6 -t Plasma/Applet -i [widget folder name].

Disclaimer

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

  • 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).

Screenshot_20230705_151601

Screenshot_20230830_180948

Screenshot_20230830_181404

Screenshot_20231013_120727