pop-os / system76-driver

System76 Driver for Pop!_OS
Other
111 stars 28 forks source link

Support running GUI as non-root #293

Closed jackpot51 closed 2 months ago

jackpot51 commented 2 months ago

There is one TODO I added that I may need to resolve prior to merge. If a model is detected based on ancient logic that does not use the product version, dmidecode is used, and that will fail unless the GUI is run as root. I may be able to fix it by using either /sys/class/dmi/id or pkexec, depending on if the key needed is user readable.