Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Need help configuring xorg input: mouse and keyboard

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
alexanderbeerhoff
Posts: 35
Joined: 2017-09-05 11:52

Need help configuring xorg input: mouse and keyboard

#1 Post by alexanderbeerhoff »

Dear Debian Forum readers,
I've installed debian 9 an my macbookpro 1,1 (32bit) and I've changed the source.list file to use testing source.
Now I would like to configure mouse so that it would be more fluid, and keyboard (my computer has german layout) so that I could choose modifier keys (actually I'm unable to type pipe and at char).

Beginner question 1: What's the relation between the conf file /etc/X11/xorg.conf.d file and those inside /usr/share/X11/xorg.conf.d?

I've read some guide (link) to use mtrack which add file inside /usr/share/X11/xorg.conf.d: doing that I was unable to move mouse arrow. After some googling I've decided to change

Code: Select all

    Driver         "mtrack"
to

Code: Select all

    Driver         "libinput"
and add the mouse section inside /etc/X11/xorg.conf.

Aside, following the instruction inside macbook page of debian wiki, I've added some extra line to keyboard section inside /etc/X11/xorg.conf.

After reboot the mouse work as before and /etc/X11/xorg.conf has been renamed to /etc/X11/xorg.conf.save while /etc/X11/xorg.conf conteins mouse section only.

Beginner question 2: How can safely add the keyboard section inside /etc/X11/xorg.conf ?

Beginner question 3: How can I use mtrack driver instead of libinput provide I've installed xserver-xorg-input-mtrack?

Thankyou for your attention.

Code: Select all

/usr/share/X11/xorg.conf.d# ls -l
-rw-r--r-- 1 root root   92 juin  27 10:44 10-amdgpu.conf
-rw-r--r-- 1 root root 1350 juil.  7 07:31 10-quirks.conf
-rw-r--r-- 1 root root   92 juin  27 10:04 10-radeon.conf
-rw-r--r-- 1 root root  165 sept.  5 02:10 30-touchpad.conf
-rw-r--r-- 1 root root  964 janv. 12  2017 40-libinput.conf
-rw-r--r-- 1 root root  108 sept.  4 12:18 50-mtrack.conf.bak
-rw-r--r-- 1 root root 2747 juin  26 09:03 70-wacom.conf

Code: Select all

libinput-list-devices
WARNING: This compatibility wrapper will be removed in the future. Please run 'libinput list-devices' instead
Device:           Power Button
Kernel:           /dev/input/event6
Group:            1
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Power Button
Kernel:           /dev/input/event4
Group:            2
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Lid Switch
Kernel:           /dev/input/event3
Group:            3
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Sleep Button
Kernel:           /dev/input/event5
Group:            4
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel Line
Kernel:           /dev/input/event8
Group:            5
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel Line Out
Kernel:           /dev/input/event9
Group:            5
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           HDA Intel SPDIF In
Kernel:           /dev/input/event10
Group:            5
Seat:             seat0, default
Capabilities:     
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Apple Computer Apple Internal Keyboard / Trackpad
Kernel:           /dev/input/event0
Group:            6
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           appletouch
Kernel:           /dev/input/event7
Group:            7
Seat:             seat0, default
Size:             110x82mm
Capabilities:     pointer 
Tap-to-click:     disabled
Tap-and-drag:     enabled
Tap drag lock:    disabled
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   *two-finger edge 
Click methods:    none
Disable-w-typing: enabled
Accel profiles:   none
Rotation:         n/a

Device:           Apple Computer Apple Internal Keyboard / Trackpad
Kernel:           /dev/input/event1
Group:            6
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Apple Computer, Inc. IR Receiver
Kernel:           /dev/input/event2
Group:            8
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Mouseemu virtual keyboard
Kernel:           /dev/input/event13
Group:            9
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Mouseemu virtual mouse
Kernel:           /dev/input/event14
Group:            10
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a
xorg.conf

Code: Select all

Section "InputClass"
        MatchIsTouchpad "on"
        Identifier      "Touchpads"
        Driver          "libinput"
        Option          "Sensitivity" "0.55"
        Option          "FingerHigh" "12"
        Option          "FingerLow" "1"
        Option          "IgnoreThumb" "true"
        Option          "IgnorePalm" "true"
        Option          "TapButton1" "0"
        Option          "TapButton2" "0"
        Option          "TapButton3" "0"
        Option          "TapButton4" "0"
        Option          "ClickFinger1" "1"
        Option          "ClickFinger2" "3"
        Option          "ClickFinger3" "3"
        Option          "ButtonMoveEmulate" "false"
        Option          "ButtonIntegrated" "true"
        Option          "ClickTime" "25"
        Option          "BottomEdge" "25"
        Option          "SwipeLeftButton" "8"
        Option          "SwipeRightButton" "9"
        Option          "SwipeUpButton" "0"
        Option          "SwipeDownButton" "0"
        Option          "ScrollDistance" "75"
EndSection


alexanderbeerhoff
Posts: 35
Joined: 2017-09-05 11:52

Re: Need help configuring xorg input: mouse and keyboard

#3 Post by alexanderbeerhoff »

Would be very usefull, at least to me, to have a graphical timeline of the evolution of handling methods of average pc hardware in debian: the wonderfull products wiki page end up being rather outdated.

Took me few days discovering the usefull man pages etc. (xorg,xorg.conf,...): for keyboard I've adjusted some keys using xmodmap, the mouse is working but it need some fine tuning.

tynman
Posts: 132
Joined: 2016-05-03 19:48
Location: British Columbia, Canada
Been thanked: 2 times

Re: Need help configuring xorg input: mouse and keyboard

#4 Post by tynman »

I would like to configure mouse so that it would be more fluid
Also take a look at https://www.x.org/archive/X11R7.6/doc/m ... et.1.xhtml
I run

Code: Select all

xset m 5 10 &
in my xorg startup. I don't recall exactly how I arrived at those settings. Probably a bit of trial and error was involved :).

Post Reply