DripGeronimo@lemmy.zip to Fedora Linux@lemmy.mlEnglish · 9 months agoHow do I run this KDE Plasma widget (Optimus GPU Switcher) as root? Entering my password doesn't work.lemmy.zipimagemessage-square8fedilinkarrow-up19arrow-down10
arrow-up19arrow-down1imageHow do I run this KDE Plasma widget (Optimus GPU Switcher) as root? Entering my password doesn't work.lemmy.zipDripGeronimo@lemmy.zip to Fedora Linux@lemmy.mlEnglish · 9 months agomessage-square8fedilink
minus-squareDripGeronimo@lemmy.zipOPlinkfedilinkEnglisharrow-up1·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-squarePantherina@feddit.delinkfedilinkarrow-up2·9 months agoYou might want to fork it, replace kdesu with pkexec and see how that goes.
minus-squareboredsquirrel@slrpnk.netlinkfedilinkarrow-up1·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