Score:1

What is the Wayland equivalent of xinput and synclient and ~/.xprofile?

sc flag

Ubuntu (21.10 now) wants us to use Wayland instead of X11 but how to do this in Wayland:

mac2011-linux% more ~/.xprofile
## emulate middle with double click
# xinput set-prop 12 353 1

## avoid spurious click to paste while scrolling
# xinput set-button-map 14 1 3 2
xinput list|grep pointer|tail -1|grep -o 'id=[0-9]*'|grep -o '[0-9]*'|xargs -i x
input set-button-map "{}" 1 3 2

# Synaptics touchpad settings
synclient LockedDrags=1
synclient HorizScrollDelta=-243
synclient TapButton3=2

?

More clearly, the above configures mouse buttons and Synaptics touchpad driver for my session.

Pilot6 avatar
cn flag
It is done in `libinput`.
cn flag
Installing the package `libinput-tools` and using the command `libinput` may work like `xinput`, but at least for me the biggest difference and disadvantage seems you need be *root* even just to see a *list of current input devices*. :-(
pierrely avatar
cn flag
I just tried libinput list-devices without sudo. and it showed devices. 22.04
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.