@mfergo: I have another question dude!
yes your following script works properly bud how can we integrate it with the our keyboard shortcuts?
for example in my Dell 5110 how can we define the script for FN+F3 to enable and disable the touchpad?
this is my problem why it does not work in the normal way here quality of work becomes important
In a brand new Dell Inspiron N5110 (and Ubuntu 11.10 64bits), the scripts of @d.burba, @mikejonesey and @fujisan did not work properly for me, so I did another version that did. Hope it helps:
Code:#!/bin/bash cd $HOME touchPadId=$(xinput list | grep -i Point | grep "PS/2 Generic Mouse" | cut -d "=" -f 2 | cut -b 1-2) #echo Device ID: $touchPadId if [ "$touchPadId" = "" ]; then echo "Unable to identify device id..." else enabledId=$(xinput --list-props $touchPadId | grep -i enabled | sed 's/.*(//' | sed 's/).*//') #echo Property ID: $enabledId status=$(xinput --list-props $touchPadId | grep -i enabled | sed 's/.*://') #echo Status: $status if [ $status = 0 ]; then xinput set-prop $touchPadId $enabledId 1 echo Trackpad Enabled else xinput set-prop $touchPadId $enabledId 0 echo Trackpad Disabled fi fi
Last edited by shevek.; January 7th, 2012 at 05:50 PM.
thank you so much shevek for this script; I've been looking for this.. Unfortunately neither Jupiter nor Touchpad Indicator didn't work for my Inspiron 5110..
Will Always Support Open Source Softwares against to croesus...
hi, i´m completely new to linux and i have the same problem, i need to disable the touchpad
i have Dell inspiron n5110
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Genius Optical Mouse id=11 [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)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Laptop_Integrated_Webcam_HD id=10 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
↳ Dell WMI hotkeys id=14 [slave keyboard (3)]
what shall i do
Bookmarks