XPS 13: Difference between revisions

From stacky wiki
Line 7: Line 7:


Instead, trying the approach suggested in [http://andym3.wordpress.com/2012/05/27/fixing-natural-scrolling-in-ubuntu-12-04/#comment-571 this comment]. Since <code>/etc/X11/xorg.conf.d</code> didn't exist yet, I made it first.
Instead, trying the approach suggested in [http://andym3.wordpress.com/2012/05/27/fixing-natural-scrolling-in-ubuntu-12-04/#comment-571 this comment]. Since <code>/etc/X11/xorg.conf.d</code> didn't exist yet, I made it first.
<pre>
<pre>
sudo mkdir /etc/X11/xorg.conf.d
sudo mkdir /etc/X11/xorg.conf.d
Line 12: Line 13:
sudo vi /etc/X11/xorg.conf.d/50-synaptics.conf
sudo vi /etc/X11/xorg.conf.d/50-synaptics.conf
</pre>
</pre>
Then added the following line to the <code>touchpad catchall</code> inputclass:
Then added the following line to the <code>touchpad catchall</code> inputclass:
<pre>
<pre>Option "VertScrollDelta" "-25"</pre>
Option "VertScrollDelta" "-25"
The number 25 was obtained using <code>xipnput</code> as described [http://andym3.wordpress.com/2012/05/27/fixing-natural-scrolling-in-ubuntu-12-04/ here]. First do  
</pre>
<pre>xinput list</pre>
The number 25 was obtained using <code>xipnput</code> as described [http://andym3.wordpress.com/2012/05/27/fixing-natural-scrolling-in-ubuntu-12-04/ here]. First do <code>xinput list</code> to find the id of the Cypress trackpad (in my case it's 12), and then <code>xinput list-props 12 | grep "Scrolling Distance"</code>.
to find the id of the Cypress trackpad (in my case it's 12), and then
<pre>xinput list-props 12 | grep "Scrolling Distance"</pre>


After logout and login, seems to work great!
After logout and login, seems to work great!


== Windows refund ==
== Windows refund ==

Revision as of 21:54, 27 June 2012

Natural scrolling

Tried installing ubuntu tweak, then doing setting Tweaks > Miscellaneous > Natural Scrolling to "on". Apparently, this simply modifies ~/.Xmodmap to be

pointer = 1 2 3 5 4 6 7 8 9 10 11 12

where the reversed 4 and 5 indicate that up and down scrolling is reversed. However, this doesn't reverse scrolling in nautilus or the package manager. See this bug.

Instead, trying the approach suggested in this comment. Since /etc/X11/xorg.conf.d didn't exist yet, I made it first.

sudo mkdir /etc/X11/xorg.conf.d
sudo cp /usr/share/X11/xorg.conf.d/50-synaptics.conf /etc/X11/xorg.conf.d/
sudo vi /etc/X11/xorg.conf.d/50-synaptics.conf

Then added the following line to the touchpad catchall inputclass:

Option "VertScrollDelta" "-25"

The number 25 was obtained using xipnput as described here. First do

xinput list

to find the id of the Cypress trackpad (in my case it's 12), and then

xinput list-props 12 | grep "Scrolling Distance"

After logout and login, seems to work great!

Windows refund