我有戴尔笔记本电脑“ N 5110”
如何使2手指滚动工作+ 2手指放大和缩小工作
如何Fn + F3锁定触摸板
如图所示如何配置1 2 3
3.1对于Ubuntu软件中心
3.2对于系统设置
3.3屏幕关闭
如何在Dell Inspiron 5110上配置触摸板和键盘设置? 什么都没做,我也没有用过Google,但一无所获
xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ Sleep Button id=10 [slave keyboard (3)]
↳ Laptop_Integrated_Webcam_HD id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
↳ Dell WMI hotkeys id=14 [slave keyboard (3)]
有一个名为的应用程序,Touchegg
但存在问题,12.04
需要修复。因此,此时,它无法完成您想要的工作。
Touchegg旨在为基于Linux的操作系统带来多点触摸(触摸板)功能。用外行术语来说,它是GNU / Linux的开源多点触摸手势识别器,它由C ++,Qt和uTouch-geis库支持。使用TouchEgg,您可以定义要为特定的多点触摸手势启动的动作类型。
欲了解更多信息,请查看我的答案。我已经指导了整个过程。
使用名为的应用程序AutoKey
。
您可以将任何键绑定到任何脚本或缩写。
AutoKey是适用于Linux和X11的桌面自动化实用程序。它使您可以管理脚本和短语的集合,并为其分配缩写和热键。这使您可以在使用的任何程序中执行脚本或按需插入文本。
打开软件中心>搜索autokey
>安装AutoKey(GTK)
打开自动键。
File > Create.. > New Script
。使用您喜欢的名称进行重命名。
如图所示粘贴以下代码,
import os
os.system("synclient TouchpadOff=$(if [ $(expr `synclient -l | grep TouchpadOff | cut -f2 -d =`) -eq 0 ]; then echo 1; else echo 0; fi)")
然后在右下角有为三个Set
按键设定Abbreviation
或Hotkey
或Window Filter
。单击第二个Set
按钮(因为我们要设置热键)。
Click Press to Set
and hit a key you want to assign(in your case fn+f3. I'm hitting fn+f1).
Click OK
.
Click Save
in bottom-right corner.
Now you will see your hotkey in left panel in HotKey
column (in my case there is weird key like I
because I have assigned fn+f1).
you have set hotkey for touchpad to enable/disable ( I have coded to make it toggle rather than just use to lock it. Perhaps you'd like it :-) ).
3.1 For Ubuntu Software Center
==> Go to Step 1
described above.
just use this code when you paste.
import os
os.system("/usr/bin/software-center %u")
and set hotkey for 1
you have shown in screenshot.
thats it you have bound 1
for Software Center
.
3.2 For System Settings
==> Go to Step 1
described above.
just use this code when you paste.
import os
os.system("gnome-control-center")
and set hotkey for 2
you have shown in screenshot.
thats it you have bound 2
for System Settings
.
3.3 For Screen Off
==> Go to Step 1
described above.
just use this code when you paste.
import os
os.system("xset dpms force off")
and set hotkey for 3
you have shown in screenshot.
thats it you have bound 3
for Monitor off
.
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句