Results 1 to 8 of 8

Thread: Can't edit xorg.conf

  1. #1

    Default Can't edit xorg.conf

    Hello. This must be a laughably simple question (is there a newbie forum somewhere?), but it's got me stumped.

    I'm trying to edit xorg.conf, so in terminal I type
    Code:
    kdesu kate /etc/X11/xorg.conf
    Kate opens, but it shows a blank document. So instead I try
    Code:
    kdesu kwrite /etc/X11/xorg.conf
    Same problem. I know the document is not blank, because it opens with full text if I leave out the kdesu part:
    Code:
    kwrite /etc/X11/xorg.conf
    So I try
    Code:
    su
    then
    Code:
    kate xorg.conf
    Now nothing happens at all. Just a cursor in the terminal and I have to start again with a new terminal.

    Can anybody help me out here? I'm need to edit the file to try and get my Bamboo tablet working: http://en.opensuse.org/Wacom_USB_tablet_howto

    Thanks in advance.

  2. #2
    Join Date
    Mar 2008
    Location
    Vsters, Sweden ex. Highbury London UK
    Posts
    1,245

    Default Re: Can't edit xorg.conf

    Try using a run command Alt+F2 then enter kdesu kate /etc/X11/xorg.conf.
    You could also try kwrite instead of kate

    Geoff
    Core 2 Duo 3.16GHz, 8GB DDR2, 3.5TB, GeForce 9600 GT, Amilo LCD 26", OS 11.1 x86_64, KDE4.2.4 (2)
    My wine tips & tricks

  3. #3
    Join Date
    Jun 2008
    Location
    Delta Quadrant
    Posts
    1,442

    Default Re: Can't edit xorg.conf

    > Try using a run command Alt+F2 then enter kdesu kate /etc/X11/xorg.conf.
    > You could also try kwrite instead of kate



    or

    su
    vi xorg.conf

    IMHO, learn vi, it's installed on almost every system.
    I do like kate and the visual editors. Not sure why you're having that
    problem. You could create a kate launcher that runs as root, just be
    careful when you use it.



  4. #4
    Join Date
    Jun 2008
    Location
    Delta Quadrant
    Posts
    1,442

    Default Re: Can't edit xorg.conf

    Oh, and if you can't open it check the perms on the file, maybe they've
    gotten munged.


  5. #5

    Default Re: Can't edit xorg.conf

    Thanks guys.

    I don't seem to have vi installed. Bash says "command not found". Can't see it in Yast either. How can I install it?

    Having used the alt-F2 route (which worked) it now seems to work through the normal terminal too. Very strange. Maybe some process somewhere ended in the meantime.

    Thanks again.

  6. #6
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: Can't edit xorg.conf

    vi is in the vim-base package

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,384
    Blog Entries
    1

    Default Re: Can't edit xorg.conf

    For vi, you need the vim-base package installed.

    Edit: Microchip typing as I was still reading post... ;-) Anyway, I second that.

  8. #8

    Talking Re: Can't edit xorg.conf

    I want to thank you for the information on how to edit xorg.conf - the "kdesu kwrite" method worked for me and solved my issue, which I figure belongs in a different forum header.

Posting Permissions

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