How do I run this KDE Plasma widget (Optimus GPU Switcher) as root? Entering my password doesn't work.lemmy.zipimage DripGeronimo ( @DripGeronimo@lemmy.zip ) Fedora Linux@lemmy.mlEnglish • 9 months ago message-square6fedilinkarrow-up18
arrow-up18imageHow do I run this KDE Plasma widget (Optimus GPU Switcher) as root? Entering my password doesn't work.lemmy.zip DripGeronimo ( @DripGeronimo@lemmy.zip ) Fedora Linux@lemmy.mlEnglish • 9 months ago message-square6fedilink
minus-square DripGeronimo ( @DripGeronimo@lemmy.zip ) OPlinkfedilinkEnglish1•9 months agoIt’s a Plasma widget that uses EnvyControl to switch between GPUs on systems that have both an nvidia and AMD GPU. It works fine using the command line, but this widget runs into this issue https://github.com/enielrodriguez/optimus-gpu-switcher
minus-square Pantherina ( @Pantherina@feddit.de ) linkfedilink2•9 months agoYou might want to fork it, replace kdesu with pkexec and see how that goes.
minus-square boredsquirrel ( @boredsquirrel@slrpnk.net ) linkfedilink1•edit-27 months agoAnd, how did it go? I see they already use pkexec
It’s a Plasma widget that uses EnvyControl to switch between GPUs on systems that have both an nvidia and AMD GPU. It works fine using the command line, but this widget runs into this issue
https://github.com/enielrodriguez/optimus-gpu-switcher
You might want to fork it, replace
kdesu
withpkexec
and see how that goes.And, how did it go? I see they already use pkexec