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 - 11:48
Thank you for the auspicious writeup. It in fact
was a amusement account it. Look advanced to far added agreeable from you!
However, how can we communicate?
Feel free to visit my web-site – phenq
luglio 6th, 2024 - 11:49
What’s The Reason Nobody Is Interested In Double Glazed Windows Repair Window repair
luglio 6th, 2024 - 11:50
Five Killer Quora Answers On Replacement Double Glazing Units Near Me replacement double glazing Units near me
luglio 6th, 2024 - 11:50
5 Repair Window Projects For Any Budget 257634
luglio 6th, 2024 - 11:52
9 Things Your Parents Taught You About Land Rover Key Fobs land rover key fobs
luglio 6th, 2024 - 11:54
Upvc Doors Near Me The Process Isn’t As Hard As You Think types of upvc door hinges [Alva]
luglio 6th, 2024 - 11:56
“A Guide To Window Replacement Cost In 2023 window replacement cost Uk
luglio 6th, 2024 - 11:59
What’s up to all, as I am really keen of reading this web site’s post to be updated daily.
It contains fastidious stuff.
luglio 6th, 2024 - 12:00
Ridiculous quest there. What occurred after? Take care!
luglio 6th, 2024 - 12:01
“Ask Me Anything”: Ten Answers To Your Questions About Repairing Upvc Windows Double Glazed Window Repairs Near Me
luglio 6th, 2024 - 12:04
Veterans Disability Settlement Tools To Help You Manage Your Daily
Life Veterans Disability Settlement Trick That Should Be Used By Everyone Learn veterans disability
luglio 6th, 2024 - 12:07
Magnificent beat ! I would like to apprentice at the same time
as you amend your website, how could i subscribe for a blog web
site? The account aided me a applicable deal. I had been tiny bit familiar of this your broadcast offered shiny
clear idea
luglio 6th, 2024 - 12:09
Hi there, just wanted to mention, I enjoyed this blog post.
It was helpful. Keep on posting!
luglio 6th, 2024 - 12:19
Hello to all, how is all, I think every one is getting more from this web site, and your views are nice for new viewers.
luglio 6th, 2024 - 12:20
The No. 1 Question Everyone Working In Erb’s Palsy Lawsuit Should
Know How To Answer erb’s palsy lawyers
luglio 6th, 2024 - 12:20
I loved as much as you will receive carried out right here.
The sketch is tasteful, your authored material stylish.
nonetheless, you command get got an impatience over that you wish be delivering the
following. unwell unquestionably come more formerly again as
exactly the same nearly a lot often inside case you shield this hike.
luglio 6th, 2024 - 12:21
It’s the best time to make some plans for the future and it’s time to be happy.
I have read this post and if I could I desire to suggest you few interesting things or tips.
Perhaps you can write next articles referring to this article.
I want to read more things about it!
luglio 6th, 2024 - 12:23
What’s The Job Market For Upvc Windows Repair Professionals?
upvc windows repair (Isiah)
luglio 6th, 2024 - 12:30
What The Heck What Exactly Is Replacement Hyundai Key Fob?
reprogram hyundai Key Fob
luglio 6th, 2024 - 12:36
What’s The Good And Bad About Replacement Upvc Window Handles upvc window repairs near me
luglio 6th, 2024 - 12:42
The 10 Scariest Things About Truck Accident Law Firm truck accident law firm – http://rtekhno.ru/,
luglio 6th, 2024 - 12:45
Thanks for any other wonderful post. The place else could anybody get that type of information in such an ideal method of writing?
I’ve a presentation subsequent week, and I am at the look
for such information.
My web blog :: fitspresso
luglio 6th, 2024 - 12:49
20 Trailblazers Lead The Way In Semi Truck Litigation Semi truck accident Lawyer
luglio 6th, 2024 - 12:53
The Secret Secrets Of Accident Case Accident lawsuits
luglio 6th, 2024 - 12:53
20 Fun Details About Dangerous Drugs Law Firm dangerous drugs lawyer
luglio 6th, 2024 - 13:00
Thanks to my father who stated to me concerning this webpage, this weblog is in fact amazing.
luglio 6th, 2024 - 13:04
Hi there! I know this is kind of off-topic but I had to ask.
Does managing a well-established website such as yours require a large amount
of work? I am brand new to writing a blog
however I do write in my journal daily. I’d like to start a blog so I will be able to share my experience and views online.
Please let me know if you have any ideas or
tips for brand new aspiring bloggers. Appreciate it!
luglio 6th, 2024 - 13:08
I’ve learn a few just right stuff here. Certainly worth bookmarking
for revisiting. I surprise hhow a lot attempt
you put tto create any such magnifkcent informative
website.
웅진코웨이정수기렌탈
luglio 6th, 2024 - 13:11
10 Facts About Replacement Double Glazed Windows That Insists On Putting You In An Upbeat Mood glass Window replacements
luglio 6th, 2024 - 13:19
How To Get More Results From Your Citroen C3 Key Fob citroen ds3 car key
(Alina)
luglio 6th, 2024 - 13:19
We’re looking at a properly-rounded casino with a stellar blackjack selection and a single of the quickest withdrawals in the sector.
Here is my webpage; https://wolvesbaneuo.com/wiki/index.php/User:TeresaLdv5
luglio 6th, 2024 - 13:27
If you wish for to incrrease your knowledge just keep visiting this site and be updated with the latest news posted here.
중고 트럭 매매
luglio 6th, 2024 - 13:29
This Week’s Top Stories About Double Glazing Spares Near
Me Double Glazing Spares Near Me Double Glaze Windows
luglio 6th, 2024 - 13:44
Everything You Need To Be Aware Of Truck Accident Compensation Claim truck accident lawyers
luglio 6th, 2024 - 13:46
15 Reasons To Not Be Ignoring Veterans Disability Law Veterans
Disability Lawyers (http://Www.Oddlink.Com)
luglio 6th, 2024 - 13:50
What’s up friends, how is the whole thing, and what you desire to say about this paragraph, in my view its genuinely awesome in favor of me.
luglio 6th, 2024 - 13:53
I read this post completely about the comparison of hottest and preceding technologies, it’s
remarkable article.
luglio 6th, 2024 - 13:54
15 Gifts For The Upvc Doors Near Me Lover In Your Life
upvc back Doors
luglio 6th, 2024 - 13:55
Neat blog! Is your theme custom made or did you download
it from somewhere? A theme like yours with a few simple tweeks would really make my blog shine.
Please let me know where you got your theme.
Thanks
luglio 6th, 2024 - 13:57
rocklin seohttps://bestbusinesscitations.com/marketing-agency/social-cali-marketing-company-rocklin-ca/
luglio 6th, 2024 - 14:01
This is a topic that’s close to my heart… Cheers! Where are
your contact details though?
luglio 6th, 2024 - 14:09
A Provocative Rant About Upvc Windows And Doors Near Me Replacing Lock On Upvc Door
luglio 6th, 2024 - 14:11
Hello mates, good post and pleasant arguments commented here, I am actually enjoying by these.
luglio 6th, 2024 - 14:14
Birth Injury Attorneys Isn’t As Difficult As You Think Birth injury lawsuits
luglio 6th, 2024 - 14:15
Many thanks, Plenty of write ups!
http://www.smartredirect.de/redir/clickgate.php?u=fo6pr2as&m=1&p=tl3r1w0897&t=3×8gj32q&st=&s=&url=https://aftamp.host/
luglio 6th, 2024 - 14:17
Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet
my newest twitter updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe
you would have some experience with something like this.
Please let me know if you run into anything. I truly enjoy reading your
blog and I look forward to your new updates.
luglio 6th, 2024 - 14:19
My brother suggested I might like this website.
He was totally right. This post truly made my day.
You can not imagine just how much time I had spent for this info!
Thanks!
luglio 6th, 2024 - 14:22
The Steve Jobs Of Private Adult ADHD Assessment Meet
With The Steve Jobs Of The Private Adult ADHD Assessment Industry private Adhd assessment gloucestershire [mediawiki.volunteersguild.org]
luglio 6th, 2024 - 14:23
20 Trailblazers Lead The Way In Workers Compensation Litigation workers’ Compensation Lawyers
luglio 6th, 2024 - 14:24
Genuinely no matter if someone doesn’t know then its up to other
visitors that they will help, so here it takes place.