Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-03-03 03:02:14

ldd
Member
Registered: 2016-10-19
Posts: 9

Mouse sensitivity settings keeps resetting after system reboot/suspend

I didn't have any problems with my mouse sensitivity before until I did a system upgrade last week. Usually my sensitivity only acts up when I'm on the log in screen because it's the Unity greeter. Because I have a hybrid wireless mouse the system detects it as 2 different devices, and every time my sensitivity keeps resetting. The weird thing is that the whole mouse sensitivity bar is gone on Unity.

I tried locking the xfce mouse settings config file but the only thing it would do was locking the value graphically while the sensitivity still changed.

I tried adding a few more lines after ~/.profile but since my mouse is hybrid, and I have to set the sensitivity for both and one line would not read it when I boot up my system. Whenever I unplug my mouse the sensitivity would reset.

I have tried adding a script in /X11/Xsession.d and it didn't work.

The only thing that worked was using `xinput set-prop 12 289 0, 1` command line.

On xfconf settings it shows the right sensitivity but it doesn't feel like it.

Every time the sensitivity would reset to the defaut values of 2 acceleration 4 sensitivity

Offline

#2 2018-03-03 17:48:24

alcornoqui
Member
Registered: 2014-07-28
Posts: 832

Re: Mouse sensitivity settings keeps resetting after system reboot/suspend

Is this the same question? Did the reboot solved it for good?

Offline

#3 2018-03-05 18:20:47

ldd
Member
Registered: 2016-10-19
Posts: 9

Re: Mouse sensitivity settings keeps resetting after system reboot/suspend

alcornoqui wrote:

Is this the same question? Did the reboot solved it for good?

Nope, the problem is still persisting when I resume a suspend because the scripts aren't working since it's not a boot. Turns out because I have some macro keys on my mouse it's detecting it as a keyboard too and applies the default settings which overrides the one from my mouse.

Xinput prints out 3 different devices for my mouse

⎡ Virtual core pointer                        id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                  id=4    [slave  pointer  (2)]
⎜   ↳ Logitech USB Receiver                       id=10    [slave  pointer  (2)]
⎣ Virtual core keyboard                       id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                 id=5    [slave  keyboard (3)]
    ↳ Power Button                                id=6    [slave  keyboard (3)]
    ↳ Power Button                                id=7    [slave  keyboard (3)]
    ↳ Sleep Button                                id=8    [slave  keyboard (3)]
    ↳ Eee PC WMI hotkeys                          id=13    [slave  keyboard (3)]
    ↳ Logitech USB Receiver                       id=9    [slave  keyboard (3)]
    ↳ Logitech USB Receiver                       id=11    [slave  keyboard (3)]
    ↳ USB-HID Keyboard                            id=12    [slave  keyboard (3)]
    ↳ USB-HID Keyboard                            id=14    [slave  keyboard (3)]

while Xorg.1.log shows this


    [101802.769] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event5)
    [101802.769] (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall"
    [101802.769] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
    [101802.769] (**) Logitech USB Receiver: always reports core events
    [101802.769] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event5"
    [101802.769] (--) evdev: Logitech USB Receiver: Vendor 0x46d Product 0xc539
    [101802.769] (--) evdev: Logitech USB Receiver: Found keys
    [101802.769] (II) evdev: Logitech USB Receiver: Configuring as keyboard
    [101802.769] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/0003:046D:C539.000E/input/input40/event5"
    [101802.769] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 11)
    [101802.769] (**) Option "xkb_rules" "evdev"
    [101802.769] (**) Option "xkb_model" "pc105"
    [101802.769] (**) Option "xkb_layout" "us"
    [101802.769] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event6)
    [101802.769] (**) Logitech USB Receiver: Applying InputClass "evdev pointer catchall"
    [101802.769] (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall"
    [101802.769] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
    [101802.769] (**) Logitech USB Receiver: always reports core events
    [101802.769] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event6"
    [101802.769] (--) evdev: Logitech USB Receiver: Vendor 0x46d Product 0xc539
    [101802.769] (--) evdev: Logitech USB Receiver: Found 20 mouse buttons
    [101802.769] (--) evdev: Logitech USB Receiver: Found scroll wheel(s)
    [101802.769] (--) evdev: Logitech USB Receiver: Found relative axes
    [101802.769] (--) evdev: Logitech USB Receiver: Found x and y relative axes
    [101802.769] (--) evdev: Logitech USB Receiver: Found absolute axes
    [101802.769] (II) evdev: Logitech USB Receiver: Forcing absolute x/y axes to exist.
    [101802.769] (--) evdev: Logitech USB Receiver: Found keys
    [101802.769] (II) evdev: Logitech USB Receiver: Configuring as mouse
    [101802.769] (II) evdev: Logitech USB Receiver: Configuring as keyboard
    [101802.769] (II) evdev: Logitech USB Receiver: Adding scrollwheel support
    [101802.769] (**) evdev: Logitech USB Receiver: YAxisMapping: buttons 4 and 5
    [101802.769] (**) evdev: Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [101802.769] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.1/0003:046D:C539.000F/input/input41/event6"
    [101802.769] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 12)
    [101802.769] (**) Option "xkb_rules" "evdev"
    [101802.769] (**) Option "xkb_model" "pc105"
    [101802.769] (**) Option "xkb_layout" "us"
    [101802.769] (II) evdev: Logitech USB Receiver: initialized for relative axes.
    [101802.769] (WW) evdev: Logitech USB Receiver: ignoring absolute axes.
    [101802.770] (**) Logitech USB Receiver: (accel) keeping acceleration scheme 1
    [101802.770] (**) Logitech USB Receiver: (accel) acceleration profile 0
    [101802.770] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
    [101802.770] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
    [101802.770] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse0)
    [101802.770] (II) No input driver specified, ignoring this device.
    [101802.770] (II) This device may have been added with another device file.

It makes me think that there's a config file somewhere that's overriding my settings which I can't manage to find so I was wondering if it was possible to straight up change the default settings values in XInput somewhere.

Offline

#4 2018-03-05 19:59:34

ldd
Member
Registered: 2016-10-19
Posts: 9

Re: Mouse sensitivity settings keeps resetting after system reboot/suspend

Fix found here. It took me almost 2 weeks to fix this problem: remove xserver-xorg-input-libinput

Last edited by ldd (2018-03-05 19:59:45)

Offline

Board footer

Powered by FluxBB