LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-25-2012, 05:26 PM   #1
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
how do I turn off touch to left click on my touch pad


how do I turn off touch to left click on my laptop touch pad ?
I running slackware-1337 with gpm
 
Old 05-25-2012, 07:42 PM   #2
duttocal
LQ Newbie
 
Registered: May 2011
Posts: 9

Rep: Reputation: Disabled
just back 2 months i did some experimental linux on my hp touchpad, as touch controls i used something called easystroke, i dont know if its your solution but it does not left click as long as you drag across screen, which i guess is what you want other than the generic always-left-click-nomatter-what controls
of course, i dont really know a lot about this, heres your free bump, I, and also you should try googling this, as this is most likely a common question.
lazy
 
Old 05-25-2012, 10:37 PM   #3
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
it's uncommon enough that it has linuxquestions stumped
yes I did google it all the results I got were for windoze
google has abandoned linux to the point that "linux" seems to be an ignored word in searches
 
Old 05-26-2012, 04:48 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Assuming your touchpad is a Synaptics model (most are) there's good information on the ArchWIKI.
 
Old 05-29-2012, 03:30 PM   #5
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
I think I'll go with Disable touchpad upon external mouse detection
I'll just have to add a symlink to /root in /home so it works the same way for root as a plain user
this will work not only with X but with the real command line and gpm

thanks I think I'll book mark that wiki

Last edited by rob.rice; 05-29-2012 at 03:50 PM.
 
Old 05-31-2012, 09:22 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

Here is a script that I use on one of my laptops;
Code:
#!/bin/bash

# touchpad.sh Written by Atanas S / Siteground Support Team

# First we need to get the device ID from the xinput
# if it does not work for you, you may need to set the cut -f option to another number
# I would suggest that you test the command in your terminal first to see the result
# It should output an integer usually between 8-15, at least on my lap top :D

getdev=`xinput list |grep pointer |grep PS |cut -f 2`
devid=${getdev/id=/}

#Second we need to get the device status, if it is enabled or not

# if it does not work for you, you may need to set the cut -f option to another number
# I would suggest that you test the command in your terminal first to see the result
# It should output 0 or 1

getstatus=`xinput list-props $devid |grep 'Device Enabled' |cut -f 3`

#once we get the device status depending on the status we set it the other way arround
        if [ "$getstatus" == "1" ]; then
        newstatus="0"
        else
        newstatus="1"
        fi
`xinput set-prop $devid "Device Enabled" $newstatus`
If synaptic then;

Code:
#
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  Author: Rossana Motta -  email: rossana.hell.no.127.0.0.1@gmail.com - http://ww2.cs.fsu.edu/~motta
# Version: 1.0
# Date: Dec 31st 2006
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# A very very simple servicemenu to disable or enable your touchpad
# Notice: it only works if it is a *synaptic* touchpad
# There are plenty of ways to disable your touchpad, for example
# through the comamnds synclient TouchpadOff=1 or synclient TouchpadOff=0
# which is exactly what this servicemenu does.
# 
# 
# At reboot this setting is reset and touchpad is enabled by default
# If you want to disable it permanently, you can comment the touchpad section
# in /etc/X11/xorg.conf
#
#               USAGE:
#
#   1) copy the file Disable_Enable_Touchpad.desktop in the KDE servicemenus folder,
#       that is located in /home/<your_username>/.kde/share/apps/konqueror/servicemenus
#               OR
#   2) just leave the file Disable_Enable_Touchpad.desktop in same folder
#       and right click it; on "action" you'll find the touchpad entry
#

[Desktop Action DisableTouchpad]
Exec=synclient TouchpadOff=1
Icon=presence_offline
Name=Disable Touchpad

[Desktop Action EnableTouchpad]
Exec=synclient TouchpadOff=0
Icon=presence_online
Name=Enable Touchpad

[Desktop Entry]
Actions=DisableTouchpad;EnableTouchpad
Encoding=UTF-8
Icon=yast-mouse
Name=Disable_Enable_Touchpad.desktop
Name[en_US]=Disable_Enable_Touchpad.desktop
ServiceTypes=inode/directory
X-KDE-Submenu=Disable/Enable Touchpad
HTH!

Last edited by onebuck; 05-31-2012 at 09:23 AM. Reason: vbcode tag error
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to turn on SHMConfig, and get touch-pad driver running? carrt7 Linux - Newbie 1 02-03-2011 07:52 AM
touch-pad click problem angle2009 Fedora 1 06-11-2009 05:06 PM
right click on touch pad won't always click kiwikiki Linux - Hardware 7 06-03-2009 10:43 AM
double click touch pad Paxmaster Linux - Laptop and Netbook 1 01-05-2005 02:18 PM
Turn off touch pad "clicking" pgte3 Linux - Newbie 7 08-25-2004 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:15 AM.

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