Skip to content

Instantly share code, notes, and snippets.

@hxss
Last active June 14, 2020 22:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hxss/7e9ca7d36deccb8d89a13ffa87666a24 to your computer and use it in GitHub Desktop.
Save hxss/7e9ca7d36deccb8d89a13ffa87666a24 to your computer and use it in GitHub Desktop.
Disable xorg primary clipboard. Temporary workaround that clear primary clipboard before every wheel click
"xclip -i /dev/null"
b:10
"xdotool click 10"
b:10 + Release
# for russian layout
"xdotool click 10"
m:0x2010 + b:10 + Release
#!/bin/sh
xmodmap -e "pointer = 1 10 3 4 5 6 7 8 9 2 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment