How to disable trackpad horizontal scrolling
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I've recently switched from Ubuntu to Debian+Openbox on my ageing laptop. The minimalism is refreshing.
When I drag sideways with two fingers on the touchpad, this is interpreted as a horizontal scroll. Is there any way I can disable this?
Using xev
I've identified that a two-finger horizontal drag is buttons 6 and 7. I've tried adding this line to .Xmodmap
:
pointer = 1 2 3 5 4
which I hoped would implicitly unassign the horizontal scroll from buttons 6 and 7, but this hasn't worked.
debian openbox
add a comment |Â
up vote
3
down vote
favorite
I've recently switched from Ubuntu to Debian+Openbox on my ageing laptop. The minimalism is refreshing.
When I drag sideways with two fingers on the touchpad, this is interpreted as a horizontal scroll. Is there any way I can disable this?
Using xev
I've identified that a two-finger horizontal drag is buttons 6 and 7. I've tried adding this line to .Xmodmap
:
pointer = 1 2 3 5 4
which I hoped would implicitly unassign the horizontal scroll from buttons 6 and 7, but this hasn't worked.
debian openbox
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I've recently switched from Ubuntu to Debian+Openbox on my ageing laptop. The minimalism is refreshing.
When I drag sideways with two fingers on the touchpad, this is interpreted as a horizontal scroll. Is there any way I can disable this?
Using xev
I've identified that a two-finger horizontal drag is buttons 6 and 7. I've tried adding this line to .Xmodmap
:
pointer = 1 2 3 5 4
which I hoped would implicitly unassign the horizontal scroll from buttons 6 and 7, but this hasn't worked.
debian openbox
I've recently switched from Ubuntu to Debian+Openbox on my ageing laptop. The minimalism is refreshing.
When I drag sideways with two fingers on the touchpad, this is interpreted as a horizontal scroll. Is there any way I can disable this?
Using xev
I've identified that a two-finger horizontal drag is buttons 6 and 7. I've tried adding this line to .Xmodmap
:
pointer = 1 2 3 5 4
which I hoped would implicitly unassign the horizontal scroll from buttons 6 and 7, but this hasn't worked.
debian openbox
debian openbox
asked Sep 6 '17 at 13:03
Jack Deeth
758
758
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
accepted
Debian 9 should use the libinput
driver by default (xserver-xorg-input-libinput
), so I'm going with a solution for that one (see here).
Create a file /etc/X11/xorg.conf.d/40-libinput.conf
(create the directory if not existing) with the following content:
$ cat /etc/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "HorizontalScrolling" "false"
EndSection
You can refer to the libinput man page for a detailed description of available configuration options.
If you are using the synaptics
driver (xserver-xorg-input-synaptics
), have a look at the relevant page of the debian wiki or the archlinux wiki, the solution is almost identical.
Brilliant! That fixed it. Thanks very much!
â Jack Deeth
Sep 6 '17 at 14:30
add a comment |Â
up vote
0
down vote
Same answer for a mouse
Here is an example that disable horizontal scroll (Save the new file and reboot)
nano /etc/X11/xorg.conf.d/40-libinput-mouse-left-right.conf
Section "InputClass"
Identifier "Logitech catchall"
MatchIsPointer "on"
Driver "libinput"
Option "HorizontalScrolling" "false"
EndSection
Other useful commands
xinput list
xinput list-props 15
Also xorg config file can be used to remap button
Section "InputClass"
# ...
Option "ButtonMapping" "1 9 3 4 5 6 7 8 2"
# OR
Option "ButtonMapping" "a b c d e f g h i"
# ...
EndSection
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
Debian 9 should use the libinput
driver by default (xserver-xorg-input-libinput
), so I'm going with a solution for that one (see here).
Create a file /etc/X11/xorg.conf.d/40-libinput.conf
(create the directory if not existing) with the following content:
$ cat /etc/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "HorizontalScrolling" "false"
EndSection
You can refer to the libinput man page for a detailed description of available configuration options.
If you are using the synaptics
driver (xserver-xorg-input-synaptics
), have a look at the relevant page of the debian wiki or the archlinux wiki, the solution is almost identical.
Brilliant! That fixed it. Thanks very much!
â Jack Deeth
Sep 6 '17 at 14:30
add a comment |Â
up vote
2
down vote
accepted
Debian 9 should use the libinput
driver by default (xserver-xorg-input-libinput
), so I'm going with a solution for that one (see here).
Create a file /etc/X11/xorg.conf.d/40-libinput.conf
(create the directory if not existing) with the following content:
$ cat /etc/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "HorizontalScrolling" "false"
EndSection
You can refer to the libinput man page for a detailed description of available configuration options.
If you are using the synaptics
driver (xserver-xorg-input-synaptics
), have a look at the relevant page of the debian wiki or the archlinux wiki, the solution is almost identical.
Brilliant! That fixed it. Thanks very much!
â Jack Deeth
Sep 6 '17 at 14:30
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
Debian 9 should use the libinput
driver by default (xserver-xorg-input-libinput
), so I'm going with a solution for that one (see here).
Create a file /etc/X11/xorg.conf.d/40-libinput.conf
(create the directory if not existing) with the following content:
$ cat /etc/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "HorizontalScrolling" "false"
EndSection
You can refer to the libinput man page for a detailed description of available configuration options.
If you are using the synaptics
driver (xserver-xorg-input-synaptics
), have a look at the relevant page of the debian wiki or the archlinux wiki, the solution is almost identical.
Debian 9 should use the libinput
driver by default (xserver-xorg-input-libinput
), so I'm going with a solution for that one (see here).
Create a file /etc/X11/xorg.conf.d/40-libinput.conf
(create the directory if not existing) with the following content:
$ cat /etc/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "HorizontalScrolling" "false"
EndSection
You can refer to the libinput man page for a detailed description of available configuration options.
If you are using the synaptics
driver (xserver-xorg-input-synaptics
), have a look at the relevant page of the debian wiki or the archlinux wiki, the solution is almost identical.
edited Sep 6 '17 at 14:32
answered Sep 6 '17 at 14:15
resc
837315
837315
Brilliant! That fixed it. Thanks very much!
â Jack Deeth
Sep 6 '17 at 14:30
add a comment |Â
Brilliant! That fixed it. Thanks very much!
â Jack Deeth
Sep 6 '17 at 14:30
Brilliant! That fixed it. Thanks very much!
â Jack Deeth
Sep 6 '17 at 14:30
Brilliant! That fixed it. Thanks very much!
â Jack Deeth
Sep 6 '17 at 14:30
add a comment |Â
up vote
0
down vote
Same answer for a mouse
Here is an example that disable horizontal scroll (Save the new file and reboot)
nano /etc/X11/xorg.conf.d/40-libinput-mouse-left-right.conf
Section "InputClass"
Identifier "Logitech catchall"
MatchIsPointer "on"
Driver "libinput"
Option "HorizontalScrolling" "false"
EndSection
Other useful commands
xinput list
xinput list-props 15
Also xorg config file can be used to remap button
Section "InputClass"
# ...
Option "ButtonMapping" "1 9 3 4 5 6 7 8 2"
# OR
Option "ButtonMapping" "a b c d e f g h i"
# ...
EndSection
add a comment |Â
up vote
0
down vote
Same answer for a mouse
Here is an example that disable horizontal scroll (Save the new file and reboot)
nano /etc/X11/xorg.conf.d/40-libinput-mouse-left-right.conf
Section "InputClass"
Identifier "Logitech catchall"
MatchIsPointer "on"
Driver "libinput"
Option "HorizontalScrolling" "false"
EndSection
Other useful commands
xinput list
xinput list-props 15
Also xorg config file can be used to remap button
Section "InputClass"
# ...
Option "ButtonMapping" "1 9 3 4 5 6 7 8 2"
# OR
Option "ButtonMapping" "a b c d e f g h i"
# ...
EndSection
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Same answer for a mouse
Here is an example that disable horizontal scroll (Save the new file and reboot)
nano /etc/X11/xorg.conf.d/40-libinput-mouse-left-right.conf
Section "InputClass"
Identifier "Logitech catchall"
MatchIsPointer "on"
Driver "libinput"
Option "HorizontalScrolling" "false"
EndSection
Other useful commands
xinput list
xinput list-props 15
Also xorg config file can be used to remap button
Section "InputClass"
# ...
Option "ButtonMapping" "1 9 3 4 5 6 7 8 2"
# OR
Option "ButtonMapping" "a b c d e f g h i"
# ...
EndSection
Same answer for a mouse
Here is an example that disable horizontal scroll (Save the new file and reboot)
nano /etc/X11/xorg.conf.d/40-libinput-mouse-left-right.conf
Section "InputClass"
Identifier "Logitech catchall"
MatchIsPointer "on"
Driver "libinput"
Option "HorizontalScrolling" "false"
EndSection
Other useful commands
xinput list
xinput list-props 15
Also xorg config file can be used to remap button
Section "InputClass"
# ...
Option "ButtonMapping" "1 9 3 4 5 6 7 8 2"
# OR
Option "ButtonMapping" "a b c d e f g h i"
# ...
EndSection
answered 15 mins ago
intika
1695
1695
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f390692%2fhow-to-disable-trackpad-horizontal-scrolling%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password