Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Samsung Series 9 ClickPad
Section "InputClass"
Identifier "np900x4b clickpad"
MatchIsTouchpad "on"
Driver "synaptics"
# Enable the clickpad and set click actions
Option "ClickPad" "1"
Option "ClickFinger1" "1"
Option "ClickFinger2" "1"
Option "ClickFinger3" "1"
Option "SoftButtonAreas" "1950 0 1900 0 0 0 0 0"
Option "TapAndDragGesture" "0"
# Pressure required to move the cursor
Option "FingerHigh" "15"
Option "FingerLow" "15"
# Allow a bit of error before the cursor moves.
Option "HorizHysteresis" "17"
Option "VertHysteresis" "17"
# Mouse speed
Option "MinSpeed" "1"
Option "MaxSpeed" "5"
Option "AccelFactor" "0.05"
# Two Finger scroll speed
Option "VertScrollDelta" "30"
Option "HorizScrollDelta" "30"
# Enable palm detection and set palm senstitivity
Option "PalmDetect" "1"
Option "PalmMinWidth" "5"
Option "PalmMinZ" "40"
EndSection
@lholden

This comment has been minimized.

Copy link
Owner Author

commented Apr 14, 2012

I would love to have :
Option "AreaBottomEdge" "1700"
But that breaks the ClickPad functionality quite a bit.

@helgatheviking

This comment has been minimized.

Copy link

commented Jul 24, 2012

can you explain what the numbers mean for

Option "SoftButtonAreas" "1950 0 1900 0 0 0 0 0"

i'd like to adapt this to my series 7. it finally has some right click, but the area is tiny. i presume b/c the series 7 and series 9 have differently sized clickpads?

and what is this option?
Option "TapAndDragGesture" "0"

thanks for sharing this gist! this is the best my clickpad has worked with linux!

@lholden

This comment has been minimized.

Copy link
Owner Author

commented Jul 26, 2012

Hi there!

Super glad that your clickpad is working better now :D I'm finding that it works better in Linux now then it does in Windows!

SoftButtonAreas defines the locations that the right and middle buttons exist on the clickpad.

If you run:
synclient | grep -i edge
The numbers you will care about most are the RightEdge, and BottomEdge. You can use these numbers to figure out about where the right click should start and end. (I usually define it closer to the right side as I end up accidently right clicking a lot otherwise!)

The numbers for SoftButtonAreas go like this:
RightButtonLeft RightButtonRight RightButtonTop RightButtonBottom MiddleButtonLeft MiddleButtonRight MiddleButtonTop MiddleButtonBottom

if you use a value of 0, it generally means "the max value". So in this case, RightButtonRight would be all the way to the right on my clickpad.

If you just want to adjust the location of the right click, then you could adjust the first and third numbers to be some fraction of the edge values from above.

The all 0s for middle button means that it's not defined at all. You are welcome to define those too if you would like middle click to work.

TapAndDragGesture is for using literal finger taps (vs a click) for dragging. I like to disable all of the tap stuff just as a sanity check... though it's not likely needed at all.

You can find tons of information on the configuration options by doing:

man synaptics

Hope this has helped!

@helgatheviking

This comment has been minimized.

Copy link

commented Jul 26, 2012

thanks lori! definitely helps alot, i'll have to play with it. this is the first bit of code that got my notebook working in linux so i'm much closer to being able to abandon windows entirely now. you should share this around on the ubuntu/mint forums b/c there are a lot of people looking for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.