You are not logged in.

#1 2021-03-13 03:37:19

ahillio
Member
Registered: 2021-03-13
Posts: 18

touchpad/mouse configuration

I just installed Bunsen Labs on a laptop... and the touchpad is so sensitive that random up/down window scrolling is happening while I'm typing (accidentally brushing the touchpad with my palm).  I don't see any installed applications for configuring this.  Are there any?  Any suggestions for configuring/desensitizing the touchpad?  Thanks ~Alec

Offline

#2 2021-03-13 05:58:30

phuturism
Member
From: Melbourne
Registered: 2016-07-15
Posts: 167

Re: touchpad/mouse configuration

ahillio wrote:

I just installed Bunsen Labs on a laptop... and the touchpad is so sensitive that random up/down window scrolling is happening while I'm typing (accidentally brushing the touchpad with my palm).  I don't see any installed applications for configuring this.  Are there any?  Any suggestions for configuring/desensitizing the touchpad?  Thanks ~Alec

I've had issues in the past with Thinkpad touchpad sensitivity but easily remedied with the right configuration.  You probably have to get into the guts of the config file (like /etc/X11/xorg.conf.d/synaptics.conf for example).

This Debian page will help you to determine what kind of touchpad you have, and how to configure it correctly.

https://wiki.debian.org/SynapticsTouchpad

Offline

#3 2021-03-13 12:43:24

ohnonot
...again
Registered: 2015-09-29
Posts: 5,383
Website

Re: touchpad/mouse configuration

It's also possible that you don't have the right driver (yet), and it's using the default pointing device driver.
Do things like tap to click or 2-finger scrolling work?
Maybe we need

lspci -k

output.


Please use CODE tags for code.
Search youtube without a browser: repo | thread
BL quote proposals to this thread please.
my repos / my repos

Offline

#4 2021-03-13 17:31:18

jeffreyC
Member
Registered: 2019-09-07
Posts: 26

Re: touchpad/mouse configuration

Maybe the solution used here will help?:

https://forums.bunsenlabs.org/viewtopic.php?id=4899

Offline

#5 2021-03-13 22:45:03

ahillio
Member
Registered: 2021-03-13
Posts: 18

Re: touchpad/mouse configuration

Thanks for these suggestions!  I'll be looking into them for another round of wrangling tomorrow!

Offline

#6 2021-03-16 02:08:25

ahillio
Member
Registered: 2021-03-13
Posts: 18

Re: touchpad/mouse configuration

lspci -k

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Root Complex
	Subsystem: Hewlett-Packard Company Family 16h Processor Root Complex
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kabini [Radeon HD 8210]
	Subsystem: Hewlett-Packard Company Kabini [Radeon HD 8210]
	Kernel driver in use: radeon
	Kernel modules: radeon, amdgpu
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
	Subsystem: Hewlett-Packard Company Kabini HDMI/DP Audio
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 0
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
	Kernel driver in use: pcieport
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
	Kernel driver in use: pcieport
00:02.5 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1
	Kernel driver in use: pcieport
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 01)
	Subsystem: Hewlett-Packard Company FCH USB XHCI Controller
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
	Subsystem: Hewlett-Packard Company FCH SATA Controller [AHCI mode]
	Kernel driver in use: ahci
	Kernel modules: ahci
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 39)
	Subsystem: Hewlett-Packard Company FCH USB OHCI Controller
	Kernel driver in use: ohci-pci
	Kernel modules: ohci_pci
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)
	Subsystem: Hewlett-Packard Company FCH USB EHCI Controller
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 39)
	Subsystem: Hewlett-Packard Company FCH USB OHCI Controller
	Kernel driver in use: ohci-pci
	Kernel modules: ohci_pci
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 39)
	Subsystem: Hewlett-Packard Company FCH USB EHCI Controller
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 3a)
	Subsystem: Hewlett-Packard Company FCH SMBus Controller
	Kernel modules: i2c_piix4, sp5100_tco
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 02)
	Subsystem: Hewlett-Packard Company FCH Azalia Controller
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
	Subsystem: Hewlett-Packard Company FCH LPC Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 3
	Kernel driver in use: k10temp
	Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 4
	Kernel driver in use: fam15h_power
	Kernel modules: fam15h_power
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 5
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter (rev 01)
	Subsystem: Hewlett-Packard Company RTL8188EE mini-PCIe card
	Kernel driver in use: rtl8188ee
	Kernel modules: rtl8188ee
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)
	Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet controller
	Kernel driver in use: r8169
	Kernel modules: r8169
06:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
	Subsystem: Hewlett-Packard Company RTS5229 PCI Express Card Reader
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

Offline

#7 2021-03-16 02:11:26

ahillio
Member
Registered: 2021-03-13
Posts: 18

Re: touchpad/mouse configuration

egrep -i 'synap|alps|etps|elan' /proc/bus/input/devices

prints:

N: Name="SynPS/2 Synaptics TouchPad"

Offline

#8 2021-03-16 02:20:10

ahillio
Member
Registered: 2021-03-13
Posts: 18

Re: touchpad/mouse configuration

`man 4 synaptics` does indeed bring up a man page and I see a bunch of "scroll" options including `VertTwoFingerScroll` but I have no idea what to do with those options.  The suggested config file `/etc/X11/xorg.conf.d/synaptics.conf` doesn't exist so there aren't any examples for me to learn from.  Aside from not knowing what kind of syntax to use in this config file, I don't know what values to give the options (or even which options since there's a bunch that contain the word "scroll").

Offline

#9 2021-03-16 02:38:04

ahillio
Member
Registered: 2021-03-13
Posts: 18

Re: touchpad/mouse configuration

The issue at https://forums.bunsenlabs.org/viewtopic.php?id=4899 as well as the issue which that thread links to both seem unrelated to my circumstances.  I don't want to disable the the trackpad while typing nor create a hotkey for disabling trackpad... the problem I'm experiencing isn't just while typing but it also occurs while using the track pad.  Track pad is freaky, it jumps like a grasshopper on methamphetamines while I'm trying to casually scroll down the page (it also disrupts me while I'm typing, both by scrolling and by switching [i think] workspaces).  This makes it terribly difficult to use. cry

Offline

#10 2021-03-16 02:42:03

damo
....moderator....
Registered: 2015-08-20
Posts: 6,572

Re: touchpad/mouse configuration

Look in .config/bunsen/autostart. There is a section in there for TOUCHPAD - just add the settings you want.

The command synclient -l displays your current settings, and you can try temporary changes by using the relevant parameter. Make them permanent by adding them to autostart. You can change the sensivity and delta to suit.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#11 2021-03-16 02:53:30

ahillio
Member
Registered: 2021-03-13
Posts: 18

Re: touchpad/mouse configuration

The suggested config file `/etc/X11/xorg.conf.d/synaptics.conf` doesn't exist so there aren't any examples for me to learn from.

whoops, further reading from https://wiki.debian.org/SynapticsTouchp … f_Touchpad and /usr/share/X11/xorg.conf.d/70-synaptics.conf file as well as an example on the Arch wiki shows me enough of the syntax to use.  Though I'm still unsure of what options I should fiddle with... but it looks like I'm at least at the point where I can fiddle and see what happens....

Offline

#12 2021-03-16 03:03:24

ahillio
Member
Registered: 2021-03-13
Posts: 18

Re: touchpad/mouse configuration

.config/bunsen/autostart  --- nice, glad to learn about that!  and synclient -l also.  Can the autostart config take any option/value that can be specified in /etc/X11/xorg.conf.d/synaptics.conf?  Do these configurations require a reboot to take effect?  It looks like restart the xserver is required... is

sudo systemctl restart lightdm.service

the appropriate way in this Debian/Bunsen world to do that?

Last edited by ahillio (2021-03-16 03:04:01)

Offline

#13 2021-03-16 06:31:22

phuturism
Member
From: Melbourne
Registered: 2016-07-15
Posts: 167

Re: touchpad/mouse configuration

ahillio wrote:

The suggested config file `/etc/X11/xorg.conf.d/synaptics.conf` doesn't exist so there aren't any examples for me to learn from.

whoops, further reading from https://wiki.debian.org/SynapticsTouchp … f_Touchpad and /usr/share/X11/xorg.conf.d/70-synaptics.conf file as well as an example on the Arch wiki shows me enough of the syntax to use.  Though I'm still unsure of what options I should fiddle with... but it looks like I'm at least at the point where I can fiddle and see what happens....

