Bug 139942 - xf86gammacfg doesn't update xorg.conf
Summary: xf86gammacfg doesn't update xorg.conf
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kdegraphics
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-18 21:05 UTC by Salane King
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-11-19 10:38:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patches kdegraphics to enable xf86gammacfg to work with xorg.conf (659 bytes, patch)
2004-11-18 21:08 UTC, Salane King
no flags Details | Diff

Description Salane King 2004-11-18 21:05:24 UTC
Description of problem:xf86gammacfg does not update xorg.conf


Version-Release number of selected component (if applicable):


How reproducible:allways


Steps to Reproduce:
1.xf86gammacfg .9 .9 .9 
2.ls xorg.conf.kgammaorig = not found
3.
  
Actual results:


Expected results:xf86gammacfg updates xorg.conf


Additional info: created patch 
cat xorg.patch
---
/usr/src/redhat/SOURCES/kdegraphics-3.3.1/kgamma/xf86gammacfg/xf86gammacfg.cpp
     2004-10-03 03:14:01.000000000 -0400
+++
/usr/src/redhat/source/kdegraphics-3.3.1/kgamma/xf86gammacfg/xf86gammacfg.cpp
      2004-11-18 06:23:30.000000000 -0500
@@ -55,6 +55,8 @@
     searchPaths.push_back("/usr/X11R6/etc/X11/XF86Config");
     searchPaths.push_back("/usr/X11R6/lib/X11/XF86Config-4");
     searchPaths.push_back("/usr/X11R6/lib/X11/XF86Config");
+    searchPaths.push_back("/usr/X11R6/lib/X11/xorg.conf");
+    searchPaths.push_back("/etc/X11/xorg.conf");

     std::vector<string>::iterator it = searchPaths.begin();
     for (; it != searchPaths.end(); ++it ) {

Comment 1 Salane King 2004-11-18 21:08:18 UTC
Created attachment 106987 [details]
patches kdegraphics to enable xf86gammacfg to work with xorg.conf

Comment 2 Than Ngo 2004-11-19 10:38:07 UTC
it will be included in next rebuild. Many thanks for your report.


Note You need to log in before you can comment on or make changes to this bug.