-
Notifications
You must be signed in to change notification settings - Fork 28
disable middle mouse button as paste #95
Copy link
Copy link
Open
Labels
Description
Prior to installing clipster I've been using xbindkeys, xsel, and xdotool to disable the middle mouse button paste functionality:
(~/.xbindkeysrc config file)
"echo -n | xsel -n -i; pkill xbindkeys; xdotool click 2; xbindkeys"
b:2 + Release
The reasoning is that often selections will include newlines that when pasted into a terminal, or more importantly: a terminal-based chat program, are interpreted as entering to send a message per newline. I view this as a concerning security risk, especially on a ThinkPad with a prominent middle click button, so I'm sad this hack stopped working after running clipster.
Is an option for this within the scope of clipster, or do you have any advice for a way around this?
Reactions are currently unavailable