Great progress!   

Just do some googling on how to increase/decrease sensitivity, see if you want enable two finger scrolling etc...  you will have to logout to ensure the values are read again - unless someone knows some CLI magic to re-apply the rules without logging out.

Offline

#14 2021-03-16 11:33:23

ohnonot
...again
Registered: 2015-09-29
Posts: 5,383
Website

Re: touchpad/mouse configuration

ahillio wrote:

.config/bunsen/autostart  --- nice, glad to learn about that!  and synclient -l also.  Can the autostart config take any option/value that can be specified in /etc/X11/xorg.conf.d/synaptics.conf?  Do these configurations require a reboot to take effect?  It looks like restart the xserver is required... is

sudo systemctl restart lightdm.service

the appropriate way in this Debian/Bunsen world to do that?

No, that seems like overkill.
You can test the synclient options in a terminal first, they should take effect immediately.
If you like what you get, put that in autostart.
If you want to make sure that it gets applied automatically, log out and back in.

IIRC synclient syntax differs from the xorg.conf syntax; read

man synclient

Please use CODE tags for code.
Search youtube without a browser: repo | thread
BL quote proposals to this thread please.
my repos / my repos

Offline

#15 2021-03-16 21:48:12

ahillio
Member
Registered: 2021-03-13
Posts: 18

Re: touchpad/mouse configuration

With the `synclient` command I was able to update the options and play with them to get it right (Arch wiki gave me the specific options to use) using command `synclient FingerLow=40` &  `synclient FingerHigh=45` until I found the right balance.

Then open the file:

.config/bunsen/autostart

and found the line:

synclient VertEdgeScroll=1 HorizEdgeScroll=1 TapButton1=1 2>/dev/null

... and updated it like so

synclient FingerLow=65 FingerHigh=70 VertEdgeScroll=1 HorizEdgeScroll=1 TapButton1=1 2>/dev/null

..and so now the options should persist (though I haven't actually rebooted the machine to find out).

Thanks for the suggestions and feedback here that helped me along the way!

Offline

#16 2021-03-17 14:50:18

ahillio
Member
Registered: 2021-03-13
Posts: 18

Re: touchpad/mouse configuration

Huh, surprisingly...

synclient FingerLow=65 FingerHigh=70 VertEdgeScroll=1 HorizEdgeScroll=1 TapButton1=1 2>/dev/null

in my .config/bunsenlabs/autostart file isn't working.

When I woke up my computer from sleep/suspend the scrolling was wacky again and

$ sysclient -l
...config...
  FingerLow        = 25
  FingerHigh       = 30
... rest of config...

so I have to manually run

sysclient FingerLow=65
sysclient FingerHigh=70

Offline

#17 2021-03-17 14:57:53

ahillio
Member
Registered: 2021-03-13
Posts: 18

Re: touchpad/mouse configuration

The only change I made to the autostart config is adding those two options to the synclient lines.  The full config file is here:

## BunsenLabs autostart
## ====================
## When you login to your BunsenLabs session, this autostart script
## will be executed to launch any applications
## you want to run at startup.
##
## NB, like openbox's autostart script, this uses the default shell,
## so "bashisms" are not supported.
##
## (Environment variables are set in ~/.config/bunsen/environment.)
##
## Note: some programs, such as 'nm-applet' are run via XDG autostart,
## from .desktop files in /etc/xdg/autostart and ~/.config/autostart.
## To disable this, comment out the last line in this file:
## "bl-xdg-autostart"
##
## Run 'bl-xdg-autostart --list' to list any XDG autostarted programs.
##
## If you do something cool with your autostart script and you think others
## could benefit from your hack, please consider sharing it at:
## http://forums.bunsenlabs.org (registration required)
##

## WINDOW MANAGER
## Do not edit the next line unless you have also installed any
## necessary other programs for the different window manager,
## and edited the window-manager-dependent section later in this file.
## Use the window manager's actual command, not name:
window_manager=openbox

# test if chosen window manager is actually running (you should probably not edit this line)
pgrep -x -u "$USER" "$window_manager" || { echo "$0: Window manager $window_manager is not running." >&2 ; exit 1;}

### SETTINGS START

# start keybinds daemon
# (If this clashes with some window manager's keybinds,
# you can move it to the window-manager-dependent section below.)
xbindkeys_autostart

## Turn on/off system beep.
xset b off

## Set keyboard settings - 250 ms delay and 25 cps (characters per second) repeat rate.
## Adjust the values according to your preferances.
xset r rate 250 25

## Add keyboard mapping.
#xmodmap -e "keysym Insert = Multi_key"

## Disable CapsLock
#setxkbmap -option ctrl:nocaps
# alternative: use as compose key
#setxkbmap -option compose:caps

### TOUCHPAD: comment out the next two entries if you don't have one

## Configure touchpad. See 'man synaptics' for more info.
## (Now might be using libinput instead of synaptics.)
synclient FingerLow=65 FingerHigh=70 VertEdgeScroll=1 HorizEdgeScroll=1 TapButton1=1 2>/dev/null

## Disable touchpad while typing
syndaemon -i .5 -K -t -R -d &

### TOUCHPAD END

### SETTINGS END

## GNOME PolicyKit authentication
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &

#######################################################
######## window-manager-dependent applications ########
# these will be things like panels, conky, wallpaper etc

case "$window_manager" in
openbox)
    ## The following applications will only be started in an openbox session.
    ## Add a new clause for your window manager, if different.

    ## Alias Super key to Super+Space for single-key menu.
    ## See 'man xcape' for other possibilities.
    xcape -e 'Super_L=Super_L|space'

    ## Set a wallpaper
    nitrogen --restore

    ## Compton
    ## NOTE: composition must be started before tint2
    bl-compositor --start

    ## Start the tint2 session (the default tint2 will run if no sessions have been set)
    ( sleep 2; bl-tint2-session ) &

    ## Start the Conky session (the default conkyrc will run if no sessions have been set)
    bl-conky-session --autostart &
    ;;
    # End of openbox application group.

