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 - 22:20
I really like your blog.. very nice colors & theme. Did you make this website yourself or did you hire someone to do it for you?
Plz respond as I’m looking to design my own blog and would like to know where u got this from.
thanks a lot
luglio 5th, 2024 - 22:20
Hi there would you mind stating 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 design seems different then most
blogs and I’m looking for something unique.
P.S Apologies for getting off-topic but I had to
ask!
luglio 5th, 2024 - 22:23
The 10 Scariest Things About Railroad Injuries Attorneys railroad injuries attorney
luglio 5th, 2024 - 22:23
I constantly emailed this blog post page to all my associates, since
if like to read it next my friends will too.
luglio 5th, 2024 - 22:24
Amazing! Its really awesome paragraph, I have got much clear idea
about from this post.
luglio 5th, 2024 - 22:27
Car Accident Attorneys The Process Isn’t As
Hard As You Think Car accidents
luglio 5th, 2024 - 22:31
9 Lessons Your Parents Taught You About Citroen Ds3
Key Fob Replacement Key fob Replacement
luglio 5th, 2024 - 22:33
You’ll Never Be Able To Figure Out This Replacement Upvc Door Panels’s Tricks Replacement Upvc Door Panels
luglio 5th, 2024 - 22:33
Ten Upvc Window Repairs That Really Make Your Life
Better Window repairs
luglio 5th, 2024 - 22:34
Hello Dear, are you genuinely visiting this web page regularly, if so
afterward you will absolutely take fastidious knowledge.
luglio 5th, 2024 - 22:35
Keep on working, great job!
luglio 5th, 2024 - 22:36
Sash Window Replacement Tools To Ease Your Daily Life Sash Window Replacement Trick That Every
Person Should Learn sash window replacement
luglio 5th, 2024 - 22:37
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 site when you could be giving us something informative to read?
luglio 5th, 2024 - 22:38
I all the time used to read paragraph in news papers but now as I am a user
of web so from now I am using net for articles or reviews, thanks to
web.
Feel free to visit my webpage … red boost reviews
luglio 5th, 2024 - 22:40
Hi! I’ve been following your web site for a while
now and finally got the bravery to go ahead and give you a shout
out from Dallas Tx! Just wanted to tell you keep up the excellent work!
luglio 5th, 2024 - 22:43
Hurrah, that’s what I was searching for, what a material!
present here at this web site, thanks admin of this web page.
luglio 5th, 2024 - 22:44
5 Killer Quora Answers On New Upvc Door letterbox for upvc Door
luglio 5th, 2024 - 22:48
I am not sure where you’re getting your info, but good topic.
I needs to spend some time learning more or understanding more.
Thanks for fantastic information I was looking for this info
for my mission.
luglio 5th, 2024 - 22:50
How Much Do Railroad Injuries Claim Experts Earn? attorneys
luglio 5th, 2024 - 23:03
20 Trailblazers Leading The Way In Car Accident Claim Car Accident Lawsuit
luglio 5th, 2024 - 23:09
The 10 Most Scariest Things About Replacement Glass For
Windows Replacement glass for windows
luglio 5th, 2024 - 23:11
This is a topic which is close to my heart…
Best wishes! Exactly where are your contact details though?
luglio 5th, 2024 - 23:18
Nine Things That Your Parent Teach You About ADHD Diagnosis UK Adults adhd diagnosis Uk
luglio 5th, 2024 - 23:21
https://tinyurl.com/Nachhilfe-in-Hannover
You have made your stand pretty well.!
luglio 5th, 2024 - 23:23
https://www.tiger168.life/
Many thanks, Terrific stuff.
luglio 5th, 2024 - 23:23
You actually said that really well.
Here is my blog https://www.ebay.com.au/str/kapowukstore/T-SHIRTS/_i.html?store_cat=46122063012
luglio 5th, 2024 - 23:23
My brother suggested I might like this blog.
He was entirely right. This post truly made my day.
You can not imagine simply how much time I had spent for this info!
Thanks!
luglio 5th, 2024 - 23:24
Hi, this weekend is good in support of me, for the reason that this point in time i am reading this fantastic
informative piece of writing here at my house.
luglio 5th, 2024 - 23:25
Amazing things here. I am very satisfied to peer your post.
Thank you a lot and I’m looking ahead to touch you.
Will you please drop me a mail?
luglio 5th, 2024 - 23:25
Hello 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 - 23:25
Sugar Defender is a popular dietary supplement that claims to help regulate blood https://sugardefenderblood.com levels and support overall health.
luglio 5th, 2024 - 23:25
Thank you for the good writeup. It in fact was a amusement account it.
Look advanced to more added agreeable from
you! By the way, how could we communicate?
Also visit my web blog brazilian wood erection pills
luglio 5th, 2024 - 23:35
If you are going for finest contents like me, only pay a
quick visit this site all the time for the reason that it
provides quality contents, thanks
luglio 5th, 2024 - 23:36
15 Fun And Wacky Hobbies That’ll Make You More Successful At Cerebral Palsy Law firms
luglio 5th, 2024 - 23:46
My spouse and I stumbled over here from a different page and thought I might check things out.
I like what I see so now i’m following you. Look forward to looking over your web
page for a second time.
luglio 5th, 2024 - 23:47
The Unknown Benefits Of Motor Vehicle Settlement motor Vehicle accident
luglio 5th, 2024 - 23:57
Here is a brief look at some significant sports leagues and when to appear for the most effective betting promotions and bonuses.
My page … https://locademy.co/blog/index.php?entryid=160175
luglio 5th, 2024 - 23:59
Guide To Fela Case Settlements: The Intermediate
Guide On Fela Case Settlements Fela Case Settlements
luglio 6th, 2024 - 00:01
A Look At The Good And Bad About Double Glazed Window Repair
window repairs near me (Roger)
luglio 6th, 2024 - 00:07
5 Killer Quora Answers On Auto Accident Attorneys auto accident attorneys; Elouise,
luglio 6th, 2024 - 00:12
The No. One Question That Everyone Working In Dangerous Drugs Should Be Able To Answer Dangerous Drugs Law Firm
luglio 6th, 2024 - 00:13
I’m not that much of a internet reader to be honest but your sites really nice, keep it up!
I’ll go ahead and bookmark your site to
come back later. All the best
luglio 6th, 2024 - 00:18
5 Killer Quora Answers To Replacement Double Glazing Units Near Me replacement double glazing units (Jodie)
luglio 6th, 2024 - 00:23
I got this web page from my buddy who informed me about this website and now this time I
am browsing this web page and reading very informative posts at this place.
luglio 6th, 2024 - 00:23
5 Killer Quora Answers On Double Glazed Window Repairs Near Me Double glazed window Repairs near me
luglio 6th, 2024 - 00:28
Everything You Need To Be Aware Of Truck Accident Compensation truck Accident attorney
luglio 6th, 2024 - 00:30
10 Apps To Help You Manage Your Boat Accident Litigation Boat accident lawsuit
luglio 6th, 2024 - 00:32
Watch Out: How Double Glazing Windows Repairs Is Taking Over And What You Can Do About It double glazed window repairs near me
luglio 6th, 2024 - 00:38
Why People Don’t Care About Fela Settlements Federal Employers’ liability Act
luglio 6th, 2024 - 00:53
See What Mesothelioma Law Firm Tricks The Celebs Are Using mesothelioma law – Emilio -