Skip to content

Collection of different small How To articles

This is a small and incomplete collection of some Problems I had to fix, to keep them if I may need them again.

Touch click events not working after suspend

Create a script which is called on resume event under /etc/pm/sleep.d/0000trackpad:

case "$1" in
        DISPLAY=:0.0 su <USER> -c '/usr/bin/synclient TouchpadOff=0' ;;

Tunnel Git through socks proxy

# open tunnel
ssh -D 1337 -q -C -N # Ctrl-C to stop
# use tunnel for git
git config --global http.proxy 'socks5://'
# remove tunnel from git
git config --global --unset http.proxy