As the topic says nvidia-settings stopped working on the desktop when clicking on the icon.I get Launching NVIDIA X Server Settings (failed) with Could not find the program ‘UTILS_PATH/nvidia-settings’ .I can open it in the terminal typing nvivia-settings with the error
I just downloaded & extracted the nvidia-settings-570.133.07-2.1-x86_64 & nvidia-470xx-settings-470.256.02-1-x86_64 packages.
There is a difference in the Exec= lines of the nvidia-settings.desktop files:
nvidia-470xx-settings:
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=NVIDIA X Server Settings
Comment=Configure NVIDIA X Server Settings
Exec=/usr/bin/nvidia-settings
Icon=nvidia-settings
Categories=Settings;HardwareSettings;
nvidia-settings (v570):
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=NVIDIA X Server Settings
Comment=Configure NVIDIA X Server Settings
Exec=__UTILS_PATH__/nvidia-settings
Icon=nvidia-settings
Categories=Settings;HardwareSettings;
I didn’t include the Translation sections of the .desktop files
The executable for nvidia-settings-570, according to the file list in Pamac’s GUI, is /usr/bin/nvidia-settings.
I tried changing Exec=UTILS_PATH/nvidia-settings to
Exec=/usr/bin/nvidia-settings then logging out and back in and there is no error but nvidia-settings still will not open.I changed it back logged out and back in and it still does not open but is not showing an error.I can still open it in the terminal but with Exec=UTILS_PATH/nvidia-settings it does show the
(nvidia-settings:1269): GLib-GObject-CRITICAL **: 23:36:57.567: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed error.I will try changing it to Exec=/usr/bin/nvidia-settings and rebooting to see if that helps.
Never mind I checked and I had Exec=Exec= so I added
Exec=/usr/bin/nvidia-settings and now it is working.
Thank you very much for the help.