LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to run XF86Config from the command line (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-run-xf86config-from-the-command-line-165823/)

Pacemaker 04-03-2004 04:12 PM

how to run XF86Config from the command line
 
i've posted a thread before because the monitor turns off everytime i started GUI, i was told to run XF86Config from the shell, i typed: Redhat-Config-XFree86 but the monitor turned off again! how can i run XF86Config from the shell? lead me plz so ican know what to type in the command line, plz i need help im struggling with it!!
thank u in advance

leonscape 04-03-2004 04:44 PM

There is a command line util called xf86config Just type that in to a console. If that doesn't work try /usr/X11R6/bin/xf86config

vi0lat0r 04-03-2004 04:48 PM

Well you could do it like he said, or
Code:

vi /etc/X11/XF86Config
But try his ways first :-)

Pacemaker 04-03-2004 05:15 PM

i tried to type xf86config as a root on the command line, it doesnt work.
and there is no such directory /usr/X11R6/bin/xf86config, there is /usr/X11R6/bin/xfree86, anyway i tried to run it but the same error occurs, the moitor turned off again...
i think going in vi editor is a little diificult, i dont know how to pass the parameters of my monitor through the vi editor :(
im really confused, i have a homework to do :S
i would really appreciated if you guys lead me to an easy solution, there must be one!!
thanx alot

frankwest 04-03-2004 07:28 PM

I would try using a file editor : emacs or vim , they will allow you to edit the X86Config file, just type one of them in front of the file name you want to edit in the terminal.

XavierP 04-04-2004 04:39 AM

xf86config is actually XF86Config - in Linux the capital letters really do matter. You could quite easily have several files which at first glance look the same but aren't: foo.bar, Foo.bar, FOO.bar, etc can all exist and be different.


All times are GMT -5. The time now is 12:06 PM.