LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-20-2009, 06:40 AM   #1
DetroitLibertyPenguin
Member
 
Registered: May 2009
Location: Detroit, MI
Distribution: Debian (LXDE), Fedora (Sugar), PuppyLinux (JWM)
Posts: 69

Rep: Reputation: 17
Mouse flick forces back/forward in Web browser


I have an inconsistent issue with the touch pad on our laptop running PuppyLinux 4.1

Regardless of which web browser we use certain flicks of the mouse pad cause the browser to go back and forth as if you hit the back or froward button. I don't do it on purpose so it can be very very annoying. I also have the problem that while typing if my wrist or palm kits the mouse pad at all it will move teh window up and down, also annoying, but certainly much worse is the back/forward issue.

Since it doesn't matter which application I'm using I assume it is an X.org issue, but upon months of searching I can't find anyone having similar issues.

As such, here's my xorg.conf if I'm going the wrong way and its something else, let me know

Code:
 #Special base config file used in Puppy Linux.

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"
	Load "synaptics"

# This loads the DBE extension module.

    Load        "dbe"  	# Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
    Load        "freetype"

# This loads xtrap extension, used by xrandr
    Load       "xtrap"

# This loads the GLX module (if present)
    Load       "glx"

# This loads dri module (if present)
    Load       "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath	"/usr/X11R7/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

    FontPath   "/usr/X11R7/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R7/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R7/lib/X11/fonts/TTF/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Enables mode switching with xrandr
# There is a report that this can cause Xorg not to work on some
# video hardware, so default is commented-out...
# but i want to use it in xorgwizard so leave on...

    Option "RandR" "on"

EndSection

#everything past here is auto-generated by Puppy's Xorg Wizard...


Section "ServerLayout"
	InputDevice "Synaptics Mouse" "AlwaysCore"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbRules" "xorg"
	Option      "XkbModel" "pc102"
	Option      "XkbLayout" "us" #xkeymap0
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto" #mouse0protocol
	Option	    "Device" "/dev/mouse"
	Option      "Emulate3Buttons"
	Option      "Emulate3Timeout" "50"
	#Option      "ZAxisMapping" "4 5" #scrollwheel
EndSection

Section "InputDevice"
	Identifier "Synaptics Mouse"
	Driver "synaptics"
	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" "0"
	Option "MaxTapMove" "220"
	Option "VertScrollDelta" "100"
	Option "MinSpeed" "0.10"
	Option "MaxSpeed" "0.30"
	Option "AccelFactor" "0.0030"
	Option "SHMConfig" "on"
	#Option "Repeater" "/dev/ps2mouse"
EndSection

Section "Monitor"
	#DisplaySize	  330   210	# mm
	Identifier   "Monitor0"
	VendorName   "CMO"
	ModelName    "1526"
	HorizSync    30-50
	VertRefresh  56-60
	#UseModes     "Modes0" #monitor0usemodes
	Option      "PreferredMode" "1280x800"
	EndSection
	
Section "Modes"
	Identifier "Modes0"
	#modes0modeline0
EndSection

Section "Device"
	### Available Driver options are:-
	### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
	### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
	### [arg]: arg optional
	#Option     "NoAccel"            	# [<bool>]
	#Option     "SWcursor"           	# [<bool>]
	#Option     "ColorKey"           	# <i>
	#Option     "CacheLines"         	# <i>
	#Option     "Dac6Bit"            	# [<bool>]
	#Option     "DRI"                	# [<bool>]
	#Option     "NoDDC"              	# [<bool>]
	#Option     "ShowCache"          	# [<bool>]
	#Option     "XvMCSurfaces"       	# <i>
	#Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "intel" #card0driver
	VendorName  "Intel Corporation"
	BoardName   "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
    DefaultDepth 16
    Subsection "Display"
        Depth       16
        Modes       "1280x800"
    EndSubsection
EndSection

#PuppyHardwareProfile=Intel_r__82945GM_ChipsetN154I2_L02
 
Old 07-21-2009, 03:06 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Actually sounds like you may have a desktop effect enabled called 'Mouse Gestures' which allows one to do wondrous things just by moving or 'flicking' the mouse a certain way, or by tracing a quick little pattern with it. Some applications, such as Firefox, have extensions which provide this functionality, but in your case it sounds like your desktop environment has it enabled.

I'm not sure how to disable it, if it's enabled, because I am totally unfamiliar with your machine/OS, but have a look through the system/desktop settings and see if you can locate this setting.

Sasha

PS - I neglected to take into account that it is a touchpad/laptop, so you may get better mileage from the post below by Shadow_7-- either way, do let us know how you make out.

