I've noticed that mine turns back on after I close the lid / suspend. So I hooked up the shortcut key to turn it on.
I tried Unity. I tried GNOME 3. I did not like neither of them. Now running Ubuntu 12.04 in Fallback mode.
To those not familiar with where icons are being stored, two icons perfect for this script can be found here:
I'm wondering though, is there/will there be a way to actually get the pad working properly (ie. horizontal scrolling, tap-clicking, automatic switching off on keyboard activity etc)? I found this patching tutorial:/usr/share/icons/hicolor/32x32/actions/touchpad-enabled.png
but I still haven't gotten into learning patching myself. Worth trying?
"Do it alone, it's weird.
Do it with others, it's a club."
Thank you so much for the script.
It works like a charm in my Dell Inspiron 17.
I too have the Alps touchpad (Dell Inspiron 15R) and this did not work for me so I made 2 very simple scripts as follows:
I used xprint list to identify the Alps id (14 in my case).
to enable it:
and to disable it:Code:#!/bin/bash xinput --set-prop 14 'Device Enabled' 1
Bear in mind that I am quite ignorant of these matters. I don't know why, in d.burba's script, there is an '8' between the 'Device Enabled' and the 1/0. It does not seem to be in the man pages for xinput.Code:#!/bin/bash xinput --set-prop 14 'Device Enabled' 0
ie... device id : property id : property value = 14 8 0
same way i coded my script, par i made the 8 dynamic to a variable... (not always 8, on my current machine it's a 127)
11 127 0
11 127 1
please run xinput search script and paste output;one more thing i have dell 5110 and i found that ubuntu11.10 has some problem detecting the touchpad.. its detects it as a mouse.
My personal website with blog n apps
Here is the script of burba improved because it could not work for me.
Code:#!/bin/bash # this script queries the status of the ImPS/2 ALPS GlidePoint device # via xinput and disables / enables the device accordingly. #get touchpad id XINPUTNUM=`xinput list 'ImPS/2 ALPS GlidePoint' | sed -n -e's/.*id=\([0-9]\+\).*/\1/p'` TPSTATUS=$(gconftool-2 -g /desktop/gnome/peripherals/touchpad/touchpad_enabled) #if status fails, exit 1 test -z $TPSTATUS && exit 1 if [[ $TPSTATUS == true ]]; then xinput set-int-prop $XINPUTNUM "Device Enabled" 8 0; gconftool-2 --type bool -s /desktop/gnome/peripherals/touchpad/touchpad_enabled false else xinput set-int-prop $XINPUTNUM "Device Enabled" 8 1; gconftool-2 --type bool -s /desktop/gnome/peripherals/touchpad/touchpad_enabled true fi