## Vague possibility for XFCE window manager
#xfwm4)
#   xcape -e 'Super_L=Super_L|space'
#   (sleep 3; xfdesktop) &
#   bl-tint2-session
#   bl-conky-session --autostart &
#   ;;

## Vague possibility for Awesome window manager
#awesome)
#    bl-compositor --start
#    xfce4-panel &
#    bl-conky-session --autostart &
#    ;;

esac

####### end of window-manager-dependent section #######
#######################################################

### Following entries apply to all window managers: ###

## Volume control for systray
pnmixer &

## Start Clipboard manager
clipit &

## Start Thunar Daemon, if set as bl-file-manager
if [ "$(readlink -f $(which bl-file-manager))" = "$(which thunar)" ]
then
    thunar --daemon &
fi

## bl-welcome - post-installation script, will not run in a live session
## and only runs once. Safe to remove.
(sleep 10; bl-welcome --firstrun) &

## bl-fortune - have the system come up with a little adage
## These quotes are from the #! and BL forums.
## Many of them are from the 'Off Topic' subforums of those sites,
## so they are likely to be abstract, out-of-context...
## ... and possibly Not Safe For Work, children, or your mental health in general.
## Uncomment the following line to enable this (adjust the sleep seconds to taste).
#(sleep 20; bl-fortune) &

## Run the XDG autostart stuff. This requires python3-xdg to be installed.
## See bl-xdg-autostart --list for list of autostarted applications.
bl-xdg-autostart

Offline

#18 2021-03-17 15:37:32

ahillio
Member
Registered: 2021-03-13
Posts: 18

Re: touchpad/mouse configuration

note to lost wanderers: while the command `synclient FingerLow=65` will set that option, the help for `synclient` is not very helpful, but if you're looking for an explanation of the available options that can be attained via

man synaptics

Last edited by ahillio (2021-03-17 15:38:07)

Offline

#19 2021-03-18 05:55:15

ohnonot
...again
Registered: 2015-09-29
Posts: 5,383
Website

Re: touchpad/mouse configuration

ahillio wrote:

When I woke up my computer from sleep/suspend the scrolling was wacky again

In that case you should try the xorg.conf.d method discussed earlier in this thread (again, archwiki has good resources on this).
Don't despair, once set up properly you can forget about it.


Please use CODE tags for code.
Search youtube without a browser: repo | thread
BL quote proposals to this thread please.
my repos / my repos

Offline

Board footer

Powered by FluxBB