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 - 08:37
Right now it sounds like Movable Type is the preferred blogging platform available right now.
(from what I’ve read) Is that what you’re using on your blog?
luglio 6th, 2024 - 08:39
Hello everyone, it’s my first go to see at this web site, and paragraph is truly fruitful designed
for me, keep up posting these types of posts.
luglio 6th, 2024 - 08:49
20 Tips To Help You Be More Effective At Semi Truck Litigation semi truck accident lawyer
luglio 6th, 2024 - 09:11
Very shortly this web site will be famous among
all blogging viewers, due to it’s pleasant content
luglio 6th, 2024 - 09:17
%American Laser Med Spa – Amarillo%
luglio 6th, 2024 - 09:17
The Biggest Issue With Upvc Front Doors Supplied And Fitted Near Me, And How You Can Solve It upvc door repair near me
luglio 6th, 2024 - 09:17
I’m really enjoying the design and layout of your website.
It’s a very easy on the eyes which makes it much more enjoyable for me to come
here and visit more often. Did you hire out a designer to
create your theme? Excellent work!
luglio 6th, 2024 - 09:21
constantly i used to read smaller posts which also clear their motive, and that is also happening with this post
which I am reading at this time.
luglio 6th, 2024 - 09:24
Excellent blog right here! Also your web page site loads up very
fast! What host are you the use of? Can I am getting your affiliate
link in your host? I wish my site loaded up as fast as yours lol
luglio 6th, 2024 - 09:26
15 Terms That Everyone In The Fela Industry Should Know Fela settlements
luglio 6th, 2024 - 09:31
20 Up-And-Comers To Follow In The Glass Window Repair Industry 257634
luglio 6th, 2024 - 09:37
Someone essentially assist to make significantly posts I would state.
This is the first time I frequented your web page and thus far?
I surprised with the analysis you made to make this particular
post incredible. Magnificent activity!
luglio 6th, 2024 - 09:39
Guide To 18 Wheeler Accident Attorneys: The Intermediate Guide The Steps To 18 Wheeler Accident Attorneys 18 wheeler Accident attorneys
luglio 6th, 2024 - 09:40
american laser med spa el paso txhttps://dapabookmarking.com/page/business-services/american-laser-med-spa—el-paso
luglio 6th, 2024 - 09:42
This page certainly has all of the information I needed about this subject and didn’t
know who to ask.
luglio 6th, 2024 - 09:44
You could definitely see your skills within the article you write.
The world hopes for more passionate writers such as you who are not afraid
to say how they believe. At all times go after your heart.
luglio 6th, 2024 - 09:58
Hello there, I found your site by the use of Google at the same time as searching for a similar subject, your site came up, it seems good.
I’ve bookmarked it in my google bookmarks.
Hello there, just turned into alert to your weblog through Google, and found that it is truly informative.
I am gonna be careful for brussels. I will be grateful if you happen to
continue this in future. Lots of other folks will probably
be benefited out of your writing. Cheers!
luglio 6th, 2024 - 09:59
Hello there! Quick question that’s totally off topic.
Do you know how to make your site mobile friendly? My blog looks weird when viewing
from my iphone. I’m trying to find a template or plugin that might be able to
resolve this problem. If you have any recommendations, please share.
Many thanks!
luglio 6th, 2024 - 10:04
See What Medical Malpractice Claim Tricks The Celebs Are Using medical Malpractice (http://www.buy-Sell-invest-with-the-best.Com)
luglio 6th, 2024 - 10:10
“The Semi Truck Litigation Awards: The Best, Worst, And Weirdest Things We’ve Seen Semi Truck Accident Law
Firms
luglio 6th, 2024 - 10:12
Уважаемые автолюбители! Не так давно натолкнулся на удивительную заметку, которая меня просто поразила. Если вас интересуют китайские авто, их производительность также реальные отзывы, то вам обязательно нужно прочесть текущий материал. Я был в восторге от подробного тест-драйва, проведенного профессионалами. Разведайте, какие модели действительно заслуживают интереса также стоит ли их покупать. Нажмите тут, чтобы составить себе представление с подробным отчетом: Тест-драйв китайских автомобилей https://avts-atsu.ru/test-drajv-kitajskih-avtomobilej/ . Вы не пожалеете!
luglio 6th, 2024 - 10:13
Hello there, You’ve done a great job. I will certainly digg it and personally suggest
to my friends. I’m sure they’ll be benefited from this
web site.
Here is my webpage … the growth matrix
luglio 6th, 2024 - 10:17
Upvc Window Repairs Near Me Techniques To Simplify Your Everyday Lifethe Only Upvc Window Repairs Near Me Trick That Should Be Used By Everyone Learn window repairs near me (https://www.r2tbiohospital.com/bbs/board.php?bo_table=free&wr_id=706831)
luglio 6th, 2024 - 10:17
Five Killer Quora Answers On Railroad Injuries
Attorneys Railroad Injuries attorneys
luglio 6th, 2024 - 10:20
15 Things You Don’t Know About Adults ADHD Test adult adhd test online
luglio 6th, 2024 - 10:21
Elevate Your Beauty Routine with Clean Glam: Natural, Sustainable, and Cruelty-Free | A Sobreezybabe company.
Explore Clean Glam’s range of clean beauty cosmetics and natural
skincare products. From organic skincare routines to vegan beauty products, we lead the clean beauty market
with eco-friendly, non-toxic solutions. Learn how to create
effortless Clean Glam Makeup looks with our step by
step tutorials! Discover holistic beauty solutions for a radiant you!
luglio 6th, 2024 - 10:24
The Unspoken Secrets Of 18 Wheeler Accident
Law Firm 18 wheeler accident lawyer
luglio 6th, 2024 - 10:31
A The Complete Guide To Black Sectional Sofa From Start To Finish 4452346
luglio 6th, 2024 - 10:32
The Most Effective Semi Truck Lawyer Tricks To Rewrite Your Life Legal
luglio 6th, 2024 - 10:33
Very nice post. I just stumbled upon your weblog and wanted to say
that I have really enjoyed surfing around your
blog posts. In any case I will be subscribing to
your rss feed and I hope you write again soon!
Stop by my webpage – lung clear pro reviews and complaints
luglio 6th, 2024 - 10:33
20 Questions You Need To Ask About ADHD Test For Women Before You Purchase ADHD
Test For Women Adhd diagnosis in adult women (https://pipewiki.org)
luglio 6th, 2024 - 10:37
The Excalibur Hotel And Casino Is A Grand Nevada Hotel
프라그마틱 슬롯 무료체험
luglio 6th, 2024 - 10:43
Can Upvc Window Repairs Ever Be The King Of
The World? upvc Window Repairs near me
luglio 6th, 2024 - 10:44
Excellent weblog right here! Additionally your site loads up fast!
What web host are you using? Can I get your affiliate hyperlink on your host?
I wish my website loaded up as quickly as yours
lol
luglio 6th, 2024 - 10:49
See What Repair Upvc Windows Tricks The Celebs Are Using repair upvc window [theme.sir.kr]
luglio 6th, 2024 - 10:52
10 Tips To Know About Window.Replacement Near Me Window replacement Near me
luglio 6th, 2024 - 10:53
Greetings! Very useful advice within this post! It is the little changes that will make the greatest changes.
Many thanks for sharing!
luglio 6th, 2024 - 11:00
The Most Advanced Guide To Repairing Upvc Windows upvc windows repair Near me [http://www.stcomm.co.kr]
luglio 6th, 2024 - 11:13
Can I just say what a relief to find someone who actually understands what they’re talking about on the
web. You actually know how to bring a problem to light
and make it important. More and more people must check
this out and understand this side of the story.
I was surprised that you are not more popular given that you definitely possess the
gift.
luglio 6th, 2024 - 11:20
These are really enormous ideas in on the topic of blogging.
You have touched some pleasant points here. Any way keep up wrinting.
luglio 6th, 2024 - 11:21
5 Killer Quora Answers On Double Glazed Near Me double glazed near me (Arron)
luglio 6th, 2024 - 11:24
16 Must-Follow Instagram Pages For Boat Accident
Claim-Related Businesses boat accident lawsuits
luglio 6th, 2024 - 11:25
Nine Things That Your Parent Taught You About
Double Glazed Window Suppliers Near Me double glazed window suppliers near me
luglio 6th, 2024 - 11:28
Good day! This is my first visit to your blog! We are a collection of volunteers and starting a new initiative in a community in the same niche.
Your blog provided us useful information to
work on. You have done a outstanding job!
luglio 6th, 2024 - 11:28
What’s The Reason Nobody Is Interested In Railroad Injuries
Litigation attorney
luglio 6th, 2024 - 11:32
Spot on with this write-up, I truly believe this amazing site needs much
more attention. I’ll probably be returning to see more,
thanks for the advice!
Also visit my web site เว็บวาไรตี้
luglio 6th, 2024 - 11:32
Very good info. Lucky me I discovered your website by accident (stumbleupon).
I have saved it for later!
luglio 6th, 2024 - 11:35
20 Myths About Motorcycle Accident Attorney: Busted motorcycle accident law firms
luglio 6th, 2024 - 11:38
Hey! I just wanted to ask if you ever have any issues with
hackers? My last blog (wordpress) was hacked and I ended up losing a few months of
hard work due to no data backup. Do you have any solutions to stop hackers?
luglio 6th, 2024 - 11:44
You’ll Be Unable To Guess Window Repair Near Me’s Benefits window
repair near me – Miles -