Possible to run xinput changes upon login?
Hi there,
I've spent my day trying to migrate from Neon to Arch+i3. It's been a huge headache, but that was expected. Alright- so I found some commands to enable 2/3 finger clicking, tap-to-click, and natural scrolling that are in the format of "xinput set-prop stuff". I apparently have to run this every time I log in. I was thinking of having i3 execute a bash script with the commands I aforementioned, but figured that there's probably a smarter way to do this with a dotfile. Am I correct? Can I enable these touchpad parameters this way?
Also, I do already have libinput-gestures through an exec in the bottom of my i3 .config.
About this post
- Posted
- Archived
- Score
- 3 · 100% up
- Kind
- Text
- ID
- a9ug91
8 comments
~/.xprofileis supported by many display managers, if yours doesn't, or if you don't use a display manager, you're probably best off leaving it in your i3 configHm. I added my commands to the .xprofile and it didn't seem to do anything upon restart. I then added an exec to a .sh containing the startup commands to my i3 config and it didn't seem change anything either (running the commands in the command line still works). I feel like I'm going crazy, as the i3 thing should have worked.
do you know gossip
How are you launching X? Using xinit, I put all my custom xinput settings in ~/.xinitrc and they load just fine. From experience, the same xinput settings in my i3 config file do nothing.
So I tried something, and I'm not sure if this is entirely "correct:"
Place my three xinput commands at the start of my ~/.xinitrc, and then run my exec i3 after. This works. Is this how you'd do it?
Correct.