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?