Latest posts:

Elantech touchpad two finger scrolling on linux

For some time I’ve been struggling to get my laptop (Samsung r540)1 to work properly under linux for some time. Eventually I’ve resolved most of my problems2 by installing Ubuntu Oneiric which is pretty nice, except some Unity mis-designs3 which I was able to resolve. But one problem remained: my touchpad wasn’t acting while using the “Two Finger Scroll” feature like it should. The scrolling itself was working, but whenever I reached one of the touchpad borders (which I did pretty much all the time) the document or web page I was viewing (and scrolling) would jump all the way to the top or bottom and lock the whole touchpad for a while. This was pretty annoying, since I use my touchpad (and thus, scrolling) really frequently.

I was able to fix this in Archlinux by enabling SHMConfig option in my xorg.conf, but it seems that Ubuntu don’t accept manual X11 configuration. When I configured X11, like I did under my Arch installation (which meant copying the .conf file), the hell broke and I lost correct screen configuration and my laptop keyboard wasn’t detected.

I’ve begun googling around and discovered that I still can configure my touchpad through the xinput tool. Yeah! I quickly applied what I was doing in Arch through X11 config file, only to discover that it didn’t fixed my issue.

Damn! I started googling again and found this document. I’ve read it and I discovered interesting thing:

When conventional coasting is enabled, horizontal/vertical scrolling can continue after the finger is released from the lower/right edge of the touchpad.

Wait, “finger is released from the lower edge of the touchpad”. This is what I was doing: I would release my fingers after I reached bottom of the touchpad and then the scrolling would broke.
That would mean that I had problem with coasting! Quick search in the document gave me solution how to configure/disable coasting. And since I didn’t like the idea of the scrolling continuation after I released my fingers I decided that I would disable the whole thing. I’ve run
xinput --set-prop "ETPS/2 Elantech Touchpad" "Synaptics Coasting Speed" 0 0
disabling coasting and discovered that everything was working like it should!

Ok, but this was only a one-shot solution. How could I make it permanent? Let’s put a script that does this in /etc/init.d and enable it by running update-rc.d FOO defaults where FOO is the script name. Now everything works as it should!

1 Don’t buy it. Don’t buy any Samsung laptop if you want to run linux on it. They give too many problems.

2 Overheating on Arch, compilation problems and overheating on Gentoo. Pretty much I couldn’t do anything that required heavy CPU load.

3 The whole dashboard thing and dock fixed to the left side of screen without option to move it. Those are not wise decisions IMHO.

God Bless America

via Rob Sheridan

Katawa Crash flash game

Normally I don’t write about games unless they have really bugged or impressed me. In this case game send me rotfling hard. If you haven’t played at Katawa Shoujo and don’t know some things about manga/anime/fighting games You’ll probably wont understand this game

For everyone else: Enjoy.

Katawa Crash

want some mood?

Do you want some nice mood?
click
HERE HERE and HERE
Do not close.

Older posts:

28 Dec 2011: Website Jekyllization - Full control blogging
27 Dec 2011: Come eseguire unthetered jailbreak di iOS 5.0.1
25 Dec 2011: portal x-mas
20 Dec 2011: Afterfall - first thoughts
07 Oct 2011: My Riot - Ból przemija: lyrics translation/traduzione testo
06 May 2011: Ebay hunting.
30 Mar 2011: Battle: Los Angeles ::Updated::
11 Mar 2011: Import pdf in Gimp under windows
28 Feb 2011: Quote #0018
23 Nov 2010: Writing on web
11 Oct 2010: Quote #0017
11 Oct 2010: Quote #0016
13 Sep 2010: confusion
10 Sep 2010: d-helix
10 Sep 2010: coin
09 Sep 2010: Throbbing Gristle - Persuasion
12 May 2010: Sweet Noise - N.U.E.R.H.A lyrics translation.
07 May 2010: Sweet Noise - Stone lyrics
22 Mar 2010: quote #0015
22 Mar 2010: Opera + CSS3?
21 Mar 2010: Covering
19 Mar 2010: PSP video conversion
09 Mar 2010: quote #0014
28 Feb 2010: Milano Trippin
22 Feb 2010: .kaozz
12 Feb 2010: quote #0013
12 Feb 2010: quote #0012
12 Feb 2010: quote #0011
12 Feb 2010: quote #0010
12 Feb 2010: quote #0009
12 Feb 2010: quote #0008
12 Feb 2010: quote #0007
12 Feb 2010: quote #0006
12 Feb 2010: Locus OS
11 Feb 2010: Ubunchu
10 Feb 2010: quote #0005
01 Feb 2010: quote #0004
28 Jan 2010: The Dandelion Girls - R. T. S. Lowell
28 Jan 2010: "The Dandelion Girl" - Robert F. Young
27 Jan 2010: quote #0003
14 Dec 2009: Życie...
25 Nov 2009: KMFDM - Давай [Davai]
16 Nov 2009: Why Me - Skold vs KMFDM
22 Oct 2009: Rammstein - Liebe ist für alle da
26 Sep 2009: quote #0001
25 Sep 2009: UvesaFb + widescreen howto
26 Jun 2009: Quote #0000
25 Jun 2009: New 'buntu
24 Jun 2009: (Ero)game over man, game over!