Change between workspaces using HP 2140 accelerometer

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,055
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 1, 2009

HP 2140 mini netbook comes with an ST Microeletronics accelerometer and under linux kernel 2.6.27 we have a driver that supports it (LIS3LV02Dx).
With wmctrl and some scripting we can toggle between workspaces when we tilt the machine left or right. This is a useless script but it has some fun :)
You can download script here http://jambelnet.blogspot.com/2009/09/change-between-workspaces-using-hp-2140...

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (jambelnet)

  • i want this on my windows 7. it is possible?

  • @bogdan7alex With those scripts, no. Now if Windows provides a driver for the sensor you probably write your own program or script to encapsulate the values. Also I don't think that there is multiple workspaces in Windows as in Linux.

  • nice worke! have you used a externel sensor??? and can you show your code?

  • No I have used the build in sensor. You can download source scripts in my blog

see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • this is very hard to me xD

  • Nice

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more