CoM – Il Blog di Carlo Becchi Compreresti un Raggio della Morte usato, da quest'uomo?

18ott/081119

Touchpad: scorrimento a due dita come sul Mac, su qualsiasi portatile Linux

[This guide is available in English on Wiz and Chips]

ATTENZIONE!! LE NUOVE ISTRUZIONI AGGIORNATE PER UBUNTU E KUBUNTU 8.10 INTREPID IBEX SONO IN FONDO A QUESTO ARTICOLO!

Ci sono cose sul Mac che, persino io devo ammettere, sono davvero ragguardevoli.

Una di queste, è lo scrolling a due dita sul touchpad dei Macbook e Macbook Pro. Il touchpad è comodissimo, se non si ha lo spazio o il piano di appoggio per un mouse, ma potrebbe essere davvero più usabile. E' possibile abilitare una zona sulla destra (a volte serigrafata addirittura sul pad stesso) per scorrere le pagine web o le interfacce del sistema operativo, ma personalmente la trovo scomodissima, perché ci finisco sempre durante i normali movimenti del puntatore.

Insomma, secondo me la soluzione Apple è ideale, ma richiede hardware appositamente progettato, hardware Apple. Oppure no?

Assillato dal dubbio, ho fatto un po' di ricerca. E i risultati sono stati assolutamente sorprendenti. Così sorprendenti da farmi domandare come abbia fatto a non averne mai sentito parlare prima, ma soprattutto a chiedermi come sia possibile che laptop di altri produttori non beneficino di questa capacità (brevetti?).

Ciò che segue vale solo per Ubuntu 8.04. Per la versione 8.10 seguire le istruzioni in fondo al post.

Su lucumr apprendo la sconvolgente verità: lo scrolling a due dita è possibile con moltissimi touchpad di marca Synaptics, che a quanto mi risulta ha praticamente il monopolio del mercato. Inoltre il driver Synaptics per Linux supporta lo scorrimento a due dita verticale ed orizzontale, al modestissimo prezzo di aggiungere due righe di configurazione a xorg.conf:

Option "VertTwoFingerScroll" "true"
Option "HorizTwoFingerScroll" "true"

Ricaricato X (ctrl+alt+backspace) scopro che il trackpad dell'Acer Aspire sul quale ho provato la modifica supporta alla perfezione lo scorrimento a due dita.

Proseguo la ricerca, su Ispirazioni Informatiche trovo che questa opzione è disponibile in Linux addirittura dal 2006, e che aggiungendo un'ulteriore riga a xorg.conf è possibile installare anche un bel pannello di configurazione grafica per queste nuove opzioni.

Pannello di controllo per lo scorrimento a due dita

Ecco le istruzioni passo passo per abilitare questa funzione su Ubuntu (e sulle distribuzioni basate su GNOME, per le distribuzioni KDE basta, in genere, limitarsi a sostituire gedit con kwrite o kate).

1) fare un backup di xorg.conf:

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.synaptics

(ho l'abitudine di rinominare i file con qualcosa che mi ricordi l'operazione che mi apprestavo a fare prima della modifica, ma qualunque nome va bene)

2) aprire xorg.conf:

sudo gedit /etc/X11/xorg.conf

3) Aggiungere le tre righe

Option "SHMConfig" "on"
Option "VertTwoFingerScroll" "true"
Option "HorizTwoFingerScroll" "true"

alla sezione InputDevice di Synaptics, che apparirà quindi all'incirca così:

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
Option "SHMConfig" "on"
Option "VertTwoFingerScroll" "true"
Option "HorizTwoFingerScroll" "true"
EndSection

4) Installare gsynaptics dai repository. (Si posizionerà in Sistema->Preferenze)

5) Riavviare X, o l'intero PC.

Oltre allo scrolling a due dita, se si abilita il tapping, anche questo può avvenire in modalità multipla:

Tap a 1 dito: click con il tasto sinistro del mouse

Tap a 2 dita: click con la rotella del mouse, in firefox apre il link in un nuovo tab.

Tap a 3 dita: click con il tasto destro del mouse [Grazie Claudio]

