You should actually use
$ xmodmap ~/.Xmodmap
to load the configuration.
If not at your home directory when executing
$ xmodmap .Xmodmap
you probably get
xmodmap: unable to open file '.Xmodmap' for reading
xmodmap: 1 error encountered, aborting.
If that still doesn't solve the issue, Natural Scrolling in Lubuntu 17.04 has several alternatives, which seem to have helped some.
A summary:
- Modify
~/.Xmodmap
and reload it, as described above.
- Edit
/usr/share/X11/xorg.conf.d/40-libinput.conf
as shown here, which includes both the pointer and touchpad.
- If this does not work (100% of the times), try editing
/usr/share/X11/xorg.conf.d/70-synaptics-conf
as shown here.
- Try changing
gsettings
with gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll true
or gsettings set org.gnome.desktop.peripherals.touchpad natural-scroll false
. You can also do this via gui, with dconf-editor
(may require installing it).
Warning: Only changing the first 12 of 10 buttons.
it's showing this error, afterwards nothing happens, Do I need to reboot it ? – Shubharthak Jun 28 '21 at 08:47