DripGeronimo@lemmy.zip to Fedora LinuxEnglish · 9 months agoHow do I run this KDE Plasma widget (Optimus GPU Switcher) as root? Entering my password doesn't work.lemmy.zipimagemessage-square10fedilinkarrow-up110arrow-down10
arrow-up110arrow-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 LinuxEnglish · 9 months agomessage-square10fedilink
minus-squarePantherina@feddit.delinkfedilinkarrow-up2·9 months agoDafuk is that tool. Normally you want to use polkit > sudo > su. You dont need a root account and VanillaOS doesnt even need sudo anymore. This seems like extremely outdated software.
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
Dafuk is that tool. Normally you want to use polkit > sudo > su. You dont need a root account and VanillaOS doesnt even need sudo anymore.
This seems like extremely outdated software.
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