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 6th, 2024 - 04:57
I go to see each day some blogs and websites to read articles, except this weblog gives quality based writing.
luglio 6th, 2024 - 05:00
10 18-Wheeler Accident Lawyers-Related Meetups You Should Attend 18 Wheeler Accident Lawsuit
luglio 6th, 2024 - 05:05
A Glimpse Inside The Secrets Of Window Repair Near window
repair near me, Jerilyn,
luglio 6th, 2024 - 05:06
Hey I am so delighted I found your blog, I really found you by mistake, while I was browsing on Aol for something else, Regardless I am here now and would
just like to say cheers for a fantastic post and a all round
exciting blog (I also love the theme/design), I don’t have time to look over it all at the moment but I have saved it and also
added in your RSS feeds, so when I have time I will be
back to read much more, Please do keep up the superb job.
Here is my site: the billionaire brain wave reviews
luglio 6th, 2024 - 05:08
See What Slot Sugar Rush Demo Tricks The Celebs Are Making Use Of slot Sugar Rush Demo
luglio 6th, 2024 - 05:09
Hi there! This is my first visit to your blog! We are a team 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 outstanding job!
luglio 6th, 2024 - 05:15
I know this if off topic but I’m looking into starting my own blog and was wondering what all
is required to get setup? I’m assuming having
a blog like yours would cost a pretty penny? I’m not very internet savvy so I’m not 100% positive.
Any suggestions or advice would be greatly appreciated.
Thank you
luglio 6th, 2024 - 05:19
You’ll Never Guess This Ferrari Key Programming Near Me’s Secrets ferrari key programming (rettura-festa.Net)
luglio 6th, 2024 - 05:24
Hi there everyone, it’s my first pay a quick visit
at this web page, and paragraph is really fruitful
in support of me, keep up posting these types of content.
luglio 6th, 2024 - 05:24
For Whom Is Double Glazed Replacement Glass Near Me And Why You Should Take A Look glazier
luglio 6th, 2024 - 05:26
Heya i am for the first time here. I came across this board and I find It truly useful & it helped me out a lot.
I’m hoping to offer something back and aid others like
you helped me.
luglio 6th, 2024 - 05:27
15 Best Pinterest Boards Of All Time About Federal Employers Federal railroad
luglio 6th, 2024 - 05:27
5 Double Glazed Window Repair Leçons From The Pros window repairs near me (Shona)
luglio 6th, 2024 - 05:28
I am no longer positive the place you’re getting your information, however good topic.
I needs to spend a while learning more or figuring out more.
Thank you for magnificent information I used to be
looking for this info for my mission.
luglio 6th, 2024 - 05:41
I visited several web sites but the audio feature for audio songs current at
this web site is really marvelous. http://gkv.Starwholesalegarage.com/__media__/js/netsoltrademark.php?d=1001Bookmarks.com%2Fstory17349422%2Fsyndic-de-faillite
luglio 6th, 2024 - 05:41
15 Tips Your Boss Wishes You Knew About Window Glass Replacement Window Replacements Near Me
luglio 6th, 2024 - 05:46
It’s very simple to find out any topic on web as compared to books, as I found
this piece of writing at this site.
luglio 6th, 2024 - 05:59
You’ll Never Guess This Window Doctor Near Me’s Tricks Window doctor near me
luglio 6th, 2024 - 05:59
Very nice article, totally what I needed.
luglio 6th, 2024 - 06:08
I delight in, result in I found just what I used to be
having a look for. You have ended my 4 day lengthy hunt!
God Bless you man. Have a nice day. Bye
luglio 6th, 2024 - 06:11
See What Replacement Window Seals Tricks The Celebs Are Using replacement window seals, porcu.pineoxs.A@srv5.cineteck.net,
luglio 6th, 2024 - 06:15
Elevate Your Beauty Routine with Clean Glam: Natural,
Sustainable, and Cruelty-Free | A Sobreezybabe company.
Explore Clean Glam’s range of clean beauty cosmetics and natural skincare products.
From organic skincare routines to vegan beauty products,
we lead the clean beauty market with eco-friendly,
non-toxic solutions. Learn how to create effortless Clean Glam Makeup looks with our step by
step tutorials! Discover holistic beauty solutions
for a radiant you!
luglio 6th, 2024 - 06:21
What The 10 Most Stupid Upvc Window Near Me Mistakes Of
All Time Could Have Been Prevented upvc windows repair near me
(beaconkorea.com)
luglio 6th, 2024 - 06:27
See What Double Glazing Repairs Near Me Tricks The Celebs
Are Using double glazing repairs near me (http://www.diywiki.org/index.Php/user:kmyaustin67728)
luglio 6th, 2024 - 06:31
Just desire to say your article is as amazing. The clarity in your post
is just spectacular and i can assume you’re knowledgeable on this subject.
Fine with your permission let me to clutch your RSS feed to stay
up to date with imminent post. Thanks 1,000,000 and please continue the gratifying work.
luglio 6th, 2024 - 06:31
Yes! Finally someone writes about 상품권 카드결제.
구글기프트카드 카드결제
luglio 6th, 2024 - 06:35
15 Documentaries That Are Best About Medical Malpractice
Case san mateo Medical malpractice lawyer
luglio 6th, 2024 - 06:39
The Best Window Repairs Tips To Make A Difference In Your Life Upvc window repair
luglio 6th, 2024 - 06:47
Fine way of explaining, and pleasant article to obtain facts on the topic of my presentation topic, which i am going
to convey in academy.
luglio 6th, 2024 - 07:32
The 10 Most Terrifying Things About Upvc Windows Repairs Upvc Windows Repairs [Https://Wiki.Mine-Hoster.De/]
luglio 6th, 2024 - 07:34
https://aftamp.host/
What’s Going down i’m new to this, I stumbled upon this
I have found It absolutely helpful and it has aided me out loads.
I am hoping to contribute & assist different users like its helped me.
Good job.
luglio 6th, 2024 - 07:36
10 Best Mobile Apps For Hyundai Replacement Key hyundai Terracan key
luglio 6th, 2024 - 07:39
Five Killer Quora Answers On Double Glazed Window Repairs Near Me double glazed window repairs near me
luglio 6th, 2024 - 07:39
Great blog here! Also your website so much up fast! What web host
are you the use of? Can I am getting your affiliate
link on your host? I wish my site loaded up as quickly
as yours lol
luglio 6th, 2024 - 07:41
5 Killer Quora Answers To Railroad Injuries Attorneys railroad Injuries Attorneys [https://h6H2h5.Wiki]
luglio 6th, 2024 - 07:45
The History Of Veterans Disability Case lawyers
my web page: lawyers
luglio 6th, 2024 - 07:45
A片
Hello, i think that i saw you visited my web site thus i came to “return the favor”.I am attempting
to find things to improve my site!I suppose its ok to use some of your ideas!!
luglio 6th, 2024 - 07:50
17 Reasons You Shouldn’t Not Ignore Window Glass Replacement window replacement glass (http://ba_rw2_dn-wl-9rw.3pco.ourwebpicvip.comLee.b.Es.t@olderworkers.com.au)
luglio 6th, 2024 - 07:52
7 Simple Secrets To Totally Refreshing Your Slot Princess Demo
starlight princess Demo oyna
luglio 6th, 2024 - 07:52
Нellο! Тhіs is my 1st commеnt here so I
јust wanteⅾ to gіve a qujick shout oᥙt and tell you I reeally enjoy reading
үоur posts. Ꮯan yоu recommend any otheг blogs/websites/forums tһat
deal wіth the same subjects? Mɑny thanks!
luglio 6th, 2024 - 07:53
The 10 Scariest Things About Double Glazed Window Repairs Near Me window Repairs near Me
luglio 6th, 2024 - 07:55
Hello mates, its enormous piece of writing on the topic of tutoringand fully explained, keep it up all the time.
luglio 6th, 2024 - 07:55
Hello! Would you mind if I share your blog with my myspace group?
There’s a lot of folks that I think would really appreciate your content.
Please let me know. Thank you
luglio 6th, 2024 - 07:57
It’s nearly impossible to find experienced people for this subject, however,
you seem like you know what you’re talking about! Thanks
Feel free to visit my page Buy Ozempic Online Mexico
luglio 6th, 2024 - 08:02
Guide To Upvc Repairs Near Me: The Intermediate Guide
For Upvc Repairs Near Me Upvc Repairs Near me
luglio 6th, 2024 - 08:06
The 12 Most Unpleasant Types Of Double Memory Foam Mattresses People You Follow On Twitter Double mattress Sale
luglio 6th, 2024 - 08:09
It’s The Upvc Windows Repair Case Study You’ll Never Forget upvc window Repairs
luglio 6th, 2024 - 08:28
Indisputable Proof That You Need 10kg Laundry Appliance Offers 023456789.xyz
luglio 6th, 2024 - 08:29
Whats up 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 expertise so I wanted
to get guidance from someone with experience. Any help would be greatly appreciated!
luglio 6th, 2024 - 08:35
My partner and I stumbled ovеr hеre by a ɗifferent web
page and tһought I mіght as ԝell check thіngs out.
I ⅼike wnat Ι ssee so now i’m folloowing үou.
Looҝ forward tο going over yoսr web pagе for
a second time.