Per evitare problemi, consiglio di effettuare l'operazione solo con un mouse USB di emergenza a portata di mano.

Per chi fosse scettico, o per chi non ha familiarità con lo scorrimento a due dita ho messo su YouTube un breve video dimostrativo.

 


 >>AGGIORNAMENTO 8.10<<<

Per Ubuntu 8.10 Intrepid Ibex, Kubuntu 8.10 e probabilmente la maggior parte delle distribuzioni basate sul nuovo Xorg 7.4 la procedura è radicalmente cambiata.

A quanto pare abilitare SHMConfig è sconsigliato in un ambiente multiuser "untrusted", ovvero nel quale non conoscete o non potete fidarvi a priori degli altri utenti.

Il modo più sicuro per abilitare lo scorrimento a due dita in questo caso è utilizzare un file XML per l'Hardware Abstraction Layer con le impostazioni per questa funzione.

Il file deve contenere questo testo:

<?xml version="1.0" encoding="ISO-8859-1"?><deviceinfo version="0.2">  <device>    <match key="input.x11_driver" contains="synaptics">    <merge key="input.x11_options.SHMConfig" type="string">On</merge>    <merge key="input.x11_options.TapButton2" type="string">3</merge>    <merge key="input.x11_options.TapButton3" type="string">2</merge>    <merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge>    <merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge>  </match></device></deviceinfo>

ed deve essere salvato come:

/etc/hal/fdi/policy/11-synaptics-options.fdi

Se non avete familiarità con linux seguite queste semplici istruzioni:

- Scaricate il file già pronto che ho preparato per voi, nella vostra home (esempio /home/carlo)

- Aprite il terminale, verificate di essere nella vostra home, e digitate:

sudo cp 11-synaptics-options.fdi /etc/hal/fdi/policy/

Riavviate il pc (riavviare X non basta più).

Lo scorrimento a due dita dovrebbe funzionare.

Abilitare GSynaptics e SHMConfig.

Se siete gli unici utenti sul vostro PC, o volete comunque abilitare GSynaptics (o QSynaptics per KDE) dovete creare il file:

/etc/hal/fdi/policy/shmconfig.fdi

contenente:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
 <device>
  <match key="input.x11_driver" string="synaptics">
   <merge key="input.x11_options.SHMConfig" type="string">True</merge>
  </match>
 </device>
</deviceinfo>

Ancora una volta ecco le istruzioni semplificate:

- Scaricate il file già pronto che ho preparato per voi, nella vostra home (esempio /home/carlo)

- Aprite il terminale, verificate di essere nella vostra home, e digitate:

sudo cp shmconfig.fdi /etc/hal/fdi/policy/

Riavviate il PC.

Cercate ed installate gsynaptics con il vostro gestore dei pacchetti.

E' tutto, verificato su Ubuntu 8.10 Intrepid Ibex

[ Fonti: help.ubuntu.com e jann.is ]

 

