amm
Member
Posts: 1
Likes: 0
|
Post by amm on Oct 13, 2020 23:01:48 GMT
Hi, I'm using Bodhi 5.1 on my old laptop, and I've recently configured everything I could, but I didn't find any option for enabling natural scrolling on the touchpad. Is there any way to do it? Thank you
|
|
rrashkin
Crew Member
 
Posts: 101
Likes: 85
|
Post by rrashkin on Oct 14, 2020 17:01:40 GMT
Hi amm,
I'm no expert and so I'm sure there are better/easier/more efficient ways and I really don't even know if this will work for you. But here it is. A couple of versions ago I had an issue with getting Tap-to-click working. I did some rudimentary search and found xinput. So here's what I did to get the tap working. I suspect the scrolling can be done too. It's not a small program so if someone has a better idea you might want to go that way. Anyway, here it is:
Enable “tap to click” on TouchPad: >install xinput: sudo apt install xinput >list the devices to find pointer: xinput --list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=12 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Power Button id=8 [slave keyboard (3)] ↳ Sleep Button id=9 [slave keyboard (3)] ↳ VGA Webcam: VGA Webcam id=10 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)] ↳ Acer WMI hotkeys id=13 [slave keyboard (3)]
[note the ID number, 12] >list the properties of the pointer: xinput --list-props 12 Device 'SynPS/2 Synaptics TouchPad': Device Enabled (142): 1 Coordinate Transformation Matrix (144): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 libinput Tapping Enabled (277): 0 libinput Tapping Enabled Default (278): 0 libinput Tapping Drag Enabled (279): 1 [there are a bunch more. note the property, 277] >enable tapping: xinput --set-prop 12 277
|
|
ahen
Member
Posts: 57
Likes: 40
|
Post by ahen on Jan 14, 2021 19:58:26 GMT
There is a cleaner way to do it:
|
|
ahen
Member
Posts: 57
Likes: 40
|
Post by ahen on May 17, 2021 0:15:50 GMT
Bumping this with content from the old forum as I've just done this on Bodhi 6 and confirmed it works:
First (as root) created an empty directory /etc/X11/xorg.conf.d
In that directory, 40-libinput.conf with these contents:
Section "InputClass" Identifier "libinput touchpad catchall" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "Tapping" "on" Option "TappingButtonMap" "lmr" Option "ScrollMethod" "edge" Option "NaturalScrolling" "on" EndSection
Note that before this change, both two finger and edge scrolling were active on my touchpad, but afterwards only edge scrolling is. That's fine with me. The TappingButtonMap option "lmr" sets one finger tap to left click, two finger tap to middle click and three finger tap to right click. It's possible to use other combinations, like "lrm".
My understanding is that this is the preferred method for systems using libinput, as Bodhi is.
|
|
ahen
Member
Posts: 57
Likes: 40
|
Post by ahen on Jul 13, 2021 21:40:21 GMT
Also, since I just plugged in a wheel mouse and wanted natural scrolling on that as well, here's the updated 40-libinput.conf that enables that:
Section "InputClass" Identifier "libinput touchpad catchall" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "Tapping" "on" Option "TappingButtonMap" "lmr" Option "ScrollMethod" "edge" Option "NaturalScrolling" "on" EndSection
Section "InputClass" Identifier "libinput pointer catchall" MatchIsPointer "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "NaturalScrolling" "on" EndSection
|
|
roomsg
Member
Posts: 1
Likes: 2
|
Post by roomsg on Nov 8, 2022 12:40:19 GMT
What about: check <settings><settings panel><input><mouse><touchpad><scrolling><natural scrolling> (in "scrolling" section, after also checking "Enable Devices Extra") does to trick for me (bodhi:6.1.0 / moksha:0.3.4)
context: just installed bodhi on my 2010 macbookpro and tuning it to my own (mac-biased) comfort.
|
|
|
Post by thewaiter on Nov 8, 2022 16:33:53 GMT
roomsg is right. I added settings for touchpad in last moksha releases. | |