0x0049 icon

startup.sh

0x0049 | PRO | 07/23/15 02:28:51 AM UTC | 0 ⭐ | 428 👁️ | Never ⏰ | []
Bash |

760 B

|

None

|

0 👍

/

0 👎

#!/bin/sh
 
# ~/startup.sh
# ============
 
xset r rate 340 25                   # So holding backspace isn't all wonky.
xmodmap -e "remove Lock = Caps_Lock" # Remove caps lock binding.
xmodmap -e "keycode 66 = BackSpace"  # Remap caps lock to backspace.
xrdb -merge ~/.Xresources            # For terminal goodness.
 
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5
xinput set-prop "TPPS/2 IBM TrackPoint" "Device Accel Constant Deceleration" 1
 
xinput set-prop 12 "Device Enabled" 0 # Disable trackpad (I use the nub).

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