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 - 14:25
You’ll Never Guess This Double Glaze Repair Near Me’s
Benefits double glaze repair near me; http://www.Kolivecell.co.kr/,
luglio 6th, 2024 - 14:30
The Under-Appreciated Benefits Of Semi Truck semi truck Accident law firms
luglio 6th, 2024 - 14:33
What’s The Job Market For Railroad Injuries Attorney Professionals Like?
Railroad injuries attorney
luglio 6th, 2024 - 14:33
I’m gone to inform my little brother, that he should
also visit this website on regular basis to
obtain updated from most up-to-date reports.
luglio 6th, 2024 - 14:41
Hi there! I just would like to offer you a huge thumbs up for the great information you have got here
on this post. I am returning to your blog for more soon.
Here is my website online casinos real money
luglio 6th, 2024 - 14:42
Could Federal Employers Be The Answer For 2023’s
Challenges? Federal employers liability act
luglio 6th, 2024 - 14:48
I do not know whether it’s just me or if pwrhaps everybody else encountering
issues with your site. It appears as if some of thee text within yoour content arre running off the screen. Can someone
else please provide feedback and let me know if this is happening tto them
as well? This might be a issue with my web browser because I’ve had this happen previously.
Appreciate it
Also visit my web-site :: poker calculator
luglio 6th, 2024 - 14:55
See What Double Glazing Units Near Me Tricks The Celebs Are Making Use Of Double Glazing units near Me
luglio 6th, 2024 - 14:56
Yes! Finally something about bokep indo.
luglio 6th, 2024 - 15:00
Repairs To Upvc Windows Tips To Relax Your Daily Life Repairs To Upvc Windows Trick That Every Person Should Learn repairs to upvc
windows [Les]
luglio 6th, 2024 - 15:01
Speak “Yes” To These 5 Double Glazed Window Repair Tips Window repairs Near me
luglio 6th, 2024 - 15:01
Hello Dear, are you truly visiting this website daily, if so after that you will absolutely obtain fastidious knowledge.
luglio 6th, 2024 - 15:03
Oh my goodness! Impressive article dude!
Many thanks, However I am encountering difficulties with your RSS.
I don’t understand why I cannot join it. Is there anybody else having the same RSS issues?
Anyone that knows the solution will you kindly respond?
Thanks!!
luglio 6th, 2024 - 15:03
What Is Double Glazing Repairers And How To Use What Is Double Glazing Repairers And How To Use jerealas
luglio 6th, 2024 - 15:03
10 Quick Tips About Double Glazing Deals Near Me wooden
luglio 6th, 2024 - 15:11
Definitely believe that which you said. Your favorite reason seemed to be on the internet the simplest thing to be aware of.
I say to you, I certainly get annoyed while people
think about worries that they just don’t know about. You managed to hit the nail upon the top and also defined out the whole thing without having side-effects
, people could take a signal. Will probably be back
to get more. Thanks
luglio 6th, 2024 - 15:11
Hey there just wanted to give you a brief 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 internet browsers and both show
the same outcome.
luglio 6th, 2024 - 15:16
You’ll Never Be Able To Figure Out This Window Replacement Near Me’s Tricks window replacement near Me
luglio 6th, 2024 - 15:17
Guide To 18 Wheeler Accident Attorneys: The Intermediate Guide For 18 Wheeler Accident Attorneys 18 Wheeler Accident attorneys
luglio 6th, 2024 - 15:17
What’s Next In Adult Test For ADHD Adult Testing For
Adhd (Https://Sm.Sdsu.Edu/Index.Php?Mid=Board&Document_Srl=351087)
luglio 6th, 2024 - 15:18
15 Top Twitter Accounts To Discover Repairs To Upvc Windows upvc window Repairs
luglio 6th, 2024 - 15:28
10 Easy Ways To Figure The Semi Truck Legal You’re Looking For
semi truck accident lawsuits
luglio 6th, 2024 - 15:30
Can I just say what a comfort to find someone who really knows what
they are discussing online. You actually understand how to bring a
problem to light and make it important. More people must read this and understand this side of your story.
It’s surprising you’re not more popular because you
most certainly possess the gift.
luglio 6th, 2024 - 15:37
The 10 Scariest Things About Non Prescription ADHD Medication Uk non prescription Adhd medication uk
luglio 6th, 2024 - 15:39
Great goods from you, man. I have understand
your stuff previous to and you are just extremely fantastic.
I really like what you have acquired here, certainly like what you’re
saying and the way in which you say it. You make it entertaining and you still care for to keep it wise.
I can not wait to read much more from you. This is really a wonderful site.
luglio 6th, 2024 - 15:39
Medical Malpractice Lawyers Tools To Make Your Everyday Lifethe Only Medical Malpractice Lawyers Trick
That Everybody Should Be Able To Medical malpractice Lawyer
luglio 6th, 2024 - 15:39
Adult ADHD Medication Uk Tools To Streamline
Your Daily Lifethe One Adult ADHD Medication Uk Trick Every Person Should Be Able To Adult Adhd Medication Uk (Vwhiteskin.Co.Kr)
luglio 6th, 2024 - 15:40
Five Killer Quora Answers To Private ADHD Assessment London Private Adhd Assessment London
luglio 6th, 2024 - 15:42
Do you have any video of that? I’d love to find out more details.
인스타 팔로워 구매
luglio 6th, 2024 - 15:48
Some Wisdom On Saab Key Programming Near Me From A Five-Year-Old vehicle
luglio 6th, 2024 - 15:50
I do not know if it’s just me or if everyone else encountering problems with
your blog. It appears as if some of the text within your content
are running off the screen. Can someone else please provide feedback and let me know if this
is happening to them too? This could be a issue with my browser because
I’ve had this happen previously. Cheers
Here is my website The Growth Matrix Reviews
luglio 6th, 2024 - 15:50
I always used to read article in news papers but now
as I am a user of net thus from now I am using net for articles or reviews, thanks to web.
luglio 6th, 2024 - 16:01
Are You Responsible For A Boat Accident Lawyer Budget?
12 Top Ways To Spend Your Money Boat accidents
luglio 6th, 2024 - 16:03
Nine Things That Your Parent Teach You About Upvc Window Repair Near Me window Repair Near me
luglio 6th, 2024 - 16:05
Five Killer Quora Answers On Medical Malpractice Attorneys medical malpractice attorneys (Hermelinda)
luglio 6th, 2024 - 16:09
Hello my friend! I wish to say that this article is amazing, nice written and include almost all important infos.
I would like to look extra posts like this .
luglio 6th, 2024 - 16:10
Window Repairs Tools To Ease Your Everyday Lifethe Only Window Repairs
Technique Every Person Needs To Learn Window repair
luglio 6th, 2024 - 16:17
Если вы любите российские комедийные сериалы с участием Сергея Бурунова, новая многосерийная лента Мылодрама обязательно подарит вам немало весёлых и приятных минут. Режиссер Илья Куликов, создававший этот фильм, прославился своим топовым юмористическим шедевром «Полицейский с Рублёвки». И в этот раз зрителя ждут необычные и весьма потешные приключения главного героя, который невольно попадает на должность генерального директора крупной телевизионной компании.
Понятно, что недотёпа-дилетант по закону жанра вдруг начинает слишком хорошо справляться со своей новой работой, нарушая планы коварных двуличных персонажей. Желающие смотреть онлайн сериал Мылодрама наверняка оценят блистательную игру любимых актёров, которые в очередной раз поднимут нам настроение!
https://serialytut.me/view/755-mylodrama-1-sezon.html
luglio 6th, 2024 - 16:26
How To Become A Prosperous 10kg Top Loader Washing Machine Entrepreneur
Even If You’re Not Business-Savvy 023456789.xyz
luglio 6th, 2024 - 16:29
Howdy! This blog post couldn’t be written any better!
Going through this article reminds me of my
previous roommate! He constantly kept preaching about this.
I am going to send this article to him. Fairly certain he’s going to have a great read.
Thank you for sharing!
Have a look at my page :: Mostbet
luglio 6th, 2024 - 16:30
Great post. I was checking continuously this blog and I am
impressed! Very helpful information specifically the
last part I care for such info a lot.
I was seeking this certain information for
a very long time. Thank you and good luck.
luglio 6th, 2024 - 16:30
Malpractice Attorneys: What’s The Only Thing Nobody Is Discussing malpractice law Firms
luglio 6th, 2024 - 16:33
Nice post. I learn something totally new and challenging on sites I stumbleupon everyday.
It’s always helpful to read through content from other writers and practice something from their web sites.
luglio 6th, 2024 - 16:37
With havin so much written content do you ever run into any problems of plagorism or copyright infringement?
My site has a lot of unique content I’ve either created myself or outsourced but it seems a lot of it is popping it up all over the internet without my authorization. Do you know any solutions
to help protect against content from being stolen? I’d really appreciate it.
luglio 6th, 2024 - 16:38
The youngest branch of the armed forces has lacked its own component-time workforce because its creation in 2019.
My web site – http://classicllconline.com/__media__/js/netsoltrademark.php?d=www.cheaperseeker.com%2Fu%2Ffranciscodimond
luglio 6th, 2024 - 16:41
The Demo Slot Mistake That Every Beginner Makes Free Demo Slot Games
luglio 6th, 2024 - 16:43
I love it when individuals get together and share opinions.
Great website, continue the good work!
luglio 6th, 2024 - 16:47
Solutions To The Problems Of Truck Accidents Lawyer truck accident attorneys (62.Gregorinius.Com)
luglio 6th, 2024 - 16:57
http://hgitysonscorner.com/__media__/js/netsoltrademark.php?d=sugardefender.mazdaci.com
Very energetic blog, I loved that bit. Will there be a part 2?
luglio 6th, 2024 - 17:00
20 Myths About Asbestos Va Claim: Dispelled 9363280.xyz