I was trying to increase my mouse scroll speed by following https://github.com/tkkcc/libinput_patch which requires modifying a file. Should be easy...
$ echo 6 > /tmp/libinput_discrete_deltay_multiplier
bash: /tmp/libinput_discrete_deltay_multiplier: Permission denied
Nothing a sudo wont solve right?
$ sudo bash -c 'echo "6" > /tmp/libinput_discrete_deltay_multiplier'
bash: line 1: /tmp/libinput_discrete_deltay_multiplier: Permission denied
Checks permisions
$ stat /tmp/libinput_discrete_deltay_multiplier
Access: (0666/-rw-rw-rw-)
At this moment I'm at the limit of my abilities. How can I change this file and why it doesn't let me change it even with root privileges? I tried many approaches and search engines are no good on this one.
Edit: Tried
$ echo 6 | sudo tee /tmp/libinput_discrete_deltay_multiplier
tee: /tmp/libinput_discrete_deltay_multiplier: Permission denied
$ dmesg | tail
dmesg: read kernel buffer failed: Operation not permitted