Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

does this use xdotool? can you share



maybe you use xbindkeys?

    "xdotool mousedown 1"
      b:49+1
    "xdotool mouseup 1"
      b:49+Release+1


hmm unfortunately, the above does not work. I was able to get basic clicking working like this:

    cat .xbindkeysrc
    "xdotool click 1"
      Alt_R
    "xdotool click 3"
      Menu

    xset -r 108
    xset -r 135
    pkill xbindkeys && xbindkeys
but I wish dragging a mouse click would also work.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: