LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   RGB path in RHEL5 (https://www.linuxquestions.org/questions/linux-enterprise-47/rgb-path-in-rhel5-597456/)

shreedara 11-06-2007 04:03 AM

RGB path in RHEL5
 
Hi

some of my scripts uses the color code from rgb.txt. scripts were wokring fine under Fedora 4 and recently i have changed the OS to Enterprise Linux 5 and the problem started. wherever i have used the color code [ex. red, blue, green etc,] script started giving me the error "illegal color code". i belived this could be due to unavailability of the rgb.txt. so i have added the following lines in the /etc/X11/xorg.conf file

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection


and made sure that rgb.txt exist under the folder. but
still am getting the same error message. any idea how can i fix this issue? s there any alternative ?


All times are GMT -5. The time now is 01:12 AM.