You are not logged in.

#1 2024-05-02 07:04:33

archuser38013
Member
Registered: 2024-01-27
Posts: 31

Touchpad occasionally reactivates itself dispite disabling in .xinitrc

.Xinirc:

[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
xinput disable "SIGMACHIP USB Keyboard Mouse"
exec ratpoison

I disabled it originally because it would act weird and do randomly movement and clicks sometimes and also using a real mouse on the few occasions where a pointer is required preferring keyboard navigation mostly.

Despite being in the .xinitrc and working most of the time, on rare occasions it will be activated again and I have to run the xinput line again from the command line.

Offline

#2 2024-05-02 16:55:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,888

Re: Touchpad occasionally reactivates itself dispite disabling in .xinitrc

Are "rare occasions" a system update/waking up from suspend? Both conditions lead to a logical "reconnect" of the device.

Configure and disable it with a xorg configlet that will make xorg reapply the disablement each time (or flat out blacklist the responsible kernel module), e.g. a /etc/X11/xorg.conf.d/99-disableTouchpad.conf

Section "InputClass"
   MatchProduct "SIGMACHIP USB Keyboard Mouse"
   Option "Ignore" "true"
EndSection

you might want have some other conditions as detailed in: https://man.archlinux.org/man/xorg.conf … SS_SECTION

Also, your .xinitrc is incomplete and will very likely run you into problems sooner or later, fix it and make sure you include the relevant if statements and includes mentioned in the blue notes: https://wiki.archlinux.org/title/Xinit#xinitrc

Offline

Board footer

Powered by FluxBB