Edit a .conf file

K.Octopus Posted messages 2 Registration date   Status Member -  
 rikikus -
Hello,

I would like to know how to edit .conf files on Ubuntu
Configuration: ubuntu Firefox 2.0.0.8

3 answers

  1. fiddy Posted messages 441 Registration date   Status Contributor Last intervention   1 847
     
    Hello

    To edit a .conf file, you need to do it like a normal file: gedit filename.conf for example.
    Note that some .conf files have a specific program for editing that helps avoid syntax errors.

    --

    Google is your friend
    0
  2. jipicy Posted messages 40842 Registration date   Status Moderator Last intervention   4 898
     
    Hi,

    I would just add that generally to edit a config file you need the necessary rights (root) so under Ubuntu:
    sudo gedit fichier.conf
    The editors are numerous under GNU/Linux, both graphical like Gedit, Nedit, Kwrite, Kate, etc., and console-based with Vi, Emacs, Nano, etc.

    ;-))
    --

    Cheers...
    JP: Zen, my Nuggets! ;-) Knowledge is only valuable if shared.
    0
  3. rikikus
     
    Thank you very much, it works with NANO under VectorLinux 5.8 SOHO

    su
    password

    nano /etc/X11/xorg.conf

    ................. THE MODIFICATION .....................

    Control + O to modify and save!

    Thank you :)
    0