Skip to main content

Posts

Showing posts from 2018

Disabling middle click paste and close in ubuntu 18.04 by enabling /etc/rc.local

How to disable middle click button in ubuntu 18.04 by enabling /etc/rc.local Create or edit/etc/rc.local file #!/bin/bash xinput set-button-map 11 1 0 3 exit 0 Make sure it is executable $sudo chmod 755 /etc/rc.local Edit rc-local.service file sudo vim /etc/systemd/system/rc-local.service   Add this section [Install]  WantedBy=multi-user.target Enable the service sudo systemctl enable rc-local