Skip to content

disable middle mouse button as paste #95

@lilibyte

Description

@lilibyte

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions