Score:0

How to change natural scrolling in Unity 20.04?

cn flag

I've tried the method mentioned here, using xinput:

sudo xinput set-prop 12

which gives

Device 'SYNA8018:00 06CB:CE67 Touchpad':
Device Enabled (189):   1
Coordinate Transformation Matrix (191): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled (343): 0
libinput Tapping Enabled Default (344): 0
libinput Tapping Drag Enabled (345):    1
libinput Tapping Drag Enabled Default (346):    1
libinput Tapping Drag Lock Enabled (347):   0
libinput Tapping Drag Lock Enabled Default (348):   0
libinput Tapping Button Mapping Enabled (349):  1, 0
libinput Tapping Button Mapping Default (350):  1, 0
libinput Natural Scrolling Enabled (327):   0
libinput Natural Scrolling Enabled Default (328):   0
libinput Disable While Typing Enabled (351):    1
libinput Disable While Typing Enabled Default (352):    1
libinput Scroll Methods Available (329):    1, 1, 0
libinput Scroll Method Enabled (330):   1, 0, 0
libinput Scroll Method Enabled Default (331):   1, 0, 0
libinput Click Methods Available (353): 1, 1
libinput Click Method Enabled (354):    1, 0
libinput Click Method Enabled Default (355):    1, 0
libinput Middle Emulation Enabled (356):    0
libinput Middle Emulation Enabled Default (357):    0
libinput Accel Speed (334): 0.000000
libinput Accel Speed Default (335): 0.000000
libinput Left Handed Enabled (339): 0
libinput Left Handed Enabled Default (340): 0
libinput Send Events Modes Available (312): 1, 1
libinput Send Events Mode Enabled (313):    0, 0
libinput Send Events Mode Enabled Default (314):    0, 0
Device Node (315):  "/dev/input/event5"
Device Product ID (316):    1739, 52839
libinput Drag Lock Buttons (341):   <no items>
libinput Horizontal Scroll Enabled (342):   1

Then, using the following works to reverse scrolling:

sudo xinput set-prop 12 327 1

However, this isn't permanent and reverts after a reboot. So I've tried the following:

sudo xinput set-prop 12 328 1

This should put the default as natural scrolling, but I get the following errors:

X Error of failed request:  BadAccess (attempt to access private resource denied)
Major opcode of failed request:  131 (XInputExtension)
Minor opcode of failed request:  57 ()
Serial number of failed request:  20
Current serial number in output stream:  21

Even though I used sudo?? How to enable it anyway? Or does there exist another way to enable natural scrolling?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.