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.
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 ]
luglio 5th, 2024 - 07:51
I read this piece of writing fully about the comparison of latest and earlier technologies, it’s awesome article.
luglio 5th, 2024 - 07:52
Your Family Will Thank You For Having This Car Boot Mobility Scooter arlennizo.top
luglio 5th, 2024 - 07:53
20 Trailblazers Leading The Way In Fela Settlements Fela Railroad
luglio 5th, 2024 - 07:58
Fantastic goods from you, man. I’ve understand your stuff previous to and you’re just too fantastic.
I really like what you’ve acquired here, really like what you’re saying and the way in which you say
it. You make it enjoyable and you still take care of to keep it smart.
I can not wait to read far more from you. This is actually
a tremendous web site.
luglio 5th, 2024 - 08:00
Write more, thats all I have to say. Literally, it seems as though you
relied on the video to make your point. You clearly know what youre talking about, why throw away your intelligence on just
posting videos to your blog when you could be giving us something informative to read?
Also visit my website … phenq weight loss
luglio 5th, 2024 - 08:04
The 9 Things Your Parents Taught You About Upvc
Window Repair Near Me window repair near Me
luglio 5th, 2024 - 08:05
Five Things You’re Not Sure About About Bunk Bed In My
Area eddafay
luglio 5th, 2024 - 08:06
Hi there, I discovered your blog by means of Google even as looking for a related matter, your web
site got here up, it looks good. I have bookmarked it in my google bookmarks.
Hi there, simply turned into aware of your weblog via Google, and found that it is really informative.
I am gonna be careful for brussels. I’ll appreciate should you continue this in future.
Many other folks might be benefited out of your writing.
Cheers!
luglio 5th, 2024 - 08:06
So , You’ve Bought Motor Vehicle Attorneys … Now What?
Legal
luglio 5th, 2024 - 08:09
Thank you for another magnificent article. The place else may just anybody get that kind
of info in such a perfect method of writing?
I’ve a presentation next week, and I am on the search for such information.
luglio 5th, 2024 - 08:11
11 Creative Ways To Write About Lightweight Single Stroller
compact Single Stroller
luglio 5th, 2024 - 08:21
Great post.
luglio 5th, 2024 - 08:23
Thanks a lot! Loads of stuff!
Feel free to visit my site … https://Dhforum.pink/wiki/index.php/Listen_To_Your_Prospects._They_Will_Inform_You_All_About_%EC%B6%9C%EC%9E%A5%EC%95%88%EB%A7%88
luglio 5th, 2024 - 08:23
20 Best Tweets Of All Time About Online Shopping Sites Uk online shopping sites With free international shipping
luglio 5th, 2024 - 08:28
Hi there it’s me, I am also visiting this website daily, this web page
is actually fastidious and the visitors are really sharing
pleasant thoughts.
luglio 5th, 2024 - 08:32
Soy Mason, tengo 23 años y soy de Huelma provincia de Jaén. En mi tiempo libre, disfruto de la danza, y tengo dos hijos, Pablo de 6 años y Martina de 3. ¡Gracias!
Mi página; https://Noteswiki.net/index.php?title=Benutzer:LeahNix0996
luglio 5th, 2024 - 08:34
An asbestos lawyer can help victims file a lawsuit against the business
that exposed them to asbestos Attorney.
The filing of a lawsuit may allow victims to receive compensation for medical expenses, lost wages
and other damages.
luglio 5th, 2024 - 08:34
10 Truck Accident Attorneys Tips All Experts Recommend Truck Accident Lawyers
luglio 5th, 2024 - 08:36
The Most Sour Advice We’ve Ever Been Given About Upvc Window Repairs Upvc Window Repairs Near Me
(Https://Www.Firmware.Co.Kr/Bbs/Board.Php?Bo_Table=Free&Wr_Id=246472)
luglio 5th, 2024 - 08:41
Hello there! This blog post couldn’t be written any better!
Looking through this post reminds me of my previous roommate!
He constantly kept preaching about this. I am going to
send this post to him. Fairly certain he’s going to have a very good read.
Many thanks for sharing!
luglio 5th, 2024 - 08:41
A The Complete Guide To Motor Vehicle Settlement From
Beginning To End Motor vehicle accident lawyer
luglio 5th, 2024 - 08:43
I know this site offers quality based content and other
data, is there any other web site which offers these stuff in quality?
luglio 5th, 2024 - 08:49
You actually make it seem so easy with your presentation but I find this
matter to be really something that I think I would never understand.
It seems too complex and extremely broad for me.
I am looking forward for your next post, I’ll try to get the hang of it!
luglio 5th, 2024 - 08:54
Hi, I do think this is a great site. I stumbledupon it
I am going to revisit yet again since i have bookmarked it.
Money and freedom is the greatest way to change, may you be rich and continue to help others.
luglio 5th, 2024 - 08:56
This piece of writing is actually a pleasant one it assists new internet visitors, who are wishing in favor of blogging.
luglio 5th, 2024 - 08:57
Hi would you mind sharing which blog platform you’re working
with? I’m going to start my own blog soon but I’m having a hard time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
The reason I ask is because your layout seems
different then most blogs and I’m looking for something unique.
P.S Apologies for being off-topic but I had to ask!
luglio 5th, 2024 - 09:02
5 Clarifications On Adult Female Adhd Symptoms Attention deficit hyperactivity disorder adhd symptoms
luglio 5th, 2024 - 09:13
Ahaa, its nice dialogue about this paragraph at
this place at this website, I have read all that, so now me also commenting at this place.
luglio 5th, 2024 - 09:20
Window Glass Repair Near Me Tools To Help You Manage Your Everyday Life window repairs – Alda,
luglio 5th, 2024 - 09:25
I do not even understand how I finished up here, but I assumed this put up was great.
I don’t recognise who you might be but definitely you are going to a well-known blogger in the event you aren’t already.
Cheers!
luglio 5th, 2024 - 09:32
I simply couldn’t depart your web site prior to suggesting that I really enjoyed the standard information an individual provide on your visitors?
Is gonna be again regularly in order to check up on new posts
luglio 5th, 2024 - 09:42
The Reasons You’re Not Successing At Upvc Door Handles Replace upvc door panel
luglio 5th, 2024 - 09:48
Hi there would you mind letting me know which webhost you’re using?
I’ve loaded your blog in 3 different browsers and I must
say this blog loads a lot quicker then most.
Can you recommend a good hosting provider at a reasonable price?
Kudos, I appreciate it!
luglio 5th, 2024 - 09:48
10 Of The Top Facebook Pages That I’ve Ever Seen. Window Glass Replacement Window glass replacement near me
luglio 5th, 2024 - 09:59
After a long battle and legal battle, Asbestos litigation-related measures
led to the partial ban on the production processing, distribution, and distribution of the majority of asbestos-containing products.
This ban is still in effect.
luglio 5th, 2024 - 10:00
Avoid Making This Fatal Mistake With Your Repair Upvc
Windows repaired
luglio 5th, 2024 - 10:01
I am regular reader, how are you everybody? This post posted
at this website is actually fastidious.
luglio 5th, 2024 - 10:11
What Experts In The Field Want You To Know medical malpractice
lawsuits, http://Www.regione.umbria.it,
luglio 5th, 2024 - 10:12
20 Questions You Should Always Have To Ask About Single Bunk Beds With
Mattresses Before You Buy Single Bunk Beds With Mattresses Bunk Beds Small Single
(Hns.Tium.Co.Kr)
luglio 5th, 2024 - 10:12
Do You Know How To Explain Asbestos Disease Mesothelioma To
Your Mom cassylawn
luglio 5th, 2024 - 10:22
Where Do You Think Window.Replacement Near Me One Year From This Year?
Window And Door Replacement (95.viromin.com)
luglio 5th, 2024 - 10:25
Waters Kraus & Paul’s mesothelioma lawyers hold asbestos-related companies
accountable for exposing people to Asbestos claim and
asbestos-related diseases.
luglio 5th, 2024 - 10:26
Incredible story there. What occurred after? Take care!
luglio 5th, 2024 - 10:26
20 Up-And-Comers To Watch In The Truck Accident Attorneys
For Hire Industry truck accident Lawsuit
luglio 5th, 2024 - 10:30
Why All The Fuss Over Veterans Disability Case?
attorneys
luglio 5th, 2024 - 10:31
I go to see each day a few web sites and websites to read content,
except this weblog gives quality based writing.
luglio 5th, 2024 - 10:35
Great blog here! Additionally your web site so much up very fast!
What host are you the use of? Can I am getting your
affiliate link for your host? I desire my site loaded
up as quickly as yours lol
My blog: what is tonic greens
luglio 5th, 2024 - 10:40
Good day! This is my first visit to your blog! We are a group of volunteers and starting a new initiative in a community in the same niche. Your blog provided us beneficial information to work on. You have done a marvellous job!
luglio 5th, 2024 - 10:42
Hi there! Do you know if they make any plugins to safeguard against
hackers? I’m kinda paranoid about losing everything I’ve worked hard on. Any tips?
luglio 5th, 2024 - 10:43
5 Killer Quora Answers To Online Home Shop Uk Discount Code Online home shop uk discount code