Bug 244397

Summary: x11-wm/xfce4 Mouse and Touchpad settings with UDEV xorg-server
Product: Ports & Packages Reporter: Marko Cupać <marko.cupac>
Component: Individual Port(s)Assignee: freebsd-xfce (Nobody) <xfce>
Status: Open ---    
Severity: Affects Only Me CC: andrew.hotlab, duchateau.olivier, madpilot, mi
Priority: --- Flags: madpilot: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
Xorg.0.log none

Description Marko Cupać 2020-02-25 11:42:14 UTC

since upgrade to xorg-server to 1.20.7,1 on my 12.1-RELEASE-p2 x64, it seems that XFCE's Mouse and Touchpad settings don't affect my Synpatics touchpad behaviour (no xf86-input-synaptics installed). I noticed it because my pointer quit accelerating after upgrade, and it wouldn't accelerate no matter what I set in Mouse and Touchpad settings.

I found out that, in order to be able to set touchpad properties, I need to set `sysctl kern.evdev.rcpt_ask=6' (as mentioned in xorg-server's pkg-message), and manipulate device properties with xinput, as instructed here:


It would be nice to get the ability to set most important mouse properties from Mouse and Touchpad settings back.

Comment 1 Guido Falsi freebsd_committer 2020-02-29 11:43:58 UTC

I see this is a regression caused by the switch to udev.

I personally use the synaptic driver I think, but it's not very important since I hate touchpads(and touchscreens too) and always have a wired mouse with me (I also have little sympathy for wireless mice), so I really would never notice such an issue.

I'm not in the situation to code this myself, and can't make promises about this.

This could be escalated upstream as a feature request for the xfce people. Maybe with knowledge of how the setting applet works it is not a difficult thing to setup.

Would you mind filing a feature request in xfce bugzilla?
Comment 2 Olivier Duchateau 2020-02-29 12:26:23 UTC
(In reply to Marko Cupać from comment #0)

Why not to use Xorg settings? It is portable since now we use xf86-input-libinput.
Comment 3 Marko Cupać 2020-03-11 15:31:01 UTC
(In reply to Guido Falsi from comment #1)

I have reported problem there:

(In reply to Olivier Duchateau from comment #2)

I guess I could find how to set this in xorg.conf, but I'd be grateful if you gave me an example - perhaps other people who find this bug will also find it useful.

Anyway, the goal of this PR is to restore functionality of "Mouse and Touchpad" component of xfce-settings on FreeBSD. Let's hope for a patch, either on FreeBSD port, or directly upstream.
Comment 4 Mikhail Teterin freebsd_committer 2020-04-04 21:25:48 UTC
Created attachment 213077 [details]

> I need to set `sysctl kern.evdev.rcpt_ask=6'

I had to set it to 12 for my PS/2 keyboard to start working -- maybe, a USB one would've worked with 6, but I have a PS/2 one.

My USB mouse is detected, and its buttons work -- Xfce4's context menus do popup, when I press a mouse-button.

But there is no mouse-cursor visible... The xinput lists the following devices (real and virtual):

Б║ Virtual core pointer                         id=2    [master pointer  (3)]
Б   БЁ Virtual core XTEST pointer               id=4    [slave  pointer  (2)]
Б   БЁ System mouse                             id=6    [slave  pointer  (2)]
Б   БЁ Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)   id=9    [slave  pointer  (2)]
Бё Virtual core keyboard                        id=3    [master keyboard (2)]
    БЁ Virtual core XTEST keyboard              id=5    [slave  keyboard (3)]
    БЁ Power Button                             id=7    [slave  keyboard (3)]
    БЁ AT keyboard                              id=8    [slave  keyboard (3)]

I don't use moused -- and would prefer to continue not to.