Disable extra mouse buttons on 22.04 (Gnome)
Colin Law
clanlaw at gmail.com
Mon Jan 2 10:18:46 UTC 2023
On Mon, 2 Jan 2023 at 02:15, Little Girl <littlergirl at gmail.com> wrote:
>
> Hey there,
>
> Colin Law wrote:
>
> >I have a mouse with annoying extra buttons that I keep clicking by
> >accident. With the help of
> >https://wiki.archlinux.org/title/libinput#Configuration I managed to
> >identify the buttons (using libinput and xinput) and can disable them
> >with the command
> >xinput set-button-map 7 1 2 3 4 5 6 7 0 0 10
> >So I want to run this on login.
>
> Is this page of any use?
>
> https://stackoverflow.com/questions/8247706/start-script-when-gnome-starts-up
Brilliant, thanks. Running a script from a .desktop file in
~/.config/autostart worked perfectly.
Thanks again
Colin
More information about the ubuntu-users
mailing list