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 - 00:54
Asphalt contractorhttp://secretlondonlunchbreaks.blogspot.com/2012/04/wood-pavement.html
luglio 6th, 2024 - 00:55
5 Loft Bunk Bed Projects For Every Budget adult loft bed
luglio 6th, 2024 - 00:58
Hello! I know this is kinda off topic however I’d figured I’d ask.
Would you be interested in trading links or maybe
guest authoring a blog post or vice-versa?
My website addresses a lot of the same topics as yours
and I believe we could greatly benefit from each other.
If you are interested feel free to send me an e-mail.
I look forward to hearing from you! Great blog by the way!
luglio 6th, 2024 - 01:16
Snel en veilig verhuizen h-transport
luglio 6th, 2024 - 01:16
I was curious if you ever considered changing the page layout
of your blog? Its very well written; I love what youve got to say.
But maybe you could a little more in the way of content so people could
connect with it better. Youve got an awful lot of text
for only having 1 or two images. Maybe you could space it out better?
luglio 6th, 2024 - 01:22
потрапляти
luglio 6th, 2024 - 01:25
I just could not leave your website prior to suggesting that I actually loved the usual information a person provide for your guests?
Is gonna be back ceaselessly to investigate
cross-check new posts
luglio 6th, 2024 - 01:41
Have you ever thought about writing an e-book or guest authoring on other sites?
I have a blog centered on the same subjects you discuss and
would really like to have you share some stories/information.
I know my viewers would value your work. If you are even remotely
interested, feel free to shoot me an e mail.
luglio 6th, 2024 - 01:42
The 10 Most Scariest Things About Auto Accident Attorneys auto Accident Attorneys
luglio 6th, 2024 - 01:45
Wonderful site you have here but I was wondering if you
knew of any community forums that cover the same topics talked about in this article?
I’d really like to be a part of group where I can get suggestions from other knowledgeable
people that share the same interest. If you have any recommendations, please let me know.
Thanks!
luglio 6th, 2024 - 01:47
For the reason that the admin of this site is working,
no uncertainty very rapidly it will be well-known, due to its quality contents.
luglio 6th, 2024 - 01:48
Signagehttps://www.topseos.com/best-pay-per-click-management-companies-in-la-villa-texas
luglio 6th, 2024 - 01:48
Paintershttps://www.worldfreeads.com/3/posts/1/10-Clothing-Fashion/2079957-Dreamcoat-Mansfield-Painters-https-paintersmansfieldohio-com-.html
luglio 6th, 2024 - 02:13
Это помогает читателям самостоятельно разобраться в сложной теме и сформировать собственное мнение.
luglio 6th, 2024 - 02:18
5 Malpractice Settlement Tips You Must Know About For 2023 Powell Malpractice Lawsuit
luglio 6th, 2024 - 02:21
Hi, I do believe this is an excellent blog. I stumbledupon it ;
) I’m going to revisit yet again since I bookmarked it.
Money and freedom is the greatest way to
change, may you be rich and continue to help other people.
luglio 6th, 2024 - 02:24
Link exchange is nothing else except it is just placing the other person’s blog link on your page at suitable place and other
person will also do same in favor of you.
luglio 6th, 2024 - 02:32
For latest news you have to go to see web and on web
I found this website as a best web site for newest updates.
luglio 6th, 2024 - 02:36
Thanks for your personal marvelous posting! I genuinely
enjoyed reading it, you happen to be a great author.
I will be sure to bookmark your blog and will
often come back very soon. I want to encourage you to continue your great posts, have a nice evening!
luglio 6th, 2024 - 02:37
What The 10 Most Worst Wall Electric Fireplace Failures Of All Time
Could Have Been Prevented lynnbolvin.top
luglio 6th, 2024 - 02:39
Hey just wanted to give you a quick heads up and let you know
a few of the pictures aren’t loading properly. I’m not sure why but I think its a linking issue.
I’ve tried it in two different browsers and both show the same results.
luglio 6th, 2024 - 02:48
Guide To Personal Injury Attorney: The Intermediate Guide On Personal Injury Attorney Personal Injury Attorney
luglio 6th, 2024 - 02:52
I have read several just right stuff here. Definitely value bookmarking for revisiting.
I wonder how so much attempt you place to make this type of fantastic informative
web site.
luglio 6th, 2024 - 02:53
Nice post. I was checking continuously this blog and
I am impressed! Extremely useful info specially the ultimate phase :
) I take care of such information a lot. I used to be
looking for this certain info for a very long time.
Thank you and best of luck.
luglio 6th, 2024 - 03:02
Payday Loan Payoff: Anywhere Will Help Relieve Interest Costs 개인회생 대출
luglio 6th, 2024 - 03:11
I’m not sure where you are getting your info, but good topic.
I needs to spend some time learning more or understanding more.
Thanks for great info I was looking for this information for my mission.
luglio 6th, 2024 - 03:23
Three Reasons Why The Reasons For Your Window Repairs Near Me Is
Broken (And How To Repair It) upvc window repairs near Me
luglio 6th, 2024 - 03:24
Five Killer Quora Answers On Personal Injury Law personal injury
luglio 6th, 2024 - 03:24
It’s The Complete Cheat Sheet For Misty Double Glazing Repair https://www.jerealas.top/ezz69r-2euyw8a-v28ac6-t82pm-j2c-743/
luglio 6th, 2024 - 03:27
The History Of Truck Accidents Lawyers Near Me Truck accident law
firms (elve.hatenadiary.jp)
luglio 6th, 2024 - 03:42
Is Technology Making Stove Log Burner Better Or Worse?
913875.xyz
luglio 6th, 2024 - 03:43
Wow! Finally I got a weblog from where I be able to really get valuable information regarding
my study and knowledge.
luglio 6th, 2024 - 03:43
After going over a few of the blog articles on your web site, I really appreciate your technique of blogging.
I added it to my bookmark website list and will be checking
back soon. Please check out my web site too and let me know how you feel.
luglio 6th, 2024 - 03:44
How To Explain Fireplace Surrounds To Your Grandparents lynnbolvin.top
luglio 6th, 2024 - 03:46
Great post. I was checking continuously this blog and I am
impressed! Extremely useful information particularly the last part I care for such information a
lot. I was looking for this certain info for a very long time.
Thank you and best of luck.
luglio 6th, 2024 - 03:49
After I initially left a comment I appear to have clicked the -Notify me
when new comments are added- checkbox and from now on each time a comment is added I recieve 4 emails with the same comment.
Is there a means you can remove me from that service?
Thanks!
luglio 6th, 2024 - 03:49
I’m gone to tell my little brother, that he should also pay a quick visit
this weblog on regular basis to get updated from most up-to-date news.
luglio 6th, 2024 - 04:00
What’s The Job Market For Double Glazing Repairs Near Me Professionals?
double glazing repairs near me (Peter)
luglio 6th, 2024 - 04:04
The Reason Why You’re Not Succeeding At Malpractice
Attorneys malpractice law Firms
luglio 6th, 2024 - 04:08
8 Tips To Enhance Your Sectional Sofa Set Game http://www.4452346.xyz
luglio 6th, 2024 - 04:17
Here’s A Few Facts About Double Glazed Units Near Me Repair Double Glazing
luglio 6th, 2024 - 04:19
A Window Repairs Near Me Success Story You’ll Never Believe
Upvc Window Repairs Near Me
luglio 6th, 2024 - 04:19
Thanks for sharing your thoughts about Ug 234. Regards
luglio 6th, 2024 - 04:25
The report states it is only valid for 10 days and all persons and automobiles located at the residence at the time of the search are subject to be searched.
my web-site :: https://www.3dfusion.net/proxy.php?link=https://kabtaferplus.com/%ec%8a%a4%ec%9b%a8%eb%94%94%ec%8b%9c%ec%8f%98%ec%97%90%ec%84%9c-%ea%b0%90%ec%84%b1-%ed%84%b0%ec%a7%80%eb%8a%94-%ec%95%84%eb%a1%9c%eb%a7%88-%eb%a7%88%ec%82%ac%ec%a7%80%ec%9d%98-%ec%84%b8%ea%b3%84/
luglio 6th, 2024 - 04:29
What’s The Current Job Market For Window Doctor Near Me
Professionals? window doctor near me
luglio 6th, 2024 - 04:38
Massage Forum
Great beat ! I wish to apprentice at the same time as you
amend your web site, how could i subscribe for a weblog site?
The account aided me a appropriate deal. I were a little bit acquainted of
this your broadcast offered shiny transparent concept
luglio 6th, 2024 - 04:41
We are a bunch of volunteers and opening a brand new scheme in our community.
Your website provided us with useful information to work
on. You’ve done a formidable activity and our whole
community will be grateful to you.
luglio 6th, 2024 - 04:41
Your Family Will Be Grateful For Getting This Slot Demo Zeus Demo Slot zeus
luglio 6th, 2024 - 04:41
The Most Worst Nightmare About Nissan Qashqai Key Replacement
Price Be Realized Nissan note key replacement
luglio 6th, 2024 - 04:46
Your means of explaining everything in this paragraph is genuinely pleasant, every one
be capable of effortlessly be aware of it, Thanks a lot.