20080821 global nvidia config on rhelcentos - plembo/onemoretech GitHub Wiki

title: Global nvidia config on RHEL/CentOS link: https://onemoretech.wordpress.com/2008/08/21/global-nvidia-config-on-rhelcentos/ author: lembobro description: post_id: 466 created: 2008/08/21 03:03:13 created_gmt: 2008/08/21 03:03:13 comment_status: open post_name: global-nvidia-config-on-rhelcentos status: publish post_type: post

Global nvidia config on RHEL/CentOS

Here’s a trick I recently picked up on globally fixing an NVIDIA card’s configuration so each user doesn’t have to run `nvidia-settings to do their own.

1. Fire up the gui nvidia-setting tool under any user account, make desired adjustments, and close.

2. As root, copy resulting .nvidia-settings-rc file up to /etc/nvidia-settings.rc.

3. Create a script under /etc/X11/xinit/xinitrc.d called nvidia.sh with the following contents:

`

#!/bin/sh
/usr/bin/nvidia-settings -l --config=/etc/nvidia-settings.rc &

`

4. Log out of gdm and then back in again, as any user. Your config should now apply to all user sessions.

This has come in very handy on my home workstation, whose Dell monitor (an “old” FP1907), has pretty crummy contrast as driven with factory settings on my NVIDIA 6200TC adapter — making it look “washed out” and uncomfortable to use . By turning the gamma down a bit, its now more bearable

Thanks to the user who calls himself kraney in this thread for providing the above procedure.

Copyright 2004-2019 Phil Lembo