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 5th, 2024 - 10:49
Keep on working, great job!
luglio 5th, 2024 - 11:06
Online Shopping Uk Electronics Tools To Make Your Daily Lifethe One
Online Shopping Uk Electronics Technique Every Person Needs
To Be Able To Online Shopping Uk Electronics
luglio 5th, 2024 - 11:09
Why The Fha 203K Mortgage Loan Program One More Called The
But Loan 무직자 대출 (fwme.eu)
luglio 5th, 2024 - 11:11
Incredible tons of useful info!
luglio 5th, 2024 - 11:12
What Is Upvc Doors Repair’s History? History Of Upvc Doors
Repair upvc door fittings (farmarm.net)
luglio 5th, 2024 - 11:14
Qué excelentemente estructurado está tu texto; es un placer repasar algo tan bien estructurado.
luglio 5th, 2024 - 11:16
Heya! I know this is somewhat off-topic but I had to ask. Does building a well-established website like yours take a large amount of work? I’m brand new to blogging but I do write in my diary on a daily basis. I’d like to start a blog so I can easily share my personal experience and thoughts online. Please let me know if you have any ideas or tips for new aspiring bloggers. Thankyou!
luglio 5th, 2024 - 11:18
20 Double Glazed Windows Repairs Websites That Are Taking The Internet By
Storm window repair [Mack]
luglio 5th, 2024 - 11:22
We absolutely love your blog and find most of your post’s to be exactly I’m looking for.
Does one offer guest writers to write content in your case?
I wouldn’t mind writing a post or elaborating on a number of the subjects you write regarding here.
Again, awesome blog!
luglio 5th, 2024 - 11:23
Great weblog here! Also your site loads up fast!
What host are you the usage of? Can I am getting your associate link
to your host? I desire my site loaded up as quickly as yours lol
luglio 5th, 2024 - 11:24
Pretty section of content. I just stumbled upon your web site and in accession capital to
assert that I acquire actually enjoyed account
your blog posts. Any way I’ll be subscribing to your feeds and even I achievement you access
consistently quickly.
luglio 5th, 2024 - 11:25
Just want to say your article is as astonishing. The clearness in your post is just
cool and i can assume you are an expert on this subject.
Well with your permission allow me to grab your feed to
keep updated with forthcoming post. Thanks a million and please
carry on the enjoyable work.
luglio 5th, 2024 - 11:26
What Is Semi Truck Attorney? History Of Semi Truck Attorney Semi Truck Accident Attorney (Avtotok24.Ru)
luglio 5th, 2024 - 11:26
Unquestionably believe that which you stated. Your favorite reason seemed
to be on the web the easiest thing to be aware of. I say to you, I certainly get irked while people think
about worries that they plainly don’t know about. You managed
to hit the nail 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 5th, 2024 - 11:27
This is a topic that’s close to my heart… Thank you! Exactly where are your contact details though? http://Hjinterior.kr/bbs/board.php?bo_table=free&wr_id=299870
luglio 5th, 2024 - 11:27
The Expert Guide To Online Shopping Online Shopping sites For clothes
luglio 5th, 2024 - 11:36
Fantastic beat ! I would like to apprentice whilst you amend your website, how can i subscribe for a blog site?
The account aided me a applicable deal. I had been a little bit familiar of this your broadcast provided bright
clear idea
luglio 5th, 2024 - 11:39
hi!,I like your writing so so much! share we communicate more approximately your article on AOL?
I require an expert on this house to resolve my problem.
Maybe that is you! Looking forward to see you.
luglio 5th, 2024 - 11:44
I am curious to find out what blog platform you happen to be utilizing?
I’m experiencing some minor security problems
with my latest site and I would like to find something more safeguarded.
Do you have any recommendations?
luglio 5th, 2024 - 11:48
Its such as you read my mind! You seem to grasp a lot approximately
this, such as you wrote the e book in it or something.
I feel that you simply could do with some % to power
the message home a bit, but other than that, this is excellent blog.
A great read. I will certainly be back.
luglio 5th, 2024 - 11:58
Hey this is kind of of off topic but I was wanting to know if blogs use WYSIWYG editors or if you
have to manually code with HTML. I’m starting a blog soon but have no coding expertise so
I wanted to get guidance from someone with experience.
Any help would be enormously appreciated!
luglio 5th, 2024 - 12:08
Wonderful beat ! I would like to apprentice while you amend your web site, how could i subscribe for a blog
website? The account aided me a acceptable deal. I had been a little bit
acquainted of this your broadcast provided bright clear idea
Also visit my site – Lottery Defeater
luglio 5th, 2024 - 12:10
Hi there to all, the contents existing at this web site are in fact
amazing for people knowledge, well, keep up the nice
work fellows.
luglio 5th, 2024 - 12:19
Why You Should Focus On Improving Narrow American Fridge Freezer zackfoxworth.top
luglio 5th, 2024 - 12:21
Three Reasons Why 3 Reasons Why Your Bunk Beds Online Is Broken (And
How To Fix It) Edda Fay
luglio 5th, 2024 - 12:32
12 Companies Leading The Way In Repairs To Double Glazed Windows
Window Repair
luglio 5th, 2024 - 12:40
5 Clarifications On Treadmill That Folds Flat Zack Foxworth
luglio 5th, 2024 - 12:43
I like the helpful info you provide in your articles.
I’ll bookmark your blog and check again here frequently. I am rather sure I’ll learn many
new stuff proper right here! Good luck for the following!
luglio 5th, 2024 - 12:51
Ridiculous quest there. What occurred after? Thanks!
luglio 5th, 2024 - 12:57
7 Easy Tips For Totally Moving Your Semi Truck Legal Semi truck accidents
luglio 5th, 2024 - 13:06
15 Presents For The 18-Wheeler Wreck Lawyer Lover In Your Life accident
luglio 5th, 2024 - 13:07
I’m not sure why but this blog is loading extremely slow for me.
Is anyone else having this problem or is it a issue on my
end? I’ll check back later and see if the problem still exists.
luglio 5th, 2024 - 13:10
Howdy! Do you know if they make any plugins
to assist with Search Engine Optimization? I’m trying to get my blog to
rank for some targeted keywords but I’m not seeing very good gains.
If you know of any please share. Many thanks!
luglio 5th, 2024 - 13:11
Excellent article. Keep writing such kind of information on your page.
Im really impressed by it.
Hey there, You have done a great job. I’ll certainly digg it and in my
view recommend to my friends. I am sure they’ll be benefited
from this web site.
luglio 5th, 2024 - 13:12
I was wondering if you ever thought of changing
the layout of your website? Its very well written; I love what youve got to say.
But maybe you could a little more in the way of content so people could connect
with it better. Youve got an awful lot of text for
only having 1 or 2 pictures. Maybe you could space it out better?
luglio 5th, 2024 - 13:16
10 Best Mobile Apps For Personal Injury Attorney personal injury attorneys
luglio 5th, 2024 - 13:19
Thanks for your marvelous posting! I definitely enjoyed reading it, you may be a great author.I will make sure to bookmark your blog and may come back at some point.
I want to encourage you to definitely continue your great posts, have a nice afternoon!
my web blog … lottery defeater software review
luglio 5th, 2024 - 13:35
What Experts In The Field Of Asbestos Claims After Death Want
You To Be Able To 9363280.xyz
luglio 5th, 2024 - 13:35
I visited many blogs but the audio quality for audio songs present
at this web site is truly fabulous.
luglio 5th, 2024 - 13:35
Very great post. I just stumbled upon your blog and wanted to say that I have truly loved surfing
around your blog posts. After all I’ll be subscribing to your feed and I’m hoping you
write once more soon!
luglio 5th, 2024 - 13:38
The 9 Things Your Parents Teach You About Glass Replacement Windows Glass replacement window
luglio 5th, 2024 - 13:41
Excellent blog here! Also your site loads up very fast!
What web host are you using? Can I get your affiliate link to
your host? I wish my web site loaded up as quickly as yours
lol
luglio 5th, 2024 - 13:43
How To Explain Boot Scooter To Your Mom arlennizo
luglio 5th, 2024 - 13:52
What Personal Injury Case Experts Want You To Be Educated Personal injury lawyers
luglio 5th, 2024 - 13:54
Hi! Do you know if they make any plugins to help with SEO?
I’m trying to get my blog to rank for some targeted keywords but I’m not
seeing very good success. If you know of any please share.
Cheers!
luglio 5th, 2024 - 13:57
Its like you read my mind! You appear to know a lot about
this, such as you wrote the e book in it or something.
I think that you could do with some percent to force the message house a
bit, however other than that, this is fantastic blog.
A great read. I’ll certainly be back.
luglio 5th, 2024 - 13:57
Wonderful blog you have here but I was curious if you knew of any user
discussion forums that cover the same topics talked about in this article?
I’d really love to be a part of group where I can get opinions from other experienced people that share
the same interest. If you have any recommendations, please let me know.
Thank you!
luglio 5th, 2024 - 14:07
I’m gone to convey my little brother, that he should also pay a visit this website on regular basis to get updated from
most recent gossip.
luglio 5th, 2024 - 14:09
สวัสดีครับ! ฉันได้อ่านบทความของคุณเกี่ยวกับคาสิโนทดลองด้วยความพึงพอใจมากมาย เป็นที่ท้าและน่าสนใจที่จะเห็นว่าการพนันออนไลน์นั้นมีมากมายประเด็นแล้วก็ประโยชน์เยอะมากที่ผู้คนสามารถได้รับต่อจากนั้น
คาสิโนออนไลน์เว็บตรง168ไม่เฉพาะแต่เป็นการพรีเซนเทชั่นเกมที่น่าสนใจอย่างเช่น เว็บเกมสล็อต รูเล็ต ทดลอง
และก็ไพ่ แต่ยังเป็นแหล่งที่สะดวกที่ผู้คนสามารถเข้าถึงได้ตลอดเวลา ไม่ว่าจะเป็นผ่านคอมพิวเตอร์หรือโทรศัพท์มือถือ ทำให้การเล่นเกมเป็นเรื่องที่ไม่ยากและสบายมากขึ้น
ฉันเห็นจุดสำคัญสำหรับในการเล่นคาสิโนออนไลน์ ที่ดีที่สุดที่มีความปลอดภัยและก็น่าไว้วางใจ เพราะมีระบบระเบียบการคลังที่ปลอดภัยและมีการจัดแจงด้านความปลอดภัยอย่างเหมาะสม เพื่อให้ผู้เล่นได้รับความแน่ใจในการใช้บริการ
ขอบคุณสำหรับเพื่อการแบ่งปันข้อมูลน่าดึงดูดเกี่ยวกับคาสิโนออนไลน์นี้ครับผม หวังว่าจะได้พบกันอีกในบทความต่อไป!
ด้วยความนับถือ,
luglio 5th, 2024 - 14:16
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
trouble. You are wonderful! Thanks!