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

18ott/081091

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 (1091) Trackback (0)
  1. When someone writes an post he/she keeps the image of a user in his/her brain that how a user can be
    aware of it. Thus that’s why this paragraph is great. Thanks!

  2. Hi this is somewhat of off topic but I was wondering if blogs use WYSIWYG
    editors or if you have to manually code with HTML. I’m starting a blog
    soon but have no coding experience so I wanted to get advice from someone
    with experience. Any help would be greatly appreciated!

  3. My coder is trying to convince me to move to .net from PHP.
    I have always disliked the idea because of the costs.
    But he’s tryiong none the less. I’ve been using Movable-type on a variety of websites for about a year and am nervous about switching to another platform.

    I have heard fantastic things about blogengine.net.
    Is there a way I can import all my wordpress posts into
    it? Any kind of help would be greatly appreciated!

  4. Excellent pieces. Keeep writing such kind of information on your blog.
    Im rewally impressed by your blog.
    Hi there, You’ve dne an excellent job. I will certainly digg it and in my view recommend to
    my friends. I’m sure they’ll be bnefited from this site.

    Build muscle homepage pump muscle for men

  5. If you desire to increase your familiarity only keep visiting
    this web site and be updated with the hottest news posted here.

  6. My brother suggested I may like this blog. He was
    entirely right. This post truly made my day. You cann’t imagine simply how so much time I
    had spent for this information! Thank you!

  7. I am actually delighted to glance at this web site posts which consists of plenty of helpful facts, thanks for providing these kinds of data.

  8. Wow! In the end I got a website from where I be able
    to truly take useful information regarding my study and knowledge.

  9. excellent publish, very informative. I’m
    wondering why the other specialists of this sector don’t realize this.

    You must proceed your writing. I am confident, you’ve a huge readers’ base
    already!

  10. obviously like your website however you have to take a look at
    the spelling on quite a few of your posts. Many of them are rife with spelling problems
    and I in finding it very bothersome to tell the truth on the other hand I will surely
    come back again.

  11. Nice weblog right here! Also your website quite a bit up very fast!
    What host are you the use of? Can I am getting
    your affiliate hyperlink to your host? I want my website loaded up as fast as yours lol.

  12. “Venture Capital Venture” is an business term that numerous entrepreneurs will latch onto with no really understanding the genuine sope of what it suggests. EXOR’s goal is to beat the MSCI World Index in Euros inn the long term by way of the increase in its Net Asset Valuhe (NAV). As of Tuesday’s close, its stake was worth just about $12 billion, creating Didi an unprofitable trade if a single accounts for the time worth of income. They’ll then nnot only add value in basic but will unlock the worth of the equity, a specific skill which a lot of owners don’t buut have, for the reason that they haven’t required to. Taking a important step forward with a small business usuually calls for some sort off investment and in general there arre two recognised economic routes. Many other monetary routes are closed off in the present climate and non financial adjustments, while potentially optimistic, will not have the very same impact. Cap table, financial liability (loans or encumbrances), so that they may realize the terms in which other people invested and what outstanding liabilities the corporation may possibly be topicc to that could impaact money flow annd income redemptions. Total Investment is the total amount of capital the VC fund has invested. The laqrger thhe fund, the bigger the standard amount of investment per corporation, with rights for follo on investment.

  13. Hello.This article was really fascinating, especially because I
    was investigating for thoughts on this issue last Monday.

  14. This web site certainly has all of the information and facts
    I needed about this subject and didn’t know who to
    ask.

  15. Hello, always i used to check webpage posts here early
    in the morning, since i like to learn more and more.

  16. Hello friends, its enormous piece of writing regarding tutoringand completely defined, keep it up
    all the time.

  17. Hello everyone, it’s my first visit at this web page, and paragraph is
    really fruitful in support of me, keep up posting
    these posts.

  18. If you want to increase your knowledge only keep visiting this website and
    be updated with the most up-to-date news posted here.

  19. I don’t usually comment but I gotta tell appreciate it for the post on this perfect one :D .

    My website help desk applications (Http://forum.intercolor.ru/?page_name=profile_view&uid=65086)

  20. I think everything posted was actually very logical.
    However, what about this? suppose you were to create
    a killer post title? I am not saying your information is not solid.,
    however what if you added a post title to possibly grab people’s
    attention? I mean Touchpad: scorrimento a due dita come sul Mac, su qualsiasi portatile
    Linux « CoM – Il Blog di Carlo Becchi is a little boring.
    You ought to glance at Yahoo’s front page and see how they create article titles to grab viewers to open the links.

    You might add a related video or a picture or two to get people excited about everything’ve got to say.
    In my opinion, it might make your blog a little livelier.

  21. Hello there! Quick question that’s completely
    off topic. Do you know how to make your site mobile
    friendly? My site looks weird when viewing
    from my iphone 4. I’m trying to find a theme or plugin that might be able to correct this issue.
    If you have any suggestions, please share. Thanks!

  22. hello!,I love your writing very a lot! percentage we
    keep in touch more about your post on AOL? I need an expert in this space to solve my
    problem. Maybe that is you! Taking a look ahead
    to look you.

  23. An intriguing discussion is worth comment.

    I believe that you ought to publish more on this issue, it may not be a taboo
    subject but typically people don’t talk about these topics.

    To the next! All the best!!

  24. Marvelous, what a webpage it is! This website provides helpful facts to us, keep it up.

  25. Then, loosen up and let the massage work its wonders.

    You’re the one putting within the work. Nectar’s site says many forms of bed frames and foundations can work with its reminiscence foam mattress, including adjustable bases, box springs, divan bases,
    conventional frames and platforms. Tware says the hoodie is ideal for de-stressing on the workplace and even on the go.

    For the review unit, Tware equipped an Android phone with CyanogenMod installed.
    The design crew stripped back a variety of old features-except within the reception area,
    where they lined the again wall and ceiling with felt. Dubbeldam used “threads of communication” as the overarching theme, stringing colourful yarn between rooms and upholstering the entranceway walls in rows of
    felt. Slack worked with Dubbeldam Architecture and Design to create an area that
    performs up the platform’s pro-chat purpose, encourages productiveness and-most significantly-has room for their
    rapidly increasing employees. The mood is saved fashionable with vibrantly coloured nooks and streamlined lighting, whereas cozy lounges and a employees photograph wall create
    a homey atmosphere-all with out a single Ping-Pong desk in sight.

  26. But what if you can get a massage while you labored? Another
    issue to contemplate is where you plan on using
    the massage gun. The 1080p camera has a wide 120-diploma area of view,
    streams stay HD video proper to your cellphone, and even lets you take photos or file
    video utilizing easy hand gestures (i.e. “paper” to start out recording, “scissors” to take an image).

    Available in a range of colours, including black, white,
    crimson, desert rose, and a PSG-themed machine, the gun is simple and simple to operate,
    with a single energy button powering the gadget on, and permitting customers to toggle between the three
    velocity settings. A really successful approach to inquire about
    quantum results in gravitational settings has been the
    use of quantum area concept in curved backgrounds.
    It receives bog normal reward for being “dark” or
    “gritty,” but the Empire Strikes Back is simply a tight,
    properly-structured flick that makes nice use of its iconic character set.

  27. Now could your hope and healing lead me shortly to a place of restoration. This collection of
    Scriptures on healing will present encouragement, power, and consolation as you
    focus on God’s healing power. My personal perception is that
    talents should be either fun, or be of equal power throughout all the tier and
    each be helpful. Each questionnaire variable was reduce to 2 teams, low (0)
    and excessive (1), to produce two teams as equal
    size as potential in size. For a given respondent and affective state,
    the threshold is obtained by utilizing commonplace equal probability discretization cite (Witten et
    al., 2016). This respondent-conscious discretization is done for the questionnaire variables,
    in addition to software repository variables when they’re used
    as consequence variables. Participants have been also given the choice to view the dataset in its entirety via a
    web-based hyperlink to a spreadsheet. Conversely, the accelerations measured earlier than the intervention are used because the ’anomaly’, given the excessive degradation of the bridge’s construction.

  28. certainly much like your web-site nevertheless you must check the punctuation in a number of the articles you write.. experienced SMM Some of options are rife by using punctuation troubles so i think it is very frustrating to share with reality on the flip side We’ll definitely keep coming back just as before.

  29. However, since the main intention of this analysis is to conduct a preliminary study
    on the use of an accelerometric sensor-based system to watch fetal
    and maternal health in the house, the impact of maternal movements on the sensor information was also observed.
    An analogous strategy was considered in this research to
    guage the respiration patterns of pregnant mothers to evaluate their health.
    Following the fabrication of the system, a number of preliminary assessments were conducted on the system
    to establish its efficiency in different environmental circumstances in addition to how it responds to
    different behaviours of pregnant mothers. Gravitational
    wave parameter inference pipelines function on data containing unknown sources on distributed hardware with unreliable performance.
    The subject was advised to alter into different positions and the tri-axial accelerometric information have
    been noticed. Furthermore, the effect of the place of the topic
    on the readings was observed by taking reading while the subject was in several positions such
    as the Fowler’s place, Supine position, and lateral recumbent position.
    Initially, the topic was advised to wear the belt and
    to remain seated in the Fowler’s position for an prolonged time and the tri-axial accelerometric information had
    been recorded (see Figure 6). It may be noticed that the subject’s
    respiratory pattern will also be observed very clearly from the accelerometric
    indicators.

  30. The particular attention is also given to the effect of the hidden criticality at which the disparity between the healing lengths is most pronounced.
    2006) The doping impact by oxygen is reported to be negligible within the absence of
    mild.Kuroda and Flood (1961); Ogawa et al. Furthermore,
    this ratio might be altered by doping in superconductors Lee2006 ,
    changing the topology of the Fermi surface Cappelluti2007 , engineering the
    interface of the system Peng2014 , making use of the pressure Tissen2013 ; Suderow2005 , and changing the characteristic
    dimension of nanoscale superconductors via the
    quantum-measurement results Blatt1963 ; Shanenko2006a ; Guan2010 ;
    Chen2010 ; Shanenko2008 ; Chen2012a . POSTSUBSCRIPT and the presence of
    the Friedel-like oscillations can under no circumstances distort
    our outcomes. 1, the period of such oscillations
    is the same for each contributing bands. POSTSUBSCRIPT
    the Debye frequency assumed the same for each contributing bands.
    POSTSUBSCRIPT for a similar two values of the interband coupling.

  31. Please let me know if you’relooking for a article writer foor your site.

    You have some really great articles andd I think I would
    be a good asset. If youu ever want to take some of the
    load off, I’d absolutely love to write some content for your
    blog in exchange foor a link back tto mine.

    Please shoot me an e-mail if interested. Many thanks!

    webpage

    House of fuun the worst slot machine, youu probably have mayor problems thery don’t
    need to find out about it . Typically the preferred conventional actions
    to contemplate listed under aree roulette and slots.
    Noow that we’re all on the identical page and speaking the ame language, it’s
    time we went by means of the main varietiss of bonuses obtainable at most on-line casinos.

  32. Bij veel bedrijven kan je al met Bitcoins
    betalen.

  33. I pay a visit daily some web pages and websites to read content, however this weblog gives feature based articles.

  34. Quality posts is the main to be a focus for the visitors to pay a
    visit the site, that’s what this site is providing.

  35. I believe that is among the most important information for me.
    And i am glad studying your article. But should remark on few basic issues, The website taste is perfect,
    the articles is actually great : D. Excellent task,
    cheers

  36. Marvelous, what a website it is! This web site gives useful
    facts to us, keep it up.

  37. If you are going for finest contents like me, simply pay a visit this
    website daily for the reason that it provides feature contents, thanks

  38. Hurrah, that’s what I was exploring for, what a data! existing here
    at this weblog, thanks admin of this site.

  39. okay and thank you for visiting online casino agents for Indonesia.
    Here we are here to pay for entry for fans of sbobet casino who desire to connect the international agent site
    Promosbobet.

    The products offered are definitely diverse and are entirely
    the best choice. Derived from providers that have credibility and have been proven to have the
    best predicate in serving their customers. Providers later Sbobet, Maxbet and many more.

    As the best online casino and soccer gambling site in Indonesia.

    We provide maximum bolster in the same way as customer sustain that works online 24 full hours all day.
    in view of that members can work whenever and wherever without fearing to twist the possibility of difficulties
    or confusion.

  40. What’s up to all, it’s really a good for me to visit this website, it includes
    helpful Information.


Lascia un commento


Ancora nessun trackback.

Rss Feed Tweeter button Facebook button Youtube button