2

I have just installed ubuntu-gnome-16.04 flavor on my notebook and am quite pleased with it.

But natural scrolling was not really working. I have followed some answers on these questions:

  1. Enable natural scrolling on ubuntu 17.04 with gnome-shell
  2. Reverse two finger scroll direction (natural scrolling)?
  3. How to enable natural scrolling with mouse in 17.04?

After installing xserver-xorg-input-libinput, this answer in particular gave me what I wanted, but only until I reboot. How can I make this permanent?

Why this is not a duplicate: I am not looking for a way to run this command every time I boot ubuntu. I am looking for a proper way of change the settings without the need to run this command arbitrarily every time I boot. Specially, I am trying to avoid putting this command to change a setting anywhere it doesn't belong. I had previously managed to make it work by making the command run on by appending it to ~/.bashrc. But leaving it there felt unnatural. Maybe I am wrong, but I have the feeling this is not the proper place to make this setting change even if it does work

1 Answers1

1

what I did and it works for me is to add the line

xinput set-prop 10 278 1

into the .bashrc file.

sudo nano ~/.bashrc

Thanks for sharing the answer, i found your question while I was searching how to make my mouse with a Natural Scroll

Bo rislav
  • 158