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 7th, 2024 - 16:26
My brother recommended I would possibly like this website.
He was entirely right. This publish actually made my day.
You can not imagine just howw much time I had spent forr this info!
Thanks!
바카라 안전 리스트
luglio 7th, 2024 - 16:28
The Reasons You’ll Want To Learn More About Misted Double Glazing Repairs Near Me replacement double glazing window – Russ
-
luglio 7th, 2024 - 16:38
I need to to thank you for this good read!! I definitely
loved every little bit of it. I’ve got you bookmarked to check out new things you post…
luglio 7th, 2024 - 16:39
Need Inspiration? Try Looking Up Semi Truck Lawyer semi Truck accident lawyers (https://www.elmswell.suffolk.sch.uk/)
luglio 7th, 2024 - 16:41
I am now not positive the place you are getting your info, however great topic.
I needs to spend some time learning more or working out more.
Thanks for great information I was looking for this info for my mission.
luglio 7th, 2024 - 16:41
Five Killer Quora Answers To Malpractice Attorneys malpractice attorneys (Precious)
luglio 7th, 2024 - 16:47
Ten 18 Wheeler Accident Lawyers That Really Change Your Life
18 wheeler accident lawyers
luglio 7th, 2024 - 16:47
five star custom poolshttps://swimmingpool80109.blogolize.com/getting-my-five-star-custom-pools-to-work-56216426
luglio 7th, 2024 - 16:48
It’s an amazing piece of writing designed for all the internet viewers; they will get advantage from it I am sure.
luglio 7th, 2024 - 16:53
20 Rising Stars To Watch In The Truck Accident Attorneys Industry truck accidents
luglio 7th, 2024 - 16:54
I’m amazed, I must say. Seldom do I come across a blog that’s equally educative and
interesting, and let me tell you, you’ve hit the nail on the head.
The issue is an issue that not enough men and women are speaking intelligently about.
Now i’m very happy that I found this in my search for something regarding this. http://sunshine2000.co.kr/bbs/board.php?bo_table=free&wr_id=50605
luglio 7th, 2024 - 17:01
Very good post. I am dealing with a few of these issues as well..
luglio 7th, 2024 - 17:08
Guide To Railroad Injuries Attorney: The Intermediate Guide On Railroad Injuries Attorney
railroad injuries Attorney
luglio 7th, 2024 - 17:10
What’s up everybody, here every one is sharing these know-how,
therefore it’s pleasant to read this webpage, and I used to visit this webpage all the time.
luglio 7th, 2024 - 17:20
The 9 Things Your Parents Teach You About Double Glazed Window Suppliers Near Me double glazed window suppliers near me
luglio 7th, 2024 - 17:21
I don’t even know how I ended up here, but I thought
this post was great. I don’t know who you are
but certainly you are going to a famous blogger if you are not already Cheers!
luglio 7th, 2024 - 17:22
The Sage Advice On Cerebral Palsy Claim From A Five-Year-Old Cerebral Palsy Lawyer
luglio 7th, 2024 - 17:23
See What Double Glazing Repairs Near Me Tricks The Celebs Are Using double glazing
repairs near me (Barbra)
luglio 7th, 2024 - 17:29
Do Not Buy Into These “Trends” About Coffee Beans Coffee Machine
Beans Machine
luglio 7th, 2024 - 17:33
I аm sure thiѕ pіece oof writing has toᥙched all the internet visitors, its really really good piece of writing on building up new
website.
luglio 7th, 2024 - 17:41
Hello, i read your blog occasionally and i own a similar one
and i was just wondering if you get a lot of spam comments?
If so how do you reduce it, any plugin or anything you
can suggest? I get so much lately it’s driving me mad so any support is
very much appreciated.
My site is lung clear pro legitimate
luglio 7th, 2024 - 17:42
成人影片
Very good write-up. I absolutely appreciate this website.
Keep it up!
luglio 7th, 2024 - 17:42
Do you have a spam problem on this blog; I also am a blogger, and I was curious about
your situation; many of us have created some nice procedures and we are looking to
trade techniques with other folks, be sure to shoot me an e-mail if interested.
luglio 7th, 2024 - 17:47
Everything You Need To Be Aware Of Fela Lawsuit Settlements fela Lawsuits (baitussalambd.com)
luglio 7th, 2024 - 17:47
Five Killer Quora Answers On ADHD Private Assessment UK adhd private assessment Uk
luglio 7th, 2024 - 17:52
Greetings! Very helpful advice in this particular post!
It’s the little changes that make the most important changes.
Many thanks for sharing!
luglio 7th, 2024 - 18:01
I could not resist commenting. Exceptionally well written!
luglio 7th, 2024 - 18:04
5 Killer Quora Answers To Workers Compensation Attorneys Workers
luglio 7th, 2024 - 18:04
What’s The Job Market For Double Glazing Repairs Near Me Professionals?
double glazing repairs near me
luglio 7th, 2024 - 18:05
ca do lua dao chinh la website cakhiat.tv
luglio 7th, 2024 - 18:06
Awesome post.
luglio 7th, 2024 - 18:10
You’ll Never Guess This Birth Injury Atlanta’s Secrets
birth injury atlanta
luglio 7th, 2024 - 18:10
Professionele verhuishulp h-transport
luglio 7th, 2024 - 18:17
Tһis piece օf writing іѕ іn fact a nice one it assists neᴡ
web viewers, wһo are wishing in favor of
blogging.
luglio 7th, 2024 - 18:20
I do trust all the ideas you’ve presented in your post.
They’re really convincing and can certainly work.
Nonetheless, the posts are too short for newbies. Could you please lengthen them
a little from subsequent time? Thank you for the post.
luglio 7th, 2024 - 18:21
Thank you for another informative site. The place else may I get that
type of information written in such a perfect
manner? I’ve a undertaking that I am just now running on, and I’ve been at
the glance out for such information. https://perpetualodyssey.net/index.php?title=User:Kristeen64W
luglio 7th, 2024 - 18:27
Why Private Psychology Assessment Is Fast Increasing To
Be The Most Popular Trend For 2023 how to Get psychiatric assessment
luglio 7th, 2024 - 18:29
Helpful info. Fortunate me I discovered your web site by chance, and I am shocked
why this twist of fate didn’t took place earlier! I bookmarked it.
luglio 7th, 2024 - 18:29
Hi to all, it’s truly a nice for me to pay a quick visit this website,
it consists of precious Information.
luglio 7th, 2024 - 18:34
Hola, soy Darcy, tengo 30 años y vivo http://brush114.Co.kr/bbs/board.php?bo_table=free&wr_id=727053 Cuevas del Almanzora provincia de Almería. Me encanta el senderismo en mis momentos libres, y formo una hermosa familia con mi esposo Carlos y nuestros tres hijos: Marta de 10, Lucas de 7 y Paula de 4. ¡Gracias!
luglio 7th, 2024 - 18:38
Guide To Double Glazed Window Near Me: The Intermediate
Guide The Steps To Double Glazed Window Near Me double glazed window near Me (https://bronxrican.Com/index.php?title=The_10_Most_Terrifying_Things_About_Double_Glazing_Companies_Near_Me)
luglio 7th, 2024 - 18:40
Please let me know if you’re looking for a author for your site.
You have some really great posts and I feel I would be a good asset.
If you ever want to take some of the load off, I’d really like
to write some material for your blog in exchange for a link back to mine.
Please send me an email if interested. Thank you!
luglio 7th, 2024 - 18:41
dublin marketing & seo agencyhttps://essentialbizlistings.com/internet-marketing-service/dublin-marketing-seo-agency-dublin-ca/
luglio 7th, 2024 - 18:48
See What Double Glazing Repairs Near Me Tricks The Celebs Are Utilizing double glazing repairs near me (Comunidadeqm.marcelodoi.com.Br)
luglio 7th, 2024 - 18:51
I read this article fully on the topic of the resemblance of most recent and preceding technologies, it’s awesome article.
luglio 7th, 2024 - 18:52
The Myths And Facts Behind Double Glazing Glass Replacement Near Me double glazing panels
luglio 7th, 2024 - 18:54
How To Choose The Right Replacement Upvc Window Handles Online upvc window repair near me (133.6.219.42)
luglio 7th, 2024 - 18:58
atlanta marketinghttps://topbizlistings.com/internet-marketing-service/atlanta-digital-marketing-agency-atlanta-ga/
luglio 7th, 2024 - 19:01
What’s The Current Job Market For Upvc Repairs Near Me Professionals?
upvc repairs near me
luglio 7th, 2024 - 19:07
Good way of telling, and pleasant paragraph to obtain data regarding
my presentation subject matter, which i am going
to convey in school.