Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 02-17-2007, 06:58 AM   #1
LQ Newbie
Registered: Feb 2007
Posts: 5

Rep: Reputation: 0
edit conf file

Hi all,

unfortunately after about 30 people reading my last (first) post no one got back to me with any kind of answer, so I will try to get just some of the question answered with this post.

From Konsole, can someone tell me (when I have logged in as SU) how to edit any config file (as a windows user I would just have right-clicked on the file, selected edit and then saved it).

I want to add lines to the xorg.conf file located in /etc/X11

Old 02-17-2007, 07:22 AM   #2
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Use an editor, there are many and it depends on what is installed on your box. I use an editor called nano, so I would
nano -w /etc/X11/xorg.conf
then make the changes I want and sace the file (all as root, of course). You can also use one of the GUI editors. Since you are using Konsole, I assume you have KDE. You could
kate /etc/X11/xorg.xonf
FYI, su stands for 'switch user' so you're not logged in as SU, you've switched to user 'root.' The root user is default with the su command, but you can specify another user. Symantics, but we must stay pure.

Last edited by weibullguy; 02-17-2007 at 07:23 AM.
Old 02-17-2007, 07:45 AM   #3
LQ Veteran
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2, current, slackware-arm-currnet
Posts: 5,677

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
After you log in as 'su' you will not be in the correct directory to edit xorg.conf. Some commands to help out. First, Where am I? Use the command 'pwd' ( without quote ). That will return the present working directory. If you open a knosole as your user, and then su, you will most likely be in /home/username.

A few things about the way linux presents your location. The base, or beginning poin of the file system is represented as a / so if you see a directory location such as /home, home is one folder from the /.

Now you can use the 'cd' ( change directory ) command to change your location. To go to the /, just type 'cd /' and enter. If you do a pwd now, it will show you at /. To get to /etc/X11, type 'cd /etc/X11' and enter. Linux us case senseative so the X11 part is not x11. Do a pwd to confirm your action. You don't have to check, that will help until you are more confident.

Now, the next question is; Is the file I want at this location? Do an 'ls' command to find out. If you add the file name you are looking for to the command it will list just the file you want. Type 'ls xorg.conf' and enter. If the file is there, the file will list. If it is not, the system will respond, 'No such file or directory'.

Lets assume we are in th right directory. To edit the file, you need an editor, and the file name. Linux has lots of editors to choose from. One of the easy ones for beginners is kate. It will be installed if you installed KDE desktop. So to open the file, when you are in the directory, type 'kate xorg.conf' and enter. Kate should open, and xorg.conf is displayed. Another way is to open kate first, and use the open function in kate to navigate to the directory, and open the file. Tye this after the first method. The commands are not that hard, you need the practice to help remember them, and to learn a little about your system.

One more thing, if a command is giving you trouble, try the man pages to help. My favorite way to view man pages is open Konqueror, and in the location bar, clear it, and type 'man:/ls' to display the man page for the ls command. I like this method because you can page forward and backward in the web browser to see the information, and it is formatted in a nice font to read.

Hope this helps, and post back your questions.
Old 02-17-2007, 10:43 AM   #4
LQ Newbie
Registered: Feb 2007
Posts: 5

Original Poster
Rep: Reputation: 0
thanks guys

Excellent advice, managed to edit the conf file now, just need to suss out how to solve the initial problem now... How to disable the tapping option on my touchpad


Old 02-18-2007, 05:55 PM   #5
Senior Member
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70

If no one responded to your other post, it is because no one who read it had an answer. I have never used a laptop on Linux, so i do not know about the touch pad settings. There is a Mandriva package named synaptics and one named ksynaptics. Synaptics is a touchpad driver, and ksynaptics is a synaptics driver configuration utility for KDE. The package descriptions follow:

This is a driver for the Synaptics TouchPad for XFree86 4.x. A Synaptics touchpad by default operates in compatibility mode by emulating a standard mouse. However, by using a dedicated driver, more advanced features of the touchpad becomes available. Read the /usr/share/doc/synaptics-0.14.4/INSTALL file for instructions.
KSynaptics (previously QSynaptics) is a Qt/KDE based configuration utility for the synaptics touchpad drivers. It uses the synclient/syndaemon tools delivered by the X11 driver, which is available under
The synaptics package contains some socumentation which may be of help



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
edit a .conf file master Linux - General 7 10-13-2005 06:49 PM
How to edit yum.conf file? sirius57 Fedora 10 06-23-2005 01:00 PM
How to edit /etc/modules.conf file? Mateo1041 Linux - Newbie 4 11-19-2004 01:18 PM
how and where to edit the resolv.conf file? apu95 Linux - Wireless Networking 3 05-06-2004 12:10 AM
How to edit grub.conf file? hnash53 Linux - Software 1 12-12-2003 01:33 AM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration