envycontrol: Does not work on Silverblue
Hello,
As you may know, Fedora Silverblue has a read-only filesystem where only /etc
and /var
are writable directories. Unfortunately, since your Python script relies on putting udev rules in /lib
which is read-only, a tiny modification is required to make this work: swapping every /lib
(there are only two) in the script with /etc
. As I’m not really familiar with scriping with Python, I don’t know what would be the cleanest way to implement this without rendering this script unusable on other distros. I just wanted to make you aware of this current issue. For now, I will be modifying it locally for myself, until a solution is found.
Thank you for making Fedora usable for the unlucky Nvidia Optimus owners!
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 20 (3 by maintainers)
My bad, it looks like the script directly writes to
/lib
: https://github.com/bayasdev/envycontrol/blob/main/envycontrol.py#L202This is not recommended, on any distributions, not just Silverblue. Custom local udev rules should be installed in
/etc/...
as/lib
or/usr/lib
is for distribution provided rules only.