CentOS6.5禁用和开启触摸板

一.禁用app

    安装 xorg-x11-apps 包: yum install xorg-x11-appsspa

    命令(查看输入设备列表):xinput listinput

    找到PS/2 Generic Mouse (即触摸板),并查看其id,如个人id是12yum

    禁用命令:xinput set-prop 12 "Device Enabled" 0vi

二.开启ps

    开启命令:xinput set-prop 12 "Device Enabled" 1ab