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 - 13:37
What’s The Current Job Market For Double Glazed Repairs Near Me Professionals?
Double Glazed repairs near me; dongnampack.co.Kr,
luglio 7th, 2024 - 13:37
Unexpected Business Strategies That Helped Personal Injury Lawyers Succeed personal Injury lawsuit
luglio 7th, 2024 - 13:37
I was recommended this blog by my cousin. I’m not sure whether this post is written by him as nobody else know such
detailed about my problem. You’re amazing! Thanks!
luglio 7th, 2024 - 13:42
Undeniably believe that which you said. Yourr favorite justification seemed to
be on tthe web the easieest thing to be aware
of. I say to you, I certainly get annoyed while people think about worries that they just doo not
know about. You managed to hiit the nai upon the top and defined out the whole thing
without having side effect , people can take a signal.
Will probably be back to get more. Thanks
인스타 팔로워 구매
luglio 7th, 2024 - 13:52
What i do not realize is in fact how you’re not really much more smartly-favored than you may be right now.
You are very intelligent. You realize therefore considerably in the case of this topic, produced me for my part believe it from a lot of numerous angles.
Its like men and women don’t seem to be fascinated except it’s something to
accomplish with Girl gaga! Your own stuffs outstanding.
All the time care for it up!
luglio 7th, 2024 - 13:52
Right noow it sounds lke Wodpress is the topp blogging platform available right now.
(from what I’ve read) Is that what you are using on your blog?
웅진코웨이얼음정수기
luglio 7th, 2024 - 13:55
Thanks for sharing your thoughts on bokep indonesia.
Regards
luglio 7th, 2024 - 13:58
What i don’t understood is in reality how you’re
no longer actually much more neatly-liked than you might be now.
You are very intelligent. You understand thus considerably relating to
this matter, produced me in my view imagine it from a lot of numerous angles.
Its like women and men aren’t involved until it is one
thing to accomplish with Lady gaga! Your own stuffs
outstanding. Always handle it up!
luglio 7th, 2024 - 14:00
Hi! This is my 1st comment here so I just wanted to give a quick shout
out and tell you I genuinely enjoy reading through your articles.
Can you recommend any other blogs/websites/forums that cover
the same topics? Appreciate it!
Also visit my web-site endoboost pro
luglio 7th, 2024 - 14:02
Good post. I am dealing with some of these issues as well..
luglio 7th, 2024 - 14:02
Hey I know this is off topic but I was wondering
if you knew of any widgets I could add to my blog that automatically
tweet my newest twitter updates. I’ve been looking for a plug-in like this for
quite some time and was hoping maybe you would have some experience with something like this.
Please let me know if you run into anything. I truly enjoy reading your
blog and I look forward to your new updates.
luglio 7th, 2024 - 14:03
Massage Forum
Greetings! I’ve been following your web site for a while now and
finally got the bravery to go ahead and give you a shout out from Porter Tx!
Just wanted to tell you keep up the good job!
luglio 7th, 2024 - 14:07
If you would like to obtain much from this post then you have to apply such methods
to your won web site.
코웨이정수기렌탈
luglio 7th, 2024 - 14:08
14 Businesses Doing A Great Job At Birth Defect Lawsuit birth Defect Lawyer
luglio 7th, 2024 - 14:13
Howdy would you mind letting me know which web host you’re utilizing?
I’ve loaded your blog in 3 completely different browsers and I must say
this blog loads a lot faster then most. Can you recommend
a good internet hosting provider at a honest price?
Cheers, I appreciate it!
luglio 7th, 2024 - 14:14
A Vibrant Rant About Window Pane Replacement replacement windows panes (Finlay)
luglio 7th, 2024 - 14:14
This website was… how do I say it? Relevant!!
Finally I’ve found something which helped me. Cheers!
luglio 7th, 2024 - 14:15
8 Tips To Increase Your Double Glazed Window Repair Game Double glazed window Repairs near me
luglio 7th, 2024 - 14:20
Excellent report on vape laws!
luglio 7th, 2024 - 14:28
Hey! I’m at work surfing around your blog from my new iphone 3gs!
Just wanted to say I love reading your blog and look forward to all your posts!
Keep up the fantastic work!
luglio 7th, 2024 - 14:30
Should Acquire An Unsecured Consolidation Payday Advance?
신생아 특례 대출
luglio 7th, 2024 - 14:31
10 Unexpected Boat Accident Lawyer Tips lawsuits
luglio 7th, 2024 - 14:31
I’m not sure why but this site is loading incredibly slow for me.
Is anyone else having this problem or is it a
problem on my end? I’ll check back later on and see
if the problem still exists.
luglio 7th, 2024 - 14:32
The Biggest Problem With Windows Repairs Near Me, And How You
Can Fix It House
luglio 7th, 2024 - 14:36
I was suggested this blog by my cousin. I’m noot sure whedther this post is written by him
as no one else know suc detailed about my trouble. You’re incredible!
Thanks!
의정부 비발치 교정
luglio 7th, 2024 - 14:38
The 3 Greatest Moments In Personal Injury Attorney History personal Injury law firm
luglio 7th, 2024 - 14:39
成人視頻
all the time i used to read smaller articles which as well clear their motive, and that is also happening with this paragraph which
I am reading at this place.
luglio 7th, 2024 - 14:39
What a data of un-ambiguity and preserveness of valuable familiarity
concerning unexpected feelings.
luglio 7th, 2024 - 14:49
The Basics Of Pay-Per-Click Links For Increased In Order To Your
Site 검색엔진최적화 전문가
luglio 7th, 2024 - 14:51
سلام!
ناصر رسولی هستم
من ناصر رسولی هستم مدیر پلتفرم ارسال رپورتاژ
سئو هکر با بیش از 5000 دامنه فعال ایرانی و خارجی ،
با اجرای بیش از 3000 پروژه موفق سئو ، با اجرای بیش از 1200 مشاوره موفق سئو ، اولین معرف سیستم PBN و PDN در ایران ، آموزش دهنده سئو منفی ،
سئو خاکستری ، سئو سیاه با جدیدترین متدهای
روز دنیا…
در این وب سایت سعی بر این دارم از تجربیاتم در دنیای وسیع سئو بگم و در حد توان کمکتون کنم که بتونید تجربه شیرینی از سئو داشته باشید.
https://seohacker.academy/blog/
سئو هکر آکادمی
سئو هکر
luglio 7th, 2024 - 14:54
10 Inspiring Images About Private Psychiatrist Liverpool Cost private psychiatric hospital
luglio 7th, 2024 - 14:55
Spot on with this write-up, I seriously feel this website needs far more attention. I’ll probably be returning to read through more, thanks for the information!
luglio 7th, 2024 - 14:56
Thank you for the auspicious writeup. It in fact was a amusement account it.
Look advanced to far added agreeable from you! However, how can we communicate?
luglio 7th, 2024 - 15:00
One Of The Biggest Mistakes That People Make When Using Mazda
5 Key Fob fobs
luglio 7th, 2024 - 15:02
Wake Up Every Day To A Lot Of Bucks In Your Money!
신생아 특례 대출
luglio 7th, 2024 - 15:03
Guide To Personal Injury Litigation: The Intermediate Guide To Personal Injury
Litigation Personal injury
luglio 7th, 2024 - 15:03
Piece of writing writing is also a fun, if you be familiar with then you can write if
not it is difficult to write.
My page – the genius wave reviews
luglio 7th, 2024 - 15:17
Hey there! I know this is kinda off topic but I’d figured I’d ask.
Would you be interested in trading links or maybe guest authoring a
blog article or vice-versa? My site addresses a lot of the same subjects
as yours and I feel we could greatly benefit from each other.
If you might be interested feel free to send me an e-mail.
I look forward to hearing from you! Wonderful blog by the way!
luglio 7th, 2024 - 15:18
The Most Inspirational Sources Of Double Glazed Replacement Glass Near Me double glazing near Me
luglio 7th, 2024 - 15:19
I’m gone to inform my little brother, that he should also ppay a quick visit this weblog on regular basis too take updated from hottest news update.
다산 초등학생 피아노 학원
luglio 7th, 2024 - 15:22
This text is worth everyone’s attention. How can I
find out more?
luglio 7th, 2024 - 15:23
Everyone loves what you guys are usually up too.
This kind of clever work and coverage! Keep up the excellent works
guys I’ve you guys to my own blogroll.
luglio 7th, 2024 - 15:25
12 Statistics About ADHD In Adults Test To Make You
Think Twice About The Cooler. Cooler Adhd Test For Adults Uk
luglio 7th, 2024 - 15:30
Appreciate the recommendation. Will try it out.
luglio 7th, 2024 - 15:35
A Look Into The Future What’s The Act Fela Industry Look Like
In 10 Years? Federal employers Liability
luglio 7th, 2024 - 15:38
سلام!
ناصر رسولی هستم
من ناصر رسولی هستم مدیر پلتفرم ارسال رپورتاژ سئو هکر با بیش از
5000 دامنه فعال ایرانی و خارجی ، با
اجرای بیش از 3000 پروژه موفق سئو ، با اجرای بیش از 1200 مشاوره
موفق سئو ، اولین معرف سیستم PBN و PDN در ایران ، آموزش دهنده سئو منفی
، سئو خاکستری ، سئو سیاه با جدیدترین متدهای روز
دنیا…
در این وب سایت سعی بر این دارم
از تجربیاتم در دنیای وسیع سئو بگم و در حد توان کمکتون
کنم که بتونید تجربه شیرینی از سئو داشته
باشید.
luglio 7th, 2024 - 15:43
How Semi Truck Lawyer Became The Hottest Trend In 2023 Semi Truck Accident Attorney
luglio 7th, 2024 - 15:49
7 Secrets About Veterans Disability Case That No One Will Tell You Veterans Disability Attorneys
luglio 7th, 2024 - 15:58
The Three Greatest Moments In Cerebral Palsy Litigation History cerebral palsy lawsuit
luglio 7th, 2024 - 16:17
Why Semi Truck Compensation Is Still Relevant In 2023 Semi Truck accident attorney