Find the answer to your Linux question:
Results 1 to 10 of 10
hi team im in the kernal and i cant edit this file xorg.conf as i have specified an incorrect resolution and need to change it can any one give me ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Posts
    37

    how do i edit xorg.conf


    hi team

    im in the kernal and i cant edit this file

    xorg.conf as i have specified an incorrect resolution and need to change it

    can any one give me a script

    thanks you all

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    I think by "in the kernel" you mean you're "in a text console"? To edit the xorg.conf file you need to be logged in as root user.

    Code:
    su -
    <enter root password>
    Then you'll want to open up a text editor. I don't know what comes with Mandriva, but you'll probably have one called pico or nano.

    Code:
    nano /etc/X11/xorg.conf
    Then just use your arrow keys to navigate, delete or add what you need and when you're done hit CTRL+X to exit, and Y when it asks you if you want to save.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  3. #3
    Just Joined!
    Join Date
    Jun 2005
    Posts
    37
    pico or nona dont work

    and yeh i mean the text console, haha

    were can i find out what to use, or someone know the exact script for mandriva mankdrake 2005 LE

    thanks

  4. #4
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by chingy213
    pico or nona dont work
    I assume that's a typo and you were trying to use nano, not 'nona'. If neither of those exist, try substituting any of the following:

    Code:
    joe 
    emacs
    vim
    vi
    Be warned however that emacs and vi/vim are not obvious in the way they operate. Here's a quick Vi tutorial, and a quick Emacs tutorial.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  5. #5
    Just Joined!
    Join Date
    Jun 2005
    Posts
    37
    lol

    1 of them worked and i edited were i need to but i dont think it saved, do u know how to save the conf file after editing

  6. #6
    Linux Engineer psic's Avatar
    Join Date
    Nov 2004
    Location
    Ljubljana, Slovenia
    Posts
    1,205
    Quote Originally Posted by chingy213
    lol

    1 of them worked and i edited were i need to but i dont think it saved, do u know how to save the conf file after editing
    What did you use? With nano it's 'ctrl-x', with vi ':w', with emacs 'ctrl-x' followed by 's'.

    You can also use 'mc' (midnight commander) as su, you edit a file with F4 and save it with (I think) F2.
    Stumbling around the 'net:
    www.cloudyuseful.com

  7. #7
    Just Joined!
    Join Date
    Jun 2005
    Posts
    37
    how do i quit from the emacs screen now lol, iv edited were i needed to

  8. #8
    Just Joined!
    Join Date
    Jun 2005
    Posts
    37
    do u know paramters for 1024x768 resolution

    coz i intailly changed it to 1280x1024 but it didnt support it so i changed it back 1024x768 and still comes up with error so i guess its the horizontal and vertical settings

  9. #9
    Just Joined!
    Join Date
    Jun 2005
    Posts
    37
    i got it working

    i renamed the xorg.conf.old to xorg.conf and worked

    thanks for yuor help pal, nice website u geek

  10. #10
    Just Joined!
    Join Date
    Oct 2006
    Posts
    2
    I'm another newbie using Mandriva. Thanks Techie Mo for the editing Xorg advice - worked great for me using kwrite as the editor.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •