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 7th, 2024 - 01:55
great publish, very informative. I wonder why the other experts of this
sector do not understand this. You should proceed your writing.
I am confident, you’ve a great readers’ base already!
luglio 7th, 2024 - 01:57
Эта статья действительно заслуживает высоких похвал! Она содержит информацию, которую я долго искал, и дает полное представление о рассматриваемой теме. Благодарю автора за его тщательную работу и отличное качество материала!
luglio 7th, 2024 - 02:00
Nice respond in return of this difficulty with solid arguments and describing everything regarding
that.
luglio 7th, 2024 - 02:01
Link exchange is nothing else however it is simply placing the
other person’s weblog link on your page at suitable place and other
person will also do similar in favor of you.
luglio 7th, 2024 - 02:04
A Reference To Semi Truck Lawyer From Start To Finish semi Truck accident attorneys
luglio 7th, 2024 - 02:07
25 Unexpected Facts About Repairing Upvc Windows upvc window repair
luglio 7th, 2024 - 02:08
This Is How Renault Master Key Programming Will Look Like In 10
Years Time Spare
luglio 7th, 2024 - 02:10
I’m amazed, I have to admit. Rarely do I encounter
a blog that’s equally educative and engaging, and let me tell you, you’ve hit the nail on the
head. The problem is an issue that too few folks are speaking intelligently about.
I am very happy that I stumbled across this in my search for something regarding this.
luglio 7th, 2024 - 02:20
10 Untrue Answers To Common Truck Accident Lawyer For
Hire Questions: Do You Know The Right Ones?
truck accident lawsuits (Donte)
luglio 7th, 2024 - 02:30
Greetings! Quick question that’s totally off topic. Do you
know how to make your site mobile friendly?
My site 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. Appreciate it!
Feel free to surf to my web site :: fitspresso reviews
luglio 7th, 2024 - 02:34
The Most Convincing Proof That You Need Windows Replacement Replacement Glass Windows
luglio 7th, 2024 - 02:37
10 No-Fuss Strategies To Figuring Out The Private Assessment For Adhd In Your Body.
Adhd Assessment Scotland
luglio 7th, 2024 - 02:41
If some one wants expert view concerning blogging then i advise him/her to pay a quick visit this weblog, Keep up the pleasant job. https://Www.numeracy.wiki/index.php/User:Minda58R221
luglio 7th, 2024 - 02:46
See What Railroad Injuries Lawsuit Tricks The Celebs Are Utilizing railroad injuries lawsuit
luglio 7th, 2024 - 02:50
I have read so many articles about the blogger lovers however this
post is actually a fastidious article, keep it up.
luglio 7th, 2024 - 02:54
Five Killer Quora Answers To Double Glazed Window Repairs
Near Me double glazed window repairs near me
luglio 7th, 2024 - 03:01
Hey just wanted to give you a brief heads up and let you know a few
of the pictures aren’t loading correctly. 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 results. http://Travel4fun.biz/__media__/js/netsoltrademark.php?d=Link.Hdrezka.lat%2Fuser%2FLauraCurtis4887%2F
luglio 7th, 2024 - 03:16
12 Companies Leading The Way In Mental Health Assessment Near Me Assessment tools mental health
luglio 7th, 2024 - 03:16
Hurrah, that’s what I was exploring for, what a stuff!
existing here at this website, thanks admin of this website. https://panacellbio.com/bbs/board.php?bo_table=free&wr_id=22978
luglio 7th, 2024 - 03:18
BERITASLOT
Hi there! This is my first comment here so I just
wanted to give a quick shout out and tell you I truly enjoy reading your articles.
Can you recommend any other blogs/websites/forums that cover the same topics?
Many thanks!
luglio 7th, 2024 - 03:19
The 10 Scariest Things About Accident Legal accident
luglio 7th, 2024 - 03:21
The 10 Most Terrifying Things About Upvc Door Locking Mechanism
Upvc patio doors
luglio 7th, 2024 - 03:22
Rattling wonderful info can be found on web site.
luglio 7th, 2024 - 03:40
15 Startling Facts About Replacement Upvc
Window Handles You’ve Never Known Repairs To Upvc Windows;
Pokhara.Kr,
luglio 7th, 2024 - 03:44
5 Ways To Make Money At An Internet Casino 프라그마틱 슬롯
무료체험 (http://advexplore.com/__media__/js/netsoltrademark.php?d=hcsmw.com/home.php?mod=space&uid=965541)
luglio 7th, 2024 - 03:56
Hello to every body, it’s my first pay a visit of this web
site; this weblog contains awesome and genuinely good information in support of
visitors.
luglio 7th, 2024 - 04:09
Aw, this was a very nice post. Spending some time and actual effort to produce a really good article… but what can I say… I put things off a lot and never manage to get nearly anything done.
luglio 7th, 2024 - 04:16
You’ll Be Unable To Guess 18 Wheeler Accident Law Firm’s Secrets 18 wheeler accident law firm
luglio 7th, 2024 - 04:16
成人影片
Hi! Do you use Twitter? I’d like to follow you if that
would be okay. I’m definitely enjoying your blog and look forward to new updates.
luglio 7th, 2024 - 04:21
Five Killer Quora Answers On Best 18 Wheeler Accident Attorneys 18 wheeler accident attorneys (Blog-neko.sodate.jp)
luglio 7th, 2024 - 04:22
네이버 아이디 구매
https://xn--2e0bn4eo6du2j9ll79cca2l.com
네이버 아이디 구매
네이버 계정
I enjoy, lead to I found just what I used to be having a look for.
You have ended my four day lengthy hunt! God Bless you man. Have a great day.
Bye
luglio 7th, 2024 - 04:24
What To Say About Trucking Lawyers To Your Mom truck Accident law firm, lgpd.Mpsoft.com.br,
luglio 7th, 2024 - 04:35
Three Reasons Why Three Reasons Your Birth Injury Legal Is Broken (And How To Repair
It) birth injury Lawsuit
luglio 7th, 2024 - 04:36
Thanks for the marvelous posting! I quite enjoyed reading it,
you may be a great author.I will remember to bookmark your blog
and definitely will come back from now on. I want to encourage you to ultimately
continue your great work, have a nice holiday weekend!
luglio 7th, 2024 - 04:40
This piece of writing gives clear idea in support of the new viewers
of blogging, that in fact how to do blogging and site-building.
luglio 7th, 2024 - 04:47
It’s awesome to visit this site and reading the views of all friends about this paragraph,
while I am also eager of getting knowledge.
luglio 7th, 2024 - 04:48
We stumbled over here coming from a different page and thought I may as well check things
out. I like what I see so now i’m following you. Look forward
to looking at your web page yet again.
luglio 7th, 2024 - 04:53
It’s not my first time to go to see this web site, i am browsing
this web page dailly and obtain nice facts from here everyday.
luglio 7th, 2024 - 05:03
Sage Advice About Upvc Window Repair Near Me
From The Age Of Five upvc window repairs near me
luglio 7th, 2024 - 05:04
What’s The Job Market For Double Glazed Window Repairs Professionals?
Double glazed window repairs
luglio 7th, 2024 - 05:14
15 Best Adhd Assessment For Adults Bloggers You Need To Follow Best Adhd assessment for adults
luglio 7th, 2024 - 05:27
I’m impressed, I must say. Rarely do I come across a blog that’s both educative
and entertaining, and let me tell you, you’ve hit the nail on the head.
The problem is an issue that not enough men and women are
speaking intelligently about. I am very happy that I came across this in my search for
something relating to this.
luglio 7th, 2024 - 05:28
After exploring a number of the blog articles on your website, I
honestly appreciate your way of blogging. I saved it to my bookmark website list and will be checking back soon. Take
a look at my web site too and tell me how you feel.
luglio 7th, 2024 - 05:38
hey there and thank you for your info – I’ve definitely
picked up anything new from right here. I did however expertise some technical points using this web site, since I experienced to reload the website a lot of times previous to I could get it to load properly.
I had been wondering if your web hosting is OK? Not that I
am complaining, but slow loading instances times will often affect
your placement in google and can damage your high quality score if advertising and
marketing with Adwords. Anyway I’m adding this
RSS to my e-mail and could look out for much more of your respective interesting
content. Ensure that you update this again very soon.
Have a look at my web site fitspresso
luglio 7th, 2024 - 05:46
How To Build A Successful Window Repair Near When You’re Not Business-Savvy
window repairs – https://media.topannonces.fr/media_ext/_https_/l1.Prodbx.Com/go/?L=88-16523-aHR0cDovL3ZlcmJpbmEtZ2×1Y2hhcmtpbmEucnUvdXNlci9mbHlicmljazYv
-
luglio 7th, 2024 - 05:53
20 Things You Must Know About Best 18 Wheeler Accident
Attorneys 18 Wheeler Accidents
luglio 7th, 2024 - 05:53
What Is Replacement Window Seals And Why Is Everyone Speakin’ About It?
Window Replacements Near Me
luglio 7th, 2024 - 06:12
How Wireless An Online Casino Bonus 프라그마틱 무료 슬롯
luglio 7th, 2024 - 06:15
I really like what you guys are usually up too.
This type of clever work and exposure! Keep up the amazing works guys I’ve included you guys to my blogroll.
luglio 7th, 2024 - 06:19
See What Upvc Window Repair Near Me Tricks
The Celebs Are Using window Repair near me