Reverse UI-scrolling in Unity Ubuntu 16.04 with libinput
up vote
2
down vote
favorite
How can I reverse the UI-scrolling in Unity? My trackpad recognizes 2 fingers for scroll, but whenever I drag upwards, it scrolls up. I want it to be reverse, as if the trackpad mimics a touch-screen when scrolling.
(When I drag up, I scroll down).
I had it working in Unity until I tried out Gnome by installing it and testing it out. I have since purged gnome from my system, but the scrolling was inverted back to move up -> scroll up.
unity touchpad scrolling libinput
add a comment |
up vote
2
down vote
favorite
How can I reverse the UI-scrolling in Unity? My trackpad recognizes 2 fingers for scroll, but whenever I drag upwards, it scrolls up. I want it to be reverse, as if the trackpad mimics a touch-screen when scrolling.
(When I drag up, I scroll down).
I had it working in Unity until I tried out Gnome by installing it and testing it out. I have since purged gnome from my system, but the scrolling was inverted back to move up -> scroll up.
unity touchpad scrolling libinput
What sort of touchpad is it?
– fakedad
Mar 10 '17 at 16:03
Built in on a MacBook Pro (MacBook 11.1)
– vegarab
Mar 10 '17 at 17:15
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
How can I reverse the UI-scrolling in Unity? My trackpad recognizes 2 fingers for scroll, but whenever I drag upwards, it scrolls up. I want it to be reverse, as if the trackpad mimics a touch-screen when scrolling.
(When I drag up, I scroll down).
I had it working in Unity until I tried out Gnome by installing it and testing it out. I have since purged gnome from my system, but the scrolling was inverted back to move up -> scroll up.
unity touchpad scrolling libinput
How can I reverse the UI-scrolling in Unity? My trackpad recognizes 2 fingers for scroll, but whenever I drag upwards, it scrolls up. I want it to be reverse, as if the trackpad mimics a touch-screen when scrolling.
(When I drag up, I scroll down).
I had it working in Unity until I tried out Gnome by installing it and testing it out. I have since purged gnome from my system, but the scrolling was inverted back to move up -> scroll up.
unity touchpad scrolling libinput
unity touchpad scrolling libinput
edited Mar 10 '17 at 17:40
Pilot6
51.2k15107194
51.2k15107194
asked Mar 10 '17 at 14:48
vegarab
1131110
1131110
What sort of touchpad is it?
– fakedad
Mar 10 '17 at 16:03
Built in on a MacBook Pro (MacBook 11.1)
– vegarab
Mar 10 '17 at 17:15
add a comment |
What sort of touchpad is it?
– fakedad
Mar 10 '17 at 16:03
Built in on a MacBook Pro (MacBook 11.1)
– vegarab
Mar 10 '17 at 17:15
What sort of touchpad is it?
– fakedad
Mar 10 '17 at 16:03
What sort of touchpad is it?
– fakedad
Mar 10 '17 at 16:03
Built in on a MacBook Pro (MacBook 11.1)
– vegarab
Mar 10 '17 at 17:15
Built in on a MacBook Pro (MacBook 11.1)
– vegarab
Mar 10 '17 at 17:15
add a comment |
4 Answers
4
active
oldest
votes
up vote
1
down vote
accepted
Edit /usr/share/X11/xorg.conf.d/90-libinput.conf
and add
Option "NaturalScrolling" "true"
to the touchpad section of that file before EndSection
.
It can be done by
sudo -H gedit /usr/share/X11/xorg.conf.d/90-libinput.conf
I tried this earlier, but had to remove it from terminal, because the machine wasn't able to load GUI at boot - but I will give it another try.
– vegarab
Mar 10 '17 at 17:51
You probably placed it to a wrong part of the file or made a typo there. It works with no problems if you do it right.
– Pilot6
Mar 10 '17 at 17:52
Just performed a successful reboot, and I still have natural scrolling! I think the error I made last time was excluding the 'Option' at the start. The wiki didn't mention it at all. Thanks!
– vegarab
Mar 10 '17 at 17:56
Sounds great, but I don't have a confguration file for libinput.find / -name '*libinput*.conf'
gives me nothing.apt list --installed | grep libinput
shows thatlibinput-bin
andlibinput10
are installed. Any idea?
– njlarsson
Dec 31 '17 at 17:13
add a comment |
up vote
2
down vote
Following this guide:
xinput --list
and found my trackpad, bcm5974. Then checked properties of it:
xinput --list-props bcm5974
and saw
libinput Natural Scrolling Enabled (350): 0
libinput Natural Scrolling Enabled Default (351): 0
changed them by:
xinput --set-prop bcm5974 "libinput Natural Scrolling Enabled" 1
And problem is fixed.
This will work till next reboot. You'd better set it up in thelibinput.conf
– Pilot6
Mar 10 '17 at 17:38
How would that be done? Where is it located? Last time I tried to edit a .conf file using their Wiki, I ended up not being able to boot with GUI.
– vegarab
Mar 10 '17 at 17:49
See my answer. I will add a command.
– Pilot6
Mar 10 '17 at 17:51
add a comment |
up vote
1
down vote
For most people, the answer is:
- Search for "system settings"
- "Mouse & Touchpad"
- Enable "natural scrolling"
add a comment |
up vote
0
down vote
I have an GUI option for this in System Settings -> Mouse and Touchpad -> the touchpad entry tab. Don't you?
Under Mouse & Touchpad I have: Primary button [Left, right] and a Double-click speed adjust.
– vegarab
Mar 10 '17 at 17:15
Then try reversing the speed. In console, typesynclient VertScrollDelta=-1
It is either 1 or -1. Or you can use larger number if it gets too fast.
– Barafu Albino
Mar 10 '17 at 17:22
Couldn't find synaptics properties. No synaptics driver loaded? I have Libinput gestures installed for some easy 3-finger macros. It is a long time since I installed it and configured it, so I can't find the config file or the website I used to create it.
– vegarab
Mar 10 '17 at 17:25
Wow. Non-synaptics touchpads are outside my experience.
– Barafu Albino
Mar 10 '17 at 17:29
This is not related to either the touchpad is synaptics. It depends on which user space driver is used. OP is usinglibinput
. It does not have a GUI yet.
– Pilot6
Mar 10 '17 at 17:46
add a comment |
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Edit /usr/share/X11/xorg.conf.d/90-libinput.conf
and add
Option "NaturalScrolling" "true"
to the touchpad section of that file before EndSection
.
It can be done by
sudo -H gedit /usr/share/X11/xorg.conf.d/90-libinput.conf
I tried this earlier, but had to remove it from terminal, because the machine wasn't able to load GUI at boot - but I will give it another try.
– vegarab
Mar 10 '17 at 17:51
You probably placed it to a wrong part of the file or made a typo there. It works with no problems if you do it right.
– Pilot6
Mar 10 '17 at 17:52
Just performed a successful reboot, and I still have natural scrolling! I think the error I made last time was excluding the 'Option' at the start. The wiki didn't mention it at all. Thanks!
– vegarab
Mar 10 '17 at 17:56
Sounds great, but I don't have a confguration file for libinput.find / -name '*libinput*.conf'
gives me nothing.apt list --installed | grep libinput
shows thatlibinput-bin
andlibinput10
are installed. Any idea?
– njlarsson
Dec 31 '17 at 17:13
add a comment |
up vote
1
down vote
accepted
Edit /usr/share/X11/xorg.conf.d/90-libinput.conf
and add
Option "NaturalScrolling" "true"
to the touchpad section of that file before EndSection
.
It can be done by
sudo -H gedit /usr/share/X11/xorg.conf.d/90-libinput.conf
I tried this earlier, but had to remove it from terminal, because the machine wasn't able to load GUI at boot - but I will give it another try.
– vegarab
Mar 10 '17 at 17:51
You probably placed it to a wrong part of the file or made a typo there. It works with no problems if you do it right.
– Pilot6
Mar 10 '17 at 17:52
Just performed a successful reboot, and I still have natural scrolling! I think the error I made last time was excluding the 'Option' at the start. The wiki didn't mention it at all. Thanks!
– vegarab
Mar 10 '17 at 17:56
Sounds great, but I don't have a confguration file for libinput.find / -name '*libinput*.conf'
gives me nothing.apt list --installed | grep libinput
shows thatlibinput-bin
andlibinput10
are installed. Any idea?
– njlarsson
Dec 31 '17 at 17:13
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Edit /usr/share/X11/xorg.conf.d/90-libinput.conf
and add
Option "NaturalScrolling" "true"
to the touchpad section of that file before EndSection
.
It can be done by
sudo -H gedit /usr/share/X11/xorg.conf.d/90-libinput.conf
Edit /usr/share/X11/xorg.conf.d/90-libinput.conf
and add
Option "NaturalScrolling" "true"
to the touchpad section of that file before EndSection
.
It can be done by
sudo -H gedit /usr/share/X11/xorg.conf.d/90-libinput.conf
edited Mar 10 '17 at 17:52
answered Mar 10 '17 at 17:40
Pilot6
51.2k15107194
51.2k15107194
I tried this earlier, but had to remove it from terminal, because the machine wasn't able to load GUI at boot - but I will give it another try.
– vegarab
Mar 10 '17 at 17:51
You probably placed it to a wrong part of the file or made a typo there. It works with no problems if you do it right.
– Pilot6
Mar 10 '17 at 17:52
Just performed a successful reboot, and I still have natural scrolling! I think the error I made last time was excluding the 'Option' at the start. The wiki didn't mention it at all. Thanks!
– vegarab
Mar 10 '17 at 17:56
Sounds great, but I don't have a confguration file for libinput.find / -name '*libinput*.conf'
gives me nothing.apt list --installed | grep libinput
shows thatlibinput-bin
andlibinput10
are installed. Any idea?
– njlarsson
Dec 31 '17 at 17:13
add a comment |
I tried this earlier, but had to remove it from terminal, because the machine wasn't able to load GUI at boot - but I will give it another try.
– vegarab
Mar 10 '17 at 17:51
You probably placed it to a wrong part of the file or made a typo there. It works with no problems if you do it right.
– Pilot6
Mar 10 '17 at 17:52
Just performed a successful reboot, and I still have natural scrolling! I think the error I made last time was excluding the 'Option' at the start. The wiki didn't mention it at all. Thanks!
– vegarab
Mar 10 '17 at 17:56
Sounds great, but I don't have a confguration file for libinput.find / -name '*libinput*.conf'
gives me nothing.apt list --installed | grep libinput
shows thatlibinput-bin
andlibinput10
are installed. Any idea?
– njlarsson
Dec 31 '17 at 17:13
I tried this earlier, but had to remove it from terminal, because the machine wasn't able to load GUI at boot - but I will give it another try.
– vegarab
Mar 10 '17 at 17:51
I tried this earlier, but had to remove it from terminal, because the machine wasn't able to load GUI at boot - but I will give it another try.
– vegarab
Mar 10 '17 at 17:51
You probably placed it to a wrong part of the file or made a typo there. It works with no problems if you do it right.
– Pilot6
Mar 10 '17 at 17:52
You probably placed it to a wrong part of the file or made a typo there. It works with no problems if you do it right.
– Pilot6
Mar 10 '17 at 17:52
Just performed a successful reboot, and I still have natural scrolling! I think the error I made last time was excluding the 'Option' at the start. The wiki didn't mention it at all. Thanks!
– vegarab
Mar 10 '17 at 17:56
Just performed a successful reboot, and I still have natural scrolling! I think the error I made last time was excluding the 'Option' at the start. The wiki didn't mention it at all. Thanks!
– vegarab
Mar 10 '17 at 17:56
Sounds great, but I don't have a confguration file for libinput.
find / -name '*libinput*.conf'
gives me nothing. apt list --installed | grep libinput
shows that libinput-bin
and libinput10
are installed. Any idea?– njlarsson
Dec 31 '17 at 17:13
Sounds great, but I don't have a confguration file for libinput.
find / -name '*libinput*.conf'
gives me nothing. apt list --installed | grep libinput
shows that libinput-bin
and libinput10
are installed. Any idea?– njlarsson
Dec 31 '17 at 17:13
add a comment |
up vote
2
down vote
Following this guide:
xinput --list
and found my trackpad, bcm5974. Then checked properties of it:
xinput --list-props bcm5974
and saw
libinput Natural Scrolling Enabled (350): 0
libinput Natural Scrolling Enabled Default (351): 0
changed them by:
xinput --set-prop bcm5974 "libinput Natural Scrolling Enabled" 1
And problem is fixed.
This will work till next reboot. You'd better set it up in thelibinput.conf
– Pilot6
Mar 10 '17 at 17:38
How would that be done? Where is it located? Last time I tried to edit a .conf file using their Wiki, I ended up not being able to boot with GUI.
– vegarab
Mar 10 '17 at 17:49
See my answer. I will add a command.
– Pilot6
Mar 10 '17 at 17:51
add a comment |
up vote
2
down vote
Following this guide:
xinput --list
and found my trackpad, bcm5974. Then checked properties of it:
xinput --list-props bcm5974
and saw
libinput Natural Scrolling Enabled (350): 0
libinput Natural Scrolling Enabled Default (351): 0
changed them by:
xinput --set-prop bcm5974 "libinput Natural Scrolling Enabled" 1
And problem is fixed.
This will work till next reboot. You'd better set it up in thelibinput.conf
– Pilot6
Mar 10 '17 at 17:38
How would that be done? Where is it located? Last time I tried to edit a .conf file using their Wiki, I ended up not being able to boot with GUI.
– vegarab
Mar 10 '17 at 17:49
See my answer. I will add a command.
– Pilot6
Mar 10 '17 at 17:51
add a comment |
up vote
2
down vote
up vote
2
down vote
Following this guide:
xinput --list
and found my trackpad, bcm5974. Then checked properties of it:
xinput --list-props bcm5974
and saw
libinput Natural Scrolling Enabled (350): 0
libinput Natural Scrolling Enabled Default (351): 0
changed them by:
xinput --set-prop bcm5974 "libinput Natural Scrolling Enabled" 1
And problem is fixed.
Following this guide:
xinput --list
and found my trackpad, bcm5974. Then checked properties of it:
xinput --list-props bcm5974
and saw
libinput Natural Scrolling Enabled (350): 0
libinput Natural Scrolling Enabled Default (351): 0
changed them by:
xinput --set-prop bcm5974 "libinput Natural Scrolling Enabled" 1
And problem is fixed.
answered Mar 10 '17 at 17:31
vegarab
1131110
1131110
This will work till next reboot. You'd better set it up in thelibinput.conf
– Pilot6
Mar 10 '17 at 17:38
How would that be done? Where is it located? Last time I tried to edit a .conf file using their Wiki, I ended up not being able to boot with GUI.
– vegarab
Mar 10 '17 at 17:49
See my answer. I will add a command.
– Pilot6
Mar 10 '17 at 17:51
add a comment |
This will work till next reboot. You'd better set it up in thelibinput.conf
– Pilot6
Mar 10 '17 at 17:38
How would that be done? Where is it located? Last time I tried to edit a .conf file using their Wiki, I ended up not being able to boot with GUI.
– vegarab
Mar 10 '17 at 17:49
See my answer. I will add a command.
– Pilot6
Mar 10 '17 at 17:51
This will work till next reboot. You'd better set it up in the
libinput.conf
– Pilot6
Mar 10 '17 at 17:38
This will work till next reboot. You'd better set it up in the
libinput.conf
– Pilot6
Mar 10 '17 at 17:38
How would that be done? Where is it located? Last time I tried to edit a .conf file using their Wiki, I ended up not being able to boot with GUI.
– vegarab
Mar 10 '17 at 17:49
How would that be done? Where is it located? Last time I tried to edit a .conf file using their Wiki, I ended up not being able to boot with GUI.
– vegarab
Mar 10 '17 at 17:49
See my answer. I will add a command.
– Pilot6
Mar 10 '17 at 17:51
See my answer. I will add a command.
– Pilot6
Mar 10 '17 at 17:51
add a comment |
up vote
1
down vote
For most people, the answer is:
- Search for "system settings"
- "Mouse & Touchpad"
- Enable "natural scrolling"
add a comment |
up vote
1
down vote
For most people, the answer is:
- Search for "system settings"
- "Mouse & Touchpad"
- Enable "natural scrolling"
add a comment |
up vote
1
down vote
up vote
1
down vote
For most people, the answer is:
- Search for "system settings"
- "Mouse & Touchpad"
- Enable "natural scrolling"
For most people, the answer is:
- Search for "system settings"
- "Mouse & Touchpad"
- Enable "natural scrolling"
answered Nov 16 at 2:14
Mitchell Tracy
111
111
add a comment |
add a comment |
up vote
0
down vote
I have an GUI option for this in System Settings -> Mouse and Touchpad -> the touchpad entry tab. Don't you?
Under Mouse & Touchpad I have: Primary button [Left, right] and a Double-click speed adjust.
– vegarab
Mar 10 '17 at 17:15
Then try reversing the speed. In console, typesynclient VertScrollDelta=-1
It is either 1 or -1. Or you can use larger number if it gets too fast.
– Barafu Albino
Mar 10 '17 at 17:22
Couldn't find synaptics properties. No synaptics driver loaded? I have Libinput gestures installed for some easy 3-finger macros. It is a long time since I installed it and configured it, so I can't find the config file or the website I used to create it.
– vegarab
Mar 10 '17 at 17:25
Wow. Non-synaptics touchpads are outside my experience.
– Barafu Albino
Mar 10 '17 at 17:29
This is not related to either the touchpad is synaptics. It depends on which user space driver is used. OP is usinglibinput
. It does not have a GUI yet.
– Pilot6
Mar 10 '17 at 17:46
add a comment |
up vote
0
down vote
I have an GUI option for this in System Settings -> Mouse and Touchpad -> the touchpad entry tab. Don't you?
Under Mouse & Touchpad I have: Primary button [Left, right] and a Double-click speed adjust.
– vegarab
Mar 10 '17 at 17:15
Then try reversing the speed. In console, typesynclient VertScrollDelta=-1
It is either 1 or -1. Or you can use larger number if it gets too fast.
– Barafu Albino
Mar 10 '17 at 17:22
Couldn't find synaptics properties. No synaptics driver loaded? I have Libinput gestures installed for some easy 3-finger macros. It is a long time since I installed it and configured it, so I can't find the config file or the website I used to create it.
– vegarab
Mar 10 '17 at 17:25
Wow. Non-synaptics touchpads are outside my experience.
– Barafu Albino
Mar 10 '17 at 17:29
This is not related to either the touchpad is synaptics. It depends on which user space driver is used. OP is usinglibinput
. It does not have a GUI yet.
– Pilot6
Mar 10 '17 at 17:46
add a comment |
up vote
0
down vote
up vote
0
down vote
I have an GUI option for this in System Settings -> Mouse and Touchpad -> the touchpad entry tab. Don't you?
I have an GUI option for this in System Settings -> Mouse and Touchpad -> the touchpad entry tab. Don't you?
answered Mar 10 '17 at 17:10
Barafu Albino
4,84311732
4,84311732
Under Mouse & Touchpad I have: Primary button [Left, right] and a Double-click speed adjust.
– vegarab
Mar 10 '17 at 17:15
Then try reversing the speed. In console, typesynclient VertScrollDelta=-1
It is either 1 or -1. Or you can use larger number if it gets too fast.
– Barafu Albino
Mar 10 '17 at 17:22
Couldn't find synaptics properties. No synaptics driver loaded? I have Libinput gestures installed for some easy 3-finger macros. It is a long time since I installed it and configured it, so I can't find the config file or the website I used to create it.
– vegarab
Mar 10 '17 at 17:25
Wow. Non-synaptics touchpads are outside my experience.
– Barafu Albino
Mar 10 '17 at 17:29
This is not related to either the touchpad is synaptics. It depends on which user space driver is used. OP is usinglibinput
. It does not have a GUI yet.
– Pilot6
Mar 10 '17 at 17:46
add a comment |
Under Mouse & Touchpad I have: Primary button [Left, right] and a Double-click speed adjust.
– vegarab
Mar 10 '17 at 17:15
Then try reversing the speed. In console, typesynclient VertScrollDelta=-1
It is either 1 or -1. Or you can use larger number if it gets too fast.
– Barafu Albino
Mar 10 '17 at 17:22
Couldn't find synaptics properties. No synaptics driver loaded? I have Libinput gestures installed for some easy 3-finger macros. It is a long time since I installed it and configured it, so I can't find the config file or the website I used to create it.
– vegarab
Mar 10 '17 at 17:25
Wow. Non-synaptics touchpads are outside my experience.
– Barafu Albino
Mar 10 '17 at 17:29
This is not related to either the touchpad is synaptics. It depends on which user space driver is used. OP is usinglibinput
. It does not have a GUI yet.
– Pilot6
Mar 10 '17 at 17:46
Under Mouse & Touchpad I have: Primary button [Left, right] and a Double-click speed adjust.
– vegarab
Mar 10 '17 at 17:15
Under Mouse & Touchpad I have: Primary button [Left, right] and a Double-click speed adjust.
– vegarab
Mar 10 '17 at 17:15
Then try reversing the speed. In console, type
synclient VertScrollDelta=-1
It is either 1 or -1. Or you can use larger number if it gets too fast.– Barafu Albino
Mar 10 '17 at 17:22
Then try reversing the speed. In console, type
synclient VertScrollDelta=-1
It is either 1 or -1. Or you can use larger number if it gets too fast.– Barafu Albino
Mar 10 '17 at 17:22
Couldn't find synaptics properties. No synaptics driver loaded? I have Libinput gestures installed for some easy 3-finger macros. It is a long time since I installed it and configured it, so I can't find the config file or the website I used to create it.
– vegarab
Mar 10 '17 at 17:25
Couldn't find synaptics properties. No synaptics driver loaded? I have Libinput gestures installed for some easy 3-finger macros. It is a long time since I installed it and configured it, so I can't find the config file or the website I used to create it.
– vegarab
Mar 10 '17 at 17:25
Wow. Non-synaptics touchpads are outside my experience.
– Barafu Albino
Mar 10 '17 at 17:29
Wow. Non-synaptics touchpads are outside my experience.
– Barafu Albino
Mar 10 '17 at 17:29
This is not related to either the touchpad is synaptics. It depends on which user space driver is used. OP is using
libinput
. It does not have a GUI yet.– Pilot6
Mar 10 '17 at 17:46
This is not related to either the touchpad is synaptics. It depends on which user space driver is used. OP is using
libinput
. It does not have a GUI yet.– Pilot6
Mar 10 '17 at 17:46
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f891655%2freverse-ui-scrolling-in-unity-ubuntu-16-04-with-libinput%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What sort of touchpad is it?
– fakedad
Mar 10 '17 at 16:03
Built in on a MacBook Pro (MacBook 11.1)
– vegarab
Mar 10 '17 at 17:15