I did not like the idea of dedicating the only button in converted mode to a onscreen keyboard.
So i added an entry for the onscreen keyboard to the gnome menu under acessories. Then i added the onscreen keyboard to the Favorites in netbook-launcher with the command:
netbook-launcher –add-favorite /usr/bin/onboard
and set the P-button to execute: netbook-launcher –show-favorites
Now when i hit the P-button, the favorites pop up and i can select from the applications scripts …. whatever i want ^^
Interesting approach, but check the improved again script: http://www.ceh-photo.de/blog/?p=336 It places and resizes the keyboard and the current active window for nice access.
but if you change it to this for use with cando driver:
————————–switched caliby & claibx ———————-
;;
left)
xinput set-prop “$id” “Evdev Axis Inversion” 1, 0
xinput set-prop “$id” “Evdev Axes Swap” 1
xinput set-prop “$id” “Evdev Axis Calibration” $calibx $caliby
;;
right)
xinput set-prop “$id” “Evdev Axis Inversion” 0, 1
xinput set-prop “$id” “Evdev Axes Swap” 1
xinput set-prop “$id” “Evdev Axis Calibration” $calibx $caliby
esac
}
————————–\end—————————–
it works for use with Lucid Cando kernel 2.6.35 without messing up calibration.
Notice, only $calibx and $caliby variables have been switched to stay the way they are in normal and inverted mode.
I wrote a udev rule to change the owner of the gyro device automatically.
Simply make a file in /lib/udev/rules.d/ called 30-g-sensor.rules
(you need root provileges for that)
and put:
KERNEL==”i2c-[0-7]”, OWNER=”user”, GROUP=”user”
in it, while replacing user with you username.
then reboot or run:
sudo service udev reload && sudo udevadm trigger
[…] my last post I explained were you found a tutorial for installing a real multitouch driver for the ACER 1825 and […]
I did not like the idea of dedicating the only button in converted mode to a onscreen keyboard.
So i added an entry for the onscreen keyboard to the gnome menu under acessories. Then i added the onscreen keyboard to the Favorites in netbook-launcher with the command:
netbook-launcher –add-favorite /usr/bin/onboard
and set the P-button to execute: netbook-launcher –show-favorites
Now when i hit the P-button, the favorites pop up and i can select from the applications scripts …. whatever i want ^^
rock & roll
B4ckBOne
Interesting approach, but check the improved again script:
http://www.ceh-photo.de/blog/?p=336 It places and resizes the keyboard and the current active window for nice access.
Found an issue with your script.
The part:
———————-code———————————
xinput set-prop “$id” “Evdev Axis Inversion” 1, 0
xinput set-prop “$id” “Evdev Axes Swap” 1
xinput set-prop “$id” “Evdev Axis Calibration” $caliby $calibx
;;
right)
xinput set-prop “$id” “Evdev Axis Inversion” 0, 1
xinput set-prop “$id” “Evdev Axes Swap” 1
xinput set-prop “$id” “Evdev Axis Calibration” $caliby $calibx
esac
}
—————————–\code————————-
does not work on my lucid install with single touch Cando driver setup:
——————————\xinput list——————–
:~$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Cando 11.6 id=10 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad 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)]
↳ CNF9011 id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
————————–\xinput list————————————-
but if you change it to this for use with cando driver:
————————–switched caliby & claibx ———————-
;;
left)
xinput set-prop “$id” “Evdev Axis Inversion” 1, 0
xinput set-prop “$id” “Evdev Axes Swap” 1
xinput set-prop “$id” “Evdev Axis Calibration” $calibx $caliby
;;
right)
xinput set-prop “$id” “Evdev Axis Inversion” 0, 1
xinput set-prop “$id” “Evdev Axes Swap” 1
xinput set-prop “$id” “Evdev Axis Calibration” $calibx $caliby
esac
}
————————–\end—————————–
it works for use with Lucid Cando kernel 2.6.35 without messing up calibration.
Notice, only $calibx and $caliby variables have been switched to stay the way they are in normal and inverted mode.
This did the trick for me 🙂
rock & roll
B4ckBOne
I wrote a udev rule to change the owner of the gyro device automatically.
Simply make a file in /lib/udev/rules.d/ called 30-g-sensor.rules
(you need root provileges for that)
and put:
KERNEL==”i2c-[0-7]”, OWNER=”user”, GROUP=”user”
in it, while replacing user with you username.
then reboot or run:
sudo service udev reload && sudo udevadm trigger
Hey thanks for that reply! I did not have problems with the rights but some others have it.