Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
禁用鼠标中键的粘贴功能
Experiences and Insight
878
views ·
3
replies ·
To
floor
Go
flyingfree
deepin
2017-08-12 01:33
Author
禁用鼠标中键点击粘贴的功能:
echo "pointer = 1 0 3 4 5 6 7 2" > ~/.Xmodmap
也就是,在 ~/.Xmodmap 文件中,
配置,鼠标按键的映射关系,
没有该文件,就自己建立一个。
1:左键
2:中建
3:右键
把 2换成0 ,2移到最后,
这样,鼠标中键的点击的功能就禁用了,
滚轮功能不受影响
0是一个没用定义的值,也可以是其它的,例如:25
这样,鼠标滚轮就只有上下滚动的作用了,
不会再一不小心就粘贴上一些不需要的内容。。
Reply
Like 0
Favorite
View the author
All Replies
jingle
deepin
2017-08-12 01:49
#1
看到标题我进来,以为来吐槽的,原来是攻略
Reply
Like 0
View the author
deepinwang
deepin
2017-08-13 01:06
#2
不知道为什么中键默认是粘贴功能。在KDE下也是这样。
经常浏览网页时手抽点了中键,然后页面就跳转了
Reply
Like 0
View the author
flyingfree
deepin
2017-09-16 23:39
#3
修改完成后,注销一下,重新登录即可
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Four agent skills for laptop power, sleep, and honest bug reports
Installing qemu-user breaks deepin
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
echo "pointer = 1 0 3 4 5 6 7 2" > ~/.Xmodmap
也就是,在 ~/.Xmodmap 文件中,
配置,鼠标按键的映射关系,
没有该文件,就自己建立一个。
1:左键
2:中建
3:右键
把 2换成0 ,2移到最后,
这样,鼠标中键的点击的功能就禁用了,
滚轮功能不受影响
0是一个没用定义的值,也可以是其它的,例如:25
这样,鼠标滚轮就只有上下滚动的作用了,
不会再一不小心就粘贴上一些不需要的内容。。