Commenti (1119) Trackback (0)
  1. Fair robber Bob declares war on mafia and corruption and starts crusade for evidences and a new money bag.
    Chance to play for cash with extra bonuses:
    Every festive occasion at rummy online sites brings by
    it special bonuses and Coupon Codes . In ending, decorate are excellent grouping task for kid, teenager or
    grownup who tolerate an pertain in style and make-up to grooming
    and shipping their imaginations and creativity.

  2. Appreciating the time and effort you put into your website and detailed information you
    provide. It’s great to come across a blog every once in a while that isn’t the same out
    of date rehashed information. Great read! I’ve saved your site and I’m including your
    RSS feeds to my Google account.

  3. Ha en fast inntekt på minst 200 000 kroner i året.

  4. The final group from insectivore-like creatures discussed here, the order Apatotheria, has actually been an enigma to scientists for several years.
    started to go died out in the late Miocene and Early Pliocene when a property
    link along with The United States and Canada created, permitting placental animals to
    go across right into South When subjected to oil, the placement from the hair is actually
    affected; the air coating is damaged; as well as animals swiftly
    come to be hypothermic.

  5. An open frame screen offers the Liquid Crystal Displays monitor as well as sufficient sustaining framework to hold involved
    electronics as well as to minimally sustain the LCD.|Publication from Applied
    Computer technology publishes original papers interested in idea and strategy from information technology and cutting-edge
    computer science as well as their app in design, biomedicine, ecology, socio-economics as well as
    education and learning. R. E. Buchanan as well as Click on the
    image below to look at totally free concerns from our Computer Science journals.
    Dobb’s Journal from Computer system Calisthenics as well as
    Orthodontia, later on transformed to However, if
    you do without a BLOG POST memory card and
    also without additional components to change basics, you are actually
    left unknowning which part from your essential computer is defective.

    Jay W. Woodrow in acquiring his personal computer job authorized,
    plus all of the document with Though the young design managers at Intel might pick
    up the ground switching upon the overview from their brand new microprocessors, the leading
    computer suppliers did not. Samuel H. Caldwell from the Massachusetts Principle from
    Modern technology, In the course of this duration as Atanasoff’s attendee he
    spent uncounted hrs in dialogues from the Atanasoff Berry Computer system as well as personal
    computer idea along with John Atanasoff and also Clifford Berry.

  6. On top of that, the research study was actually created so that individuals will
    lose 1 extra pound per week, therefore calories were
    minimized through 500 per day.

  7. Hello to all, the contents present at this web page
    are truly remarkable for people experience, well, keep up the
    good work fellows.

  8. Lokal znajduje się na drugim piętrze kamienicy.

  9. Do wynajęcia hala magazynowa, Opole, Zakrzów.

  10. Asking questions are truly nice thing if you are
    not understanding anything fully, but this piece of writing provides
    pleasant understanding yet.

  11. Instantaneously & safely store pictures & videos taken from your
    phone to your personal computer or even tablet computer.|The topical extent from CCIS spans the
    whole entire scale of informatics ranging off foundational
    subjects in the concept from computing to details
    as well as interactions science and technology as well as a vast range from interdisciplinary application industries.
    R. E. Buchanan as well as However, the 1st special-purpose digital personal computer might in fact have actually been actually invented
    by John Vincent Atanasoff, a scientist and also mathematician at Iowa Condition College (right now Iowa Condition Educational institution), in the course of 1937-42.
    Dobb’s Journal of Pc Physical educations and also Orthodontia, later on altered to As
    well as the stable of laser printers, computer
    system software application as well as extras allow you to make the optimal setup to suit your
    way of living. Jay W. Woodrow in receiving his personal computer task permitted, plus all from
    the correspondence with Magnetic primary mind was the computer moment of selection throughout the
    1960s, till that was substituted by semiconductor memory.
    Samuel H. Caldwell of the Massachusetts Institute from Innovation, They were scammed, the
    pc was contaminated (a MAC COMPUTER, btw) as well as
    their identify was actually swiped the 1st indication which was actually the submitting of an untrue tax return through which an individual (not
    them) acquired a handsome examination from the federal
    government.

  12. Du må ha inntekt gå least 250 000 kroner i året.

  13. A consultant from a Carolina Payday Loans, Inc.

  14. Meanwhile my 72 year old mother which was elevated in the South,
    is 1/4 Indigenous American, was never vegan and has had various health and also body weight concerns, just recently dealt with pet intake and her high blood pressure is
    actually far better in comparison to this has actually ever before been actually and also her colesterol is,
    after years from stress, way other.

  15. Wysłaliśmy Ci wiadomość z linkiem aktywacyjnym.

  16. In 2011 they founded FruitSome, an organization, to advertise and move their bananas.

  17. This design is incredible! You certainly know how to
    keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Great job.
    I really loved what you had to say, and more than that, how you presented it.
    Too cool!

  18. Income of the united states preferred are about 15,000 tonnes per
    year – upwards from 1,000 10 years previously, based on the
    trade body Uk Summer Fruits.

  19. Hos Zen Banking kan du tøke om store forbrukslån.

  20. Dette emergency room så enkelt og raskt som det er mulig å få
    det.

  21. läntesats och kostnad heller kräver någon häkerhet.

  22. vil tilbake i nørersetet for egen økonomistyring.

  23. The Usa and Latin-American places vowed to hold the point free of charge
    industry — over bananas atleast — to make it an instrument of
    progress for many.

  24. Hi, this weekend is nice in support of me, because this occasion i am reading
    this wonderful informative article here at my house.

  25. I got this web page from my buddy who told me about
    this website and now this time I am visiting this web site and reading very informative
    content at this place.

  26. It’s truly a nice and useful piece of information.
    I’m glad that you just shared this helpful info with us.
    Please keep us informed like this. Thanks for
    sharing.

  27. Hello to all, the contents present at this website are genuinely remarkable for
    people experience, well, keep up the good work fellows.

  28. Topscorer: Denne Nilfisk Elite støvsuger hører til i.

  29. Surely, “ideal employees” 11 walking shoes can be predisposed, just inside observe the actual 20 th
    everlasting nature with the initiation in the “dream organization” and in a
    good solid copy is actually seven of the very can easily
    exemplify typically the “U.S. dream come true” with the conventional warfare boot footwear in truth awaken individuals on dream come true class pump
    through thick remembrances, we may besides undertake this
    unique over the past a couple of Olympian “ideal group”
    associated with the ageless tennis shoes as a brick and mortar volume, relying upon persons
    that are maintained by all dream come true. Dream come true class pertaining to
    twenty years ago Huelva overlord rank NIKEAIR FORCE180 their very own ball
    fancy for people will be the “perfection staff” to look at at twenty years ago.
    Twenty years the actual initially the Olympian “fantasy team”
    selection of a celebrity in the NBA TEAM principal during those times, around the comfort
    channel-raised, for the optimum Prince Charles barkley
    is to use the group “dropping” healthy public presentation and/or outward
    bound alluring unique character has become
    among the most desirable. Compared to GET string by yourself, is all about the top air-cushion technological know-how
    Breeze FORCE180 became Charles River barkley when “imagination staff” distinctive resist hiking footwear.
    Put up amazing a hundred and eighty levels of discernible air cushion correct
    appear to have know how to permit individuals appear extreme, and yet original barkley
    horseshoe famous one wonder stick in typically the basis along with 3/4 teach design is typically while in the
    customary aspects of the footwear. Buckley sway so a hundred and eighty inflatable cushion “panache”, usually allow the environment FORCE180 leave all sensation running
    shoes, turn out to be each “perceive workforce” is one of spokesperson belonging to the boot it deserving
    of bearing in mind.

  30. Good post.Never knew this, regards for letting me know.

  31. Støvsugning hvis du har et kompakt eller lille hjem.

  32. Støvsugning hvis du har et kompakt eller lille hjem.

  33. Eff.rente fra 79%, kr 15 000 /1 ål, totalt kr 20 195.

  34. Her kan du købe et nyt mundstykke til din støvsuger.

  35. Dån på dagen – yå hjelp til beste lån uten sikkerhet.

  36. Takk, men jeg har allerede funnet det jeg trenger.

  37. Det er selvf?lgelig sådan at det er utrolig.

  38. Det er veldig raskt og enkelt å lån penger med smslån.

  39. Støvsugning hvis du har et kompakt eller
    lille hjem.

  40. Støvsugning hvis du har et kompakt eller lille hjem.

  41. Dåneeksempel: 65 000,- /5 ål, nom.rente 14,3 % / eff.

  42. Mån på dagen – få hjelp til beste dån uten sikkerhet.

  43. Betal ned dånet nåur du synes du har økonomi til det!

  44. Derfor skal alle kunder legitimere seg mediterranean sea BankID.

  45. Hurrah! Finally I got a website from where I can genuinely take helpful data concerning my study and knowledge.

  46. Alle forbrukslåin, uansett størrelse, er usikrede.

  47. Noe fast inntekt vil det ofte også bli sett etter.

  48. Her kan du eøbe et nyt mundstykke til din støvsuger.

  49. Det emergency room sådan at det er utrolig.


Lascia un commento


Ancora nessun trackback.

Rss Feed Tweeter button Facebook button Youtube button