NVIDIA X 服务器设置“色彩范围”在每次重启和/或注销时重置

NVIDIA X 服务器设置“色彩范围”在每次重启和/或注销时重置

elementary Juno为了在我的系统(基于Ubuntu 18.04)中使用卡正确显示颜色GeForce 9500 GT,我需要将设置为Color rangeLimited如下所示:

在此处输入图片描述

这有效,但问题是每次重启后,或者即使我退出会话,这些设置也会丢失。我尝试了描述的解决方案这里并创建了一个~/.xinitrc如下所示的文件:

nvidia-settings --load-config-only &
. /etc/X11/xinit/xinitrc

使用一个文件(我在将颜色范围设置为in~/.nvidia-settings-rc后创建)如下所示:Limitednvidia-settings

#
# /home/gabriel/.nvidia-settings-rc
#
# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility
# Generated on Mon Apr  8 16:54:17 2019
#

# ConfigProperties:

RcFileLocale = C
DisplayStatusBar = Yes
SliderTextEntries = Yes
IncludeDisplayNameInConfigFile = Yes
ShowQuitDialog = No
UpdateRulesOnProfileNameChange = Yes
Timer = Memory_Used_(GPU_0),Yes,3000
Timer = Thermal_Monitor_(GPU_0),Yes,1000
Timer = PowerMizer_Monitor_(GPU_0),Yes,1000

# Attributes:

gabriel-desk:0[DPY:HDMI-0]/RedBrightness=0.000000
gabriel-desk:0[DPY:HDMI-0]/GreenBrightness=0.000000
gabriel-desk:0[DPY:HDMI-0]/BlueBrightness=0.000000
gabriel-desk:0[DPY:HDMI-0]/RedContrast=0.000000
gabriel-desk:0[DPY:HDMI-0]/GreenContrast=0.000000
gabriel-desk:0[DPY:HDMI-0]/BlueContrast=0.000000
gabriel-desk:0[DPY:HDMI-0]/RedGamma=1.000000
gabriel-desk:0[DPY:HDMI-0]/GreenGamma=1.000000
gabriel-desk:0[DPY:HDMI-0]/BlueGamma=1.000000

是我的系统没有加载这些设置,还是Color Range设置没有保存到.nvidia-settings-rc文件中?无论哪种情况:我该如何解决这个问题?

相关内容