Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-18-2004, 07:04 PM
|
#1
|
Member
Registered: Aug 2004
Posts: 65
Rep:
|
Turn off touch pad "clicking"
Greetings,
I am new to Linux. I have just installed debian "Sarge" on my Toshiba note book A15-S157. I would like to disable touch pad "clicking". I think I can do this by using tpconfig. I have installed this package from debian. From what I have read, I should run this program at startup. Could someone provide me with an example of what I should run, and where I should run it. I am not familiar with startup scripts yet so I will need some detailed help. Thanks.
Peter
|
|
|
08-19-2004, 08:56 AM
|
#2
|
Member
Registered: Aug 2004
Location: Oslo, Norway.
Distribution: Debian Sarge
Posts: 171
Rep:
|
try to do this and read a bit;
man tpconfig
It should give you a nice file :-)
Or you could take a look in /etc/X11/XF86Config-4 and see what it says about your touchpad there :-)
|
|
|
08-19-2004, 11:09 AM
|
#3
|
Member
Registered: Nov 2003
Posts: 122
Rep:
|
I hate touch pad clicking...
and I have over a period of time tried every suggestion on eliminating it. Most of the time the files I am told to edit either don't exist, or editing them does not eliminate the clicking. I will try this latest suggestion.
As fa as XFConfig-4, mine had nothing that really affects the auto- click functioning.
To make it clear, I am talking that the little square that moves the cursor on a laptop when you run a finger across it, engages in random clicking as if I had left clicked. and no matter how careful I am, it does it, in both Win and linux. i waste a lot of time with this, and it is even worse when it clicks on a POST button before I am ready.
HOwever, the really worst problem is when I am typing, and the slightest touch with my wrist on this square grabs the typing cursor and repositions it somewhere else on the page, thus typing stuff in the wrong place. CTRL-Z should hypothetically undo, but at times that eliminates a large amount of material already types.
In general auto clicking on that cursor square is a bummer.
|
|
|
08-19-2004, 11:13 AM
|
#4
|
Member
Registered: Aug 2004
Location: Oslo, Norway.
Distribution: Debian Sarge
Posts: 171
Rep:
|
I know what you mean, and I can see why this is such a big problem. I think you may have a too high tap-time. If i tap my touchpad two times, it works as a right-click on my mouse.
You could try to add the touchpad to your /etc/X11/XF86Config-4 , and then just comment the line where the tap-stuff is, or modify it.
Here is what my /etc/X11/XF86Config-4 says about my touchpad:
Code:
Section "InputDevice"
Driver "synaptics"
Identifier "touchpad"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.06"
Option "MaxSpeed" "0.12"
Option "AccelFactor" "0.0010"
# Option "SHMConfig" "on"
# Option "Repeater" "/dev/ps2mouse"
Option "CorePointer"
Last edited by littlemidget; 08-19-2004 at 11:15 AM.
|
|
|
08-22-2004, 08:54 PM
|
#5
|
Member
Registered: Aug 2004
Posts: 65
Original Poster
Rep:
|
Here is a sample script I found. How and where do I run it?
#!/bin/sh
# touchpad
# description: Startup script to disable touchpad tapping
# For Synaptics or ALPS touchpads.
#
# $Log$
#
# $Id$
#
#
test -r /etc/rc.d/init.d/functions && . /etc/rc.d/init.d/functions
echo ""
echo -n "Turning off Touch-Pad 'tapping' "
if [ -f /usr/bin/tpconfig ]; then
/usr/bin/tpconfig --tapmode=0
if [ $? ]; then
echo_failure
else
echo_success
fi
else
echo_failure
fi
echo ""
exit 0
|
|
|
08-22-2004, 09:48 PM
|
#6
|
Member
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404
Rep:
|
Do you have a file called /etc/rc.d/rc.local. If so then you save the script you found someplace as root, maybe /usr/bin, make the file executable chmod 755 filename. Then in your rc.local file add the line:
/usr/bin/filename
This will execute the file upon startup.
HTH
|
|
|
08-24-2004, 12:46 PM
|
#7
|
Member
Registered: Aug 2004
Posts: 65
Original Poster
Rep:
|
Quote:
Originally posted by JayCnrs
Do you have a file called /etc/rc.d/rc.local. If so then you save the script you found someplace as root, maybe /usr/bin, make the file executable chmod 755 filename. Then in your rc.local file add the line:
/usr/bin/filename
This will execute the file upon startup.
HTH
|
I do not have the above file. I think in debian it is recommended that these type of scripts go into /etc/init.d/rcS. I tried the following:
In /etc/init.d/rcS I have placed /home/peter/touchpad.sh. This does not work, and gives a message seen at start up something like "/etc/init.d/rcS run line 14 /home/peter/touchpad.sh not a file or directory found".
I have actually placed the entire script in /etc/init.d/rcS. This does not work, and gives a message seen at start up something like "can not find /usr/bin/tpconfig".
(note: I see these messages at start up but not in the message or kernel logs, why?)
All this strikes me as a path problem of some sort. The path in /etc/init.d/rcS seem to include /usr/bin. Does the path change as you execute another script?
I do not know why running dpkg-reconfigure tpconfig, and setting in the options "--tapmode=0" does not work. This seems to me like it should work, with no need for this script.
If I do need to use this script I just can not seen to get it right. I sure it is some thing I am doing wrong. Suggestions welcome.
Peter
|
|
|
08-25-2004, 01:59 PM
|
#8
|
Member
Registered: Aug 2004
Posts: 65
Original Poster
Rep:
|
I am satisfied for now
I am satisfied for now. The following write up was able to answer my newbie type questions concerning debian start up.
http://www.aboutdebian.com/linux.htm
Thanks, Peter
|
|
|
All times are GMT -5. The time now is 03:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|