bayasdev / envycontrol

Easy GPU switching for Nvidia Optimus laptops under Linux
MIT License
1.29k stars 61 forks source link

Overwrites xorg.conf without warning or backup #66

Closed bno1 closed 2 years ago

bno1 commented 2 years ago

I used this project and IT OVERWROTE MY xorg.conf WITHOUT WARNING AND WITHOUT MAKING ANY BACKUP. WHY???? People sometimes write their own config files, you know, you can't just banish my configs into OBLIVION like this. The README doesn't mention this at all...

Please:

  1. EXPLICITLY STATE in the README which files are going to be created or modified
  2. WARN the user about the files that are going to be replaced when running the script
  3. MAKE backups of modified files
bno1 commented 2 years ago

And my /etc/modprobe.d/nvidia.conf too...

DaVikingMan commented 2 years ago

That's strange. I don't believe that xorg.conf is required to run the program.

bayasdev commented 2 years ago

Hello there,

@bno1 I apologize for not stating the files that get overwritten by EnvyControl when switching modes.

As of now I'm currently busy with other projects so the simplest solution I can do by my own is adding a warning on the README.