View previous topic :: View next topic |
Author |
Message |
mortonP Tux's lil' helper
Joined: 22 Dec 2015 Posts: 94
|
Posted: Thu Jan 02, 2025 10:06 am Post subject: grpahical UI for modifying libinput props/parameters |
|
|
I have a laptop with a touchpad, driven by libinput under X.
I want to tune its parameters - acceleration etc.
I can do "xinput list-props -d xxx" and then set prop to different values, but this is not very efficient.
The ArchWiki suggests (https://wiki.archlinux.org/title/Libinput#Graphical_tools)
multiple graphical UIs for that, however all of them require a heavy DE: Gnome, KDE, ....
...which I do not have, just a simple WM.
Is there a simple, standalone, graphical X tool to play around with libinput parameters?
Thank you! |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3462 Location: Canada
|
Posted: Thu Jan 02, 2025 11:43 pm Post subject: |
|
|
I would just set it once by hand in some filie like
/etc/xorg.cond.d/90touchpad.conf
and forget about it. On my laptop I still use synaptics drivers, so I created the file with the following content
Code: |
$ cat /etc/X11/xorg.conf.d/90-SynPS2-Synaptics-touchpad.conf
Section "InputClass"
# Identifier and driver
Identifier "SynPS/2 Synaptics TouchPad"
MatchIsTouchpad "true"
Driver "synaptics"
Option "TapButton1" "1"
Option "LeftEdge" "120"
Option "RightEdge" "1800"
Option "TopEdge" "60"
Option "BottomEdge" "1000"
Option "EmulateMidButtonTime" "75"
Option "VertEdgeScroll" "1"
Option "HorizEdgeScroll" "1"
Option "CornerCoasting" "0"
Option "CoastingSpeed" "10"
Option "CoastingFriction" "5"
Option "VertScrollDelta" "48"
Option "HorizScrollDelta" "48"
#Option "MinSpeed" "0.60"
#Option "MaxSpeed" "1.10"
#Option "AccelFactor" "0.030"
#Option "EdgeMotionMinSpeed" "200"
#Option "EdgeMotionMaxSpeed" "200"
Option "CircularScrolling" "1"
Option "CircScrollDelta" "0.1"
Option "CircScrollTrigger" "7"
Option "GrabEventDevice" "0"
EndSection
|
and did not touch it for already 7 years. In you case identifier will be different, Device will be libinput, and then the list of parameters.
The values you can tweak with xinput on the running server to find the best, and then record them in this file for future. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20552
|
Posted: Fri Jan 03, 2025 2:59 am Post subject: Re: grpahical UI for modifying libinput props/parameters |
|
|
mortonP wrote: | Is there a simple, standalone, graphical X tool to play around with libinput parameters? | If you don't find anything else, you could try xfce4-settings. If you set -upower -xklavier for it, there may only be two additional dependencies: Code: | [ebuild N ] xfce-base/garcon-4.18.2::gentoo USE="-introspection" 566 KiB
[ebuild N ] xfce-base/exo-4.18.0::gentoo 876 KiB
[ebuild N ] xfce-base/xfce4-settings-4.18.6-r1::gentoo USE="libnotify -colord -libcanberra -upower -xklavier" INPUT_DEVICES="libinput" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13" 1,524 KiB | I also have xfce-base/xfconf and xfce-base/libxfce4ui, so maybe one or both of those might be needed too. I don't use or otherwise have xfce4 installed.
Perhaps not ideal, but maybe usable. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|