Skip to content

Instantly share code, notes, and snippets.

@cauefcr
Created March 17, 2016 16:09
Show Gist options
  • Save cauefcr/84eaa5fb05fce3266101 to your computer and use it in GitHub Desktop.
Save cauefcr/84eaa5fb05fce3266101 to your computer and use it in GitHub Desktop.
my init script
#!/bin/bash
#mouse
synclient LeftEdge=1726
synclient RigthEdge=4858
synclient TopEdge=1577
synclient BottomEdge=3665
synclient FingerLow=25
Synclient FingerHigh=30
synclient MaxTapTime=180
synclient MaxTapMove=192
synclient SingleTapTimeout=180
synclient ClickTime=100
synclient EmulateMidButtonTime=0
synclient EmulateTwoFingerMinZ=282
synclient EmulateTwoFingerMinW=7
synclient VertScrollDelta=-100 #scroll speed
synclient HorizScrollDelta=-100
synclient VertEdgeScroll=0
synclient HorizEdgeScroll=0
synclient CornerCoasting=0
synclient VertTwoFingerScroll=1
synclient HorizTwoFingerScroll=1
synclient MinSpeed=0.8
synclient MaxSpeed=1.75
synclient AccelFactor=0.03 #accel
synclient TouchpadOff=0
synclient LockedDrags=0
synclient RTCornerButton=0
synclient RBCornerButton=0
synclient LTCornerButton=0
synclient LBCornerButton=0
synclient TapButton1=0 #1
synclient TapButton2=0 #3 #may be wrong
synclient TapButton3=0 #3
synclient ClickFinger1=1
synclient ClickFinger2=3 #may be wrong
synclient ClickFinger3=2
synclient CircularScrolling=0
synclient PalmDetect=0
synclient PalmMinWidth=10
synclient PalmMinZ=200
synclient CoastingSpeed=20
synclient CoastingFriction=50
synclient PressureMotionMinZ=30
synclient PresusreMotionMaxZ=160
synclient PressureMotionMinFactor=1
synclient PressureMotionMaxFactor=1
synclient GrabEventDevice=1
synclient TapAndDragDevice=1
synclient AreaLeftEdge=0
synclient AreaRightEdge=0
synclient AreaTopEdge=2400 #this is the shit
synclient AreaBottomEdge=0
synclient HorizHysteresis=40 #wiggling mouse
synclient VertHysteresis=40
synclient ClickPad=1
synclient RightButtonAreaLeft=3092
synclient RightButtonAreaTop=0
#teclado
setxkbmap -model thinkpad60 -layout br;
#hds
#sudo mount -o exec,defaults,-default_permissions /dev/sdb1 ~/ssd
#sudo mount -o exec,defaults,-default_permissions /dev/sda4 ~/windows
#brilho
xbacklight -set 30;
#wallpapers
wallshuf;
#time
TZ='America/Sao_Paulo'; export TZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment