I connected the AV receiver to the 760 GeForce video card with HDMI, and connected the av with a 2nd HDMI cable to the monitor (not necessary). I then connected a DVI cable from the video card to the monitor, since the HDMI did not support 1920x1200 (only 1920x1080) resolution.
The mirror display settings in Ubuntu System Setting crashes when I select it. But thankfully the x-server allowed me to mirror the av receiver with the monitor as primary. When I go back to Ubuntu display, mirror is already selected, due to adjusting it in x-server.
I have attached a picture of the configuration settings.
To export the settings, I had to execute the following in terminal; sudo nvidia-settings does not work.
sudo chmod u+x /usr/share/screen-resolution-extra/nvidia-polkit
Then click ‘Save to X configuration’ file, located in /etc/X11/xorg.conf.
Ubuntu supposedly looks for the file at, /usr/share/X11/xorg.conf.d/10-nvidia.conf.
I copied and pasted the contents (appended) to 10-nvdia, after the following contents:
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
EndSection
This is the paste-bin of the file
[New users aren’t allowed to post links], but I can paste the entire contents in a later post.
There’s another configuration that x-server can export when you go to ‘nvidia-settings Configuration’ > Save current configuration; I also selected and deselected ‘Include x display name in files’, and it made no difference in what I’m trying to achieve.
This exports a hidden file named ‘.nvidia-settings-rc’ to the /home directory. This is the paste bin:
[New users aren’t allowed to post links], but I can paste the entire contents in a later post.
The command ‘nvidia-settings -l’ did not load the desired ‘mirror’ settings upon system restart. This supposedly loads ‘.nvidia-settings-rc’.
I used the more explicit commands:
nvidia-settings --config=~/.nvidia-settings-rc --load-config-only
Mirror settings did not load
nvidia-settings --config=/usr/share/X11/xorg.conf.d/10-nvidia.conf --load-config-only
Got error message: ‘Section “ServerLayout”’ (Unrecognized attribute name).
Since Ubuntu is able to remember the settings upon restart, my main goal is to write a bash script that will load at start up, and execute the settings file.
I’ve also verified x-server is a ‘Start up’ program with the command, gnome-session-properties.
