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 - 22:48
These are in fact wonderful ideas in concerning blogging.
You have touched some fastidious factors here. Any way keep up wrinting.
luglio 6th, 2024 - 22:50
Guide To Double Glazing Near Me: The Intermediate Guide The Steps To Double Glazing Near
Me double glazing near Me
luglio 6th, 2024 - 22:50
obviously like your web-site but you have to take a look at the spelling on several of your
posts. Many of them are rife with spelling
problems and I find it very bothersome to inform the reality then again I will surely
come again again.
luglio 6th, 2024 - 22:52
The Most Underrated Companies To In The Double Glazing Near Me Industry double Glazing replacement glass
luglio 6th, 2024 - 22:54
I appreciate, cause I discovered exactly what I was looking for.
You’ve ended my four day long hunt! God Bless you man. Have a great day.
Bye
luglio 6th, 2024 - 22:58
Keep this going please, great job!
luglio 6th, 2024 - 22:59
15 Reasons To Not Ignore Railroad Injuries Law Railroad Injuries Lawyers
luglio 6th, 2024 - 23:01
The History Of Window Repair Near Me pvc
luglio 6th, 2024 - 23:14
Good article. I will be experiencing many of these issues as well..
luglio 6th, 2024 - 23:16
The 9 Things Your Parents Taught You About Double Glazed Windows Near Me
double Glazed Windows near me
luglio 6th, 2024 - 23:17
you are in reality a just right webmaster. The website
loading speed is incredible. It kind of feels that you are doing any distinctive trick.
Also, The contents are masterwork. you have done a wonderful activity in this
topic!
luglio 6th, 2024 - 23:20
I was suggested this web site by my cousin. I am
not sure whether this post is written by him as no one else know such
detailed about my difficulty. You are amazing!
Thanks!
luglio 6th, 2024 - 23:35
10 Wrong Answers To Common Veterans Disability Compensation Questions Do You
Know The Correct Answers? Veterans Disability Lawyer
luglio 6th, 2024 - 23:40
Three Reasons Why 3 Reasons Why Your Railroad Injuries Attorneys Is Broken (And How To Repair It)
lawyer
luglio 6th, 2024 - 23:41
9 . What Your Parents Teach You About Semi Truck Lawsuits Semi truck accident Law firms
luglio 6th, 2024 - 23:42
Helpful info. Lucky me I found your web site by chance, and I am surprised why this twist of fate didn’t came about earlier!
I bookmarked it.
luglio 6th, 2024 - 23:43
I just like the valuable info you supply in your articles.
I will bookmark your blog and check again right here frequently.
I’m relatively sure I will be told plenty of new stuff proper
here! Best of luck for the next!
luglio 6th, 2024 - 23:43
7 Things You Never Knew About Upvc External Doors Replace upvc door Handle
luglio 6th, 2024 - 23:48
This website was… how do I say it? Relevant!!
Finally I’ve found something which helped me. Kudos!
luglio 6th, 2024 - 23:48
17 Reasons You Shouldn’t Not Ignore Hire Truck
Accident Attorney truck accidents (https://pro-vst.org/engine/dude/index/leech_out.php?a:aHR0cHM6Ly9hcnRpY2xlc2NhZC5jb20vaG93LXRvLW91dHNtYXJ0LXlvdXItYm9zcy1vbi10cnVjay1hY2NpZGVudC1jb21wZW5zYXRpb24tMzcyNDU3Lmh0bWw)
luglio 6th, 2024 - 23:50
Upvc Door Handles: What’s No One Is Discussing replacing upvc Door lock
luglio 6th, 2024 - 23:50
Hello colleagues, its enormous paragraph about teachingand entirely
defined, keep it up all the time.
luglio 6th, 2024 - 23:51
7 Tips About Erb’s Palsy Case That No One Will Tell You erb’s palsy lawyer
luglio 6th, 2024 - 23:55
Hi! I simply would like to give you a huge thumbs up for the great info you have got here on this
post. I’ll be coming back to your blog for more
soon.
luglio 6th, 2024 - 23:58
How To Choose The Right Semi Truck Settlement Online semi truck Accident law firms
luglio 7th, 2024 - 00:07
Woah! I’m really enjoying the template/theme of this
site. It’s simple, yet effective. A lot of times it’s tough to get that “perfect balance”
between usability and appearance. I must say that you’ve done
a superb job with this. Also, the blog loads super quick
for me on Safari. Outstanding Blog!
luglio 7th, 2024 - 00:12
9 Things Your Parents Teach You About Double Glazed Window Suppliers Near Me double glazed Window Suppliers near me
luglio 7th, 2024 - 00:17
After I originally commented I seem to have clicked
on the -Notify me when new comments are added- checkbox
and now whenever a comment is added I receive 4 emails with
the exact same comment. There has to be a way you can remove me from that service?
Thank you!
luglio 7th, 2024 - 00:17
20 Things You Must Know About ADHD Adult Test adhd adult online test
- http://Choongsoo.kr -
luglio 7th, 2024 - 00:26
It is the best time to make some plans for the future and it’s time to be happy.
I’ve read this post and if I could I wish to suggest you some interesting things or tips.
Perhaps you could write next articles referring
to this article. I want to read more things about it!
luglio 7th, 2024 - 00:30
The 10 Most Terrifying Things About Replacement Glass For Windows replacement glass for window
luglio 7th, 2024 - 00:40
If you woulⅾ like to imlrove y᧐ur familiarity only keep visiting this web page and be սpdated with
the m᧐st up-tօ-date news posted here.
luglio 7th, 2024 - 00:40
Hi there to all, hhow iis all, I think every one is
getting more from this website, annd yyour viuews are fastidious in favor off new people.
instagram follower bekommen
luglio 7th, 2024 - 00:52
Window Handle Replacement: The Good, The Bad, And The Ugly
Window Panel Replacement
luglio 7th, 2024 - 01:02
I visited various web sites but the audio quality for audio songs existing at
this website is in fact wonderful.
luglio 7th, 2024 - 01:03
What’s up too all, for thee reason that I am truly keen of reading
this web site’s post to be updated regularly. It contains pleasant
material.
중고 트럭 매매
luglio 7th, 2024 - 01:08
Are You In Search Of Inspiration? Check Out Double Glazed
Units Near Me replacement Double glazed units near me
luglio 7th, 2024 - 01:13
Guide To Double Glazing Near Me: The Intermediate Guide
The Steps To Double Glazing Near Me double glazing near me
luglio 7th, 2024 - 01:17
The Railroad Injuries Compensation Awards: The Most, Worst,
And Weirdest Things We’ve Ever Seen railroad Injuries attorney
luglio 7th, 2024 - 01:19
Dangerous Drugs Attorneys Tools To Ease Your Everyday Lifethe Only
Dangerous Drugs Attorneys Trick Every Individual Should Know dangerous drugs attorneys
luglio 7th, 2024 - 01:20
I’m not sure where you’re getting your info, but great topic.
I needs to spend some time learning more or understanding more.
Thanks for fantastic info I was looking for this information for my mission.
luglio 7th, 2024 - 01:22
Wow that was strange. I just wrote an extremely long comment but after I clicked submit my comment didn’t show up.
Grrrr… well I’m not writing all that over again. Regardless, just wanted to say superb blog!
luglio 7th, 2024 - 01:24
Introduction http://lamerpension.co.kr/www/bbs/board.php?bo_table=bod703&wr_id=510237 is a new dietary supplement that combines the benefits of the ketogenic diet with the power of apple cider vinegar (ACV).
luglio 7th, 2024 - 01:27
Thanks for finally writing about > Touchpad: scorrimento a
due dita come sul Mac, su qualsiasi portatile Linux « CoM – Il Blog di Carlo Becchi
< Liked it!
luglio 7th, 2024 - 01:38
Unexpected Business Strategies For Business That Aided Erb’s Palsy Settlement
Succeed erb’s palsy lawsuit
luglio 7th, 2024 - 01:40
What’s The Job Market For Upvc Windows Repair Professionals?
Upvc windows Repair
luglio 7th, 2024 - 01:40
With havin so much content do you ever run into any problems
of plagorism or copyright violation? My blog has a lot of exclusive content
I’ve either created myself or outsourced but it looks like a lot of it is popping it up all over the
internet without my authorization. Do you know any
techniques to help stop content from being ripped off?
I’d certainly appreciate it.
luglio 7th, 2024 - 01:42
I quite like looking through an article that will make men and women think.
Also, thank you for allowing me to comment!
luglio 7th, 2024 - 01:44
Fire protection servicehttps://friensta.com/read-blog/12179_fmc-fire-systems-leading-the-way-in-fire-protection-solutions.html
luglio 7th, 2024 - 01:48
Unexpected Business Strategies For Business That Aided Ford Key Fob Achieve Success spare ford key (Finlay)