IT

Enabling trackpoint scrolling emulation in Ubuntu 11.10

by dev on Nov.23, 2011, under IT

One feature I love that is missing in a default installation of Ubuntu is horizontal and vertical scrolling in browsers by pressing the mouse wheel.

To enable it you can do the following in our terminal:

  1. Find out the id corresponding to your device, in this case 9:
    xinput --list

    xinput --list

  2. List the properties of your device using the id previously found:
    xinput list-props 9

    xinput list-props 9

  3. You will be interested in changing the following settings so check their ids as well:
    • Evdev Wheel Emulation (260): 0
    • Evdev Wheel Emulation Axes (261): 0, 0, 4, 5
    • Evdev Wheel Emulation Button (264): 4
  4. Change these values to the following values:
    xinput set-int-prop 9 260 8 1;xinput set-int-prop 9 261 8 6 7 4 5; xinput set-int-prop 9 264 8 2;
  5. Test to see if it works.
  6. To store the changes permanently, create a .xsessionrc in your home directory, make it executable and store the command line from point 4 in it.
  7. Enjoy :)

Thanks to http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint

Leave a Comment :, more...

Intro to Google Gears

by dev on Mar.13, 2009, under IT

Google Gears for Mobile

In-depth conference about Gears API’s capabilities centered on mobile devices. How it works, examples from real life usage on Google Photos, one small demo application, brings up issues like security & location API.

(continue reading…)

Leave a Comment :, more...

mod_deflate

by dev on Mar.08, 2009, under IT

One of the ways to optimize the loading speed of a website is to drastically reduce the size of all files sent to our clients and using gzip compression is the first solution that comes to my mind. Using mod_deflate in Apache2 is supported on most modern browsers, gives you statistics, filtering options based on MIME-type or even filename, caches the compressed files and is so easy to configure you’ll be drinking your coffee with a huge smile of satisfaction in less then 5 minutes.

(continue reading…)

Leave a Comment :, , more...