You are not logged in.

#1 2024-01-08 06:22:17

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

[SOLVED] mkinitcpio resets xinput configuration

Hi, I'm using i3wm and one thing I have noticed recently is after every package upgrade involving `mkinitcpio` all `xinput` settings get reset, such as keyboard layout, mouse acceleration and etc.

Mouse acceleration problem seems to be working with an i3wm reload, but for the keyboard layout I have to manually set via `setxkbmap`.

I did not have this problem at first, but just started seeing in quite some months but too lazy to ask in forums, any ideas?

Last edited by erfanjoker (2024-01-10 11:31:18)

Offline

#2 2024-01-08 07:25:57

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,573

Re: [SOLVED] mkinitcpio resets xinput configuration

https://bugs.archlinux.org/task/77789 - but that's supposed to be closed?

Edit: please post the complete output of a breaking mkinitcpio invocation.

Last edited by seth (2024-01-08 07:26:56)

Offline

#3 2024-01-08 11:43:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,273

Re: [SOLVED] mkinitcpio resets xinput configuration

You can only "truly" avoid that by configuring the file mentioned in https://gitlab.archlinux.org/archlinux/ … 97e8b3baff and creating the file "/etc/systemd/do-not-udevadm-trigger-on-update"

FWIW since the logical implication is that this simply "reconnects" the devices, how are you currently setting up those settings? As part of the i3 startup directly via xinput? If you configured them as xorg configlets instead they would/should get reapplied whenever there's a "new device" connected, e.g. https://wiki.archlinux.org/title/Xorg/K … tion_files

Online

#4 2024-01-10 11:30:41

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

Re: [SOLVED] mkinitcpio resets xinput configuration

Thanks guy, problem solved, I made an xorg config file and set values from there, seems like handy solutions like xinput and setxkbmap command to manipulate settings at startup is not the best way.

Offline

Board footer

Powered by FluxBB