I made fresh and clean install of Manjaro Linux 21.3.4 XFCE minimal, with Kernel 5.18.12, (after trying this consumer grade toy Zorirn OS, i found that Zorin OS is nowhere near the quality, stability and relaibility of Manjaro, Not hate, not trolling, just personal opinion) Nvidia 470.xx series driver, Nvidia Quadro P2200 videocard and dual monitors setup.
When I execute Xserver, to setup my monitors to my liking, i am able to do so, in a temporary fashion.
The problem is when i try to apply and save changes, to become permanent, it says that it cannot update the conf file, and when i exit the Xserver, it says i have pending operations apply and save. by this time i already clicked apply, the monitors entered the settings i like and on the confirmation windows with the count down timer, i confirm that i want to keep these settings. Please assist me with this issue.
Manjaro uses MHWD to install the drivers for your GPU, hence will also provide a default config in /etc/X11/mhwd.d/nvidia.conf with a symlink to it in /etc/X11/xorg.conf.d/90-mhwd.conf
I do not recommend that. It will try to write whatever you try to configure into the /etc/X11/xorg.conf and that files does not exist, and it shouldn’t exist on Manjaro because of the MHWD.
So does the nvidia-settings, but at least you can set up your Monitors the way you want, and then from Preview just copy the Layout and a few more lines to the /etc/X11/mhwd.d/nvidia.conf
Hello Manjaro team, my issue is solved, thanks for your suggestion.
However i had to figure out what is happening.
The files in question were read only, why they were read only? Because user root had ownership oever the files. To take ownership I had to use SU Root, to gain root, then i had to use chown myuser:myuser on the / etc/x11/mhwd.d folder and all files in, to take ownership, then removed the read only attributes and managed and updated all files as they should be. issue is solved monitors are set up as per my liking. I must say i love a good challenge and Manjaro does not disappoint.
Thank you @bogdancovaciu for your suggestion. It worked, once i figured out how to update the files.
Please make it visible and available for other people who have this same issue.
I am afraid that we are not done yet, it appeares i broke one thing to fix another.
As i used the following
I had to use SU Root , to gain root, then i had to use chown myuser:myuser on the / etc/x11/mhwd.d folder and all files in, to take ownership, i believe i broke Sudo and su root, withthe same error, cannot gain privileges, because su root and sudo do not belong to user 0 - system root, but they belong to user 1000 - my user.
My Idea to fix the issue is to give back the entire etc folder back to user 0, but i cannot run chown, i cannot run sudo, i cannot su root. Any idea how to put my system back together? as it was before my usage of Su root and chown?