ClassicConnect ClassicConnect
"640k ought to be enough for everybody."
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

[Guide] Workaround for middle click paste on ThinkPads

 
Post new topic   Reply to topic    ClassicConnect Forum Index -> Software and Web Design
View previous topic :: View next topic  
Author Message
nick99nack
Admin


Joined: 30 Aug 2023
Age: 30
Posts: 171
Location: NJ, USA

PostPosted: Mon Sep 18, 2023 1:27 am    Post subject: [Guide] Workaround for middle click paste on ThinkPads Reply with quote

For months I've been trying to get rid of the very annoying middle click paste on Linux on my ThinkPad T14 AMD. Finally I found something that works, even if it is hacky. Original post is here but here are the steps:

1. Install xbindkeys xsel xdotool
2. Place the following text in ~/.xbindkeysrc
Code:
"echo -n | xsel -n -i; pkill xbindkeys; xdotool click 2; xbindkeys" 
b:2 + Release

3. run xbindkeys -p
4. Make xbindkeys run on startup

It's silly and hacky, but it does work, at least for me.
_________________
If you like browsing without an ad blocker, you might also like getting rid of your virus scanner, and running around with your pants down. --SomeGuy, 2016
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
campos
Member


Joined: 01 Sep 2023
Age: 23
Posts: 20
Location: Brazil

PostPosted: Wed Apr 10, 2024 3:24 am    Post subject: Reply with quote

The Arch Wiki has other workarounds, they should work even in other distros https://wiki.archlinux.org/title/clipboard#Disabling_middle-click_paste
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    ClassicConnect Forum Index -> Software and Web Design All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



smartDark Style by Smartor
Powered by phpBB 2.0.25 CC Mod © 2001, 2002 phpBB Group
 
Page generation time: 0.0129s (PHP: 93% - SQL: 7%) - SQL queries: 11 - GZIP enabled - Debug on