Last edited by GrapefruiTgirl; 07-21-2009 at 05:05 PM. Reason: Post below looks good too
 
Old 07-21-2009, 04:23 PM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Try using tpconfig

Touchpads have a feature to scroll when moving along the edges. You can turn that off with tpconfig, although that might be for synaptic mouse brands. You can also pass taptime=0 to the mousedev module. mousedev.taptime=0 as a kernel parameter, or modprobe mousedev taptime=0. Bear in mind that psmouse works in conjunction. And I think taptime only turns of the tap that selects things. And various other options.

HTH
 
Old 07-22-2009, 11:55 AM   #4
DetroitLibertyPenguin
Member
 
Registered: May 2009
Location: Detroit, MI
Distribution: Debian (LXDE), Fedora (Sugar), PuppyLinux (JWM)
Posts: 69

Original Poster
Rep: Reputation: 17
I can garuntee its not hte mouse gestures thing. that's the best option my local LUG came up with as well. I also have absolutley no Add-ons installed on either Firfox 3.5.1 nor Seamonkey 1.1.11 the two browsers I use on that machine.

I'll try using tpconfig and the suggested kernel paramters when I get a chance.

But all in all does anythign look unusual in my xorg.conf?
 
Old 07-22-2009, 05:09 PM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Section "InputDevice"
...
Driver "mouse"
...
EndSection

You might try "psaux" instead of mouse. Not that it will change anything.

Section "InputDevice"
Identifier "Synaptics Mouse"
Driver "synaptics"
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" "0"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.10"
Option "MaxSpeed" "0.30"
Option "AccelFactor" "0.0030"
Option "SHMConfig" "on"
#Option "Repeater" "/dev/ps2mouse"
EndSection

You might try commenting out that entire section. You don't appear to be using it anyway.

Section "ServerLayout"
...
InputDevice "Mouse0" "CorePointer"
...
EndSection
 
Old 07-22-2009, 05:11 PM   #6
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
The file as a whole looks good to me, but I cannot comment on the specifics of the touchpad section you have because I am totally unfamiliar with that-- I've never had to use such a section.

Perhaps Shadow_7 or another touchpad user can give you further critique of that section

Sasha

EDIT - Whoops, I see he and I posted at the same time.

Last edited by GrapefruiTgirl; 07-22-2009 at 05:12 PM.
 
Old 08-15-2009, 12:39 AM   #7
DetroitLibertyPenguin
Member
 
Registered: May 2009
Location: Detroit, MI
Distribution: Debian (LXDE), Fedora (Sugar), PuppyLinux (JWM)
Posts: 69

Original Poster
Rep: Reputation: 17
So I have finally discovered my problem, still no idea on the solution.

Apparently it all stems from the discovered of the touch pad. I can now always duplicate this issue anytime I choose by slowly sliding my finger across the bottom of the touch pad to go back (or forward) any of a number of pages. Sure it sounds like a cool idea, however I find it far too hard to completely avoid the lower part of the touch pad while browsing. This happens in any browser (completely completely being my preferred and the completely Default).


After finally realizing this problem my wife was like "oh, yeah, I remember now, I had to work forever to get it to stop doing that in Windows too, I have no idea what I did then, and of course I would have no idea how to do it in Puppy."

So somehow I'd like to turn off this "feature" all together. It would also be beneficial to be able to turn off the beneficial all together while typing. I keep hitting the while with my palms and going all over the place. In fact this is the third time trying to type this post as a result of said issues.

Since I do have two Input Device (mice) listed in the previously posted xorg.conf, I tried simply commenting out the entire synaptics section. Upon reboot, X wouldn't start. So yeah, that quickly got undone.

Any ideas, least point me in the right direction?
 
Old 08-15-2009, 04:11 AM   #8
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
It is X11 detecting more buttons when the wheel or similar device is struck quickly. The way I got around this is stating what buttons should be used and ignore the rest in /etc/X11/xorg.conf. It is the same syntax used with xmodmap to state what buttons are used and what buttons are not used. The following should help.

http://lists.freedesktop.org/archive...ne/016225.html
http://wiki.archlinux.org/index.php/...uttons_Working
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mouse buttons to back and forward browser linuxbird Linux - Newbie 1 09-14-2008 02:17 AM
LXer: Fast forward with a Kazehakase web browser LXer Syndicated Linux News 0 03-28-2007 03:46 PM
forward & back mouse buttons in konqueror HOLLYW00D Linux - Newbie 1 05-14-2005 12:33 PM
side mouse buttons - forward and back? Moebius Linux - Software 3 08-07-2004 11:14 AM
using back forward buttons on explorer mouse jotus Fedora 8 01-26-2004 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:14 PM.

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