Open munzirtaha opened 2 years ago
Will take a look, thanks.
Hello there,
I have made a few changes:
EnvyControl now creates a backup of current Xsetup when switching to Nvidia mode, the backup will be restored when switching to another mode.
A default Xsetup file will be created if it doesn't exist on your system, you can also manually run sudo envycontrol --reset_sddm
.
Let me know your feedback.
Greetings.
Thanks. But can you please keep the original file metadata while copying? Currently, the .bak file modification time is changed which breaks validation even after copying it back.
> pacman -Qkk sddm
backup file: sddm: /usr/share/sddm/scripts/Xsetup (Modification time mismatch)
Hi and thanks for envycontrol.
I wondered why this file is removed and finally suspected envycontrol. I checked the code and found
I think any file which belongs to other packages shouldn't be removed because it may include some user customizations, beside this breaks the package verification. envycontrol should just remove the lines it added to those files.