|
### |
|
# Terminal session log: |
|
# Configuring Trackpad Gestures for Linux Ubuntu Mate on Apple MacBook Pro 17" |
|
# See https://supratim-sanyal.blogspot.com/2020/02/install-and-dual-boot-linux-on-17-inch_17.html |
|
### |
|
|
|
localuser@macbookpro17inch:~$ sudo apt update && sudo apt upgrade |
|
[sudo] password for localuser: |
|
... |
|
... |
|
|
|
localuser@macbookpro17inch:~$ sudo lshw |
|
... |
|
macbookpro17inch |
|
description: Notebook |
|
product: MacBookPro8,3 (System SKU#) |
|
vendor: Apple Inc. |
|
version: 1.0 |
|
serial: C02GW4HFDV11 |
|
width: 64 bits |
|
capabilities: smbios-2.4 dmi-2.4 smp vsyscall32 |
|
configuration: boot=normal chassis=notebook family=MacBook Pro sku=System SKU# uuid=9DEBA8BD-B3AD-7650-810B-5DF111A94EF9 |
|
*-core |
|
description: Motherboard |
|
product: Mac-942459F5819B171B |
|
vendor: Apple Inc. |
|
physical id: 0 |
|
version: MacBookPro8,3 |
|
serial: C0215060087DYL5AD |
|
slot: Part Component |
|
*-cpu:0 |
|
description: CPU |
|
product: Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz |
|
vendor: Intel Corp. |
|
physical id: 0 |
|
bus info: cpu@0 |
|
version: Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz |
|
slot: U2E1 |
|
size: 959MHz |
|
capacity: 3500MHz |
|
width: 64 bits |
|
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts md_clear flush_l1d cpufreq |
|
*-cache:0 |
|
description: L1 cache |
|
physical id: 2 |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-cache:1 |
|
description: L2 cache |
|
physical id: 3 |
|
slot: Unknown |
|
size: 256KiB |
|
capacity: 256KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=2 |
|
*-cache:2 |
|
description: L3 cache |
|
physical id: 4 |
|
slot: Unknown |
|
size: 6KiB |
|
capacity: 6KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=3 |
|
*-cache:0 |
|
description: L1 cache |
|
physical id: 1 |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-cpu:1 |
|
description: CPU |
|
vendor: Intel(R) Corporation |
|
physical id: 5 |
|
bus info: cpu@1 |
|
version: Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz |
|
slot: U2E1 |
|
size: 847MHz |
|
capacity: 3500MHz |
|
capabilities: cpufreq |
|
*-cache:0 |
|
description: L1 cache |
|
physical id: 7 |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-cache:1 |
|
description: L2 cache |
|
physical id: 8 |
|
slot: Unknown |
|
size: 256KiB |
|
capacity: 256KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=2 |
|
*-cache:2 |
|
description: L3 cache |
|
physical id: 9 |
|
slot: Unknown |
|
size: 6KiB |
|
capacity: 6KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=3 |
|
*-cache:1 |
|
description: L1 cache |
|
physical id: 6 |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-cpu:2 |
|
description: CPU |
|
vendor: Intel(R) Corporation |
|
physical id: a |
|
bus info: cpu@2 |
|
version: Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz |
|
slot: U2E1 |
|
size: 798MHz |
|
capacity: 3500MHz |
|
capabilities: cpufreq |
|
*-cache:0 |
|
description: L1 cache |
|
physical id: c |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-cache:1 |
|
description: L2 cache |
|
physical id: d |
|
slot: Unknown |
|
size: 256KiB |
|
capacity: 256KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=2 |
|
*-cache:2 |
|
description: L3 cache |
|
physical id: e |
|
slot: Unknown |
|
size: 6KiB |
|
capacity: 6KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=3 |
|
*-cache:2 |
|
description: L1 cache |
|
physical id: b |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-cpu:3 |
|
description: CPU |
|
vendor: Intel(R) Corporation |
|
physical id: f |
|
bus info: cpu@3 |
|
version: Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz |
|
slot: U2E1 |
|
size: 798MHz |
|
capacity: 3500MHz |
|
capabilities: cpufreq |
|
*-cache:0 |
|
description: L1 cache |
|
physical id: 11 |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-cache:1 |
|
description: L2 cache |
|
physical id: 12 |
|
slot: Unknown |
|
size: 256KiB |
|
capacity: 256KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=2 |
|
*-cache:2 |
|
description: L3 cache |
|
physical id: 13 |
|
slot: Unknown |
|
size: 6KiB |
|
capacity: 6KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=3 |
|
*-cache:3 |
|
description: L1 cache |
|
physical id: 10 |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-cpu:4 |
|
description: CPU |
|
vendor: Intel(R) Corporation |
|
physical id: 14 |
|
bus info: cpu@4 |
|
version: Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz |
|
slot: U2E1 |
|
size: 798MHz |
|
capacity: 3500MHz |
|
capabilities: cpufreq |
|
*-cache:0 |
|
description: L1 cache |
|
physical id: 16 |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-cache:1 |
|
description: L2 cache |
|
physical id: 17 |
|
slot: Unknown |
|
size: 256KiB |
|
capacity: 256KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=2 |
|
*-cache:2 |
|
description: L3 cache |
|
physical id: 18 |
|
slot: Unknown |
|
size: 6KiB |
|
capacity: 6KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=3 |
|
*-cache:4 |
|
description: L1 cache |
|
physical id: 15 |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-cpu:5 |
|
description: CPU |
|
vendor: Intel(R) Corporation |
|
physical id: 19 |
|
bus info: cpu@5 |
|
version: Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz |
|
slot: U2E1 |
|
size: 798MHz |
|
capacity: 3500MHz |
|
capabilities: cpufreq |
|
*-cache:0 |
|
description: L1 cache |
|
physical id: 1b |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-cache:1 |
|
description: L2 cache |
|
physical id: 1c |
|
slot: Unknown |
|
size: 256KiB |
|
capacity: 256KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=2 |
|
*-cache:2 |
|
description: L3 cache |
|
physical id: 1d |
|
slot: Unknown |
|
size: 6KiB |
|
capacity: 6KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=3 |
|
*-cache:5 |
|
description: L1 cache |
|
physical id: 1a |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-cpu:6 |
|
description: CPU |
|
vendor: Intel(R) Corporation |
|
physical id: 1e |
|
bus info: cpu@6 |
|
version: Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz |
|
slot: U2E1 |
|
size: 798MHz |
|
capacity: 3500MHz |
|
capabilities: cpufreq |
|
*-cache:0 |
|
description: L1 cache |
|
physical id: 20 |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-cache:1 |
|
description: L2 cache |
|
physical id: 21 |
|
slot: Unknown |
|
size: 256KiB |
|
capacity: 256KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=2 |
|
*-cache:2 |
|
description: L3 cache |
|
physical id: 22 |
|
slot: Unknown |
|
size: 6KiB |
|
capacity: 6KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=3 |
|
*-cache:6 |
|
description: L1 cache |
|
physical id: 1f |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-cpu:7 |
|
description: CPU |
|
vendor: Intel(R) Corporation |
|
physical id: 23 |
|
bus info: cpu@7 |
|
version: Intel(R) Core(TM) i7-2760QM CPU @ 2.40GHz |
|
slot: U2E1 |
|
size: 798MHz |
|
capacity: 3500MHz |
|
capabilities: cpufreq |
|
*-cache:0 |
|
description: L1 cache |
|
physical id: 25 |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-cache:1 |
|
description: L2 cache |
|
physical id: 26 |
|
slot: Unknown |
|
size: 256KiB |
|
capacity: 256KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=2 |
|
*-cache:2 |
|
description: L3 cache |
|
physical id: 27 |
|
slot: Unknown |
|
size: 6KiB |
|
capacity: 6KiB |
|
capabilities: asynchronous internal write-back instruction |
|
configuration: level=3 |
|
*-cache:7 |
|
description: L1 cache |
|
physical id: 24 |
|
slot: Unknown |
|
size: 32KiB |
|
capacity: 32KiB |
|
capabilities: asynchronous internal write-back |
|
configuration: level=1 |
|
*-memory |
|
description: System Memory |
|
physical id: 28 |
|
slot: System board or motherboard |
|
size: 16GiB |
|
*-bank:0 |
|
description: SODIMM DDR3 Synchronous 1600 MHz (0.6 ns) |
|
product: HMT41GS6AFR8A-PB |
|
vendor: Hynix Semiconductor (Hyundai Electronics) |
|
physical id: 0 |
|
serial: 0x067BE827 |
|
slot: DIMM0 |
|
size: 8GiB |
|
clock: 1600MHz (0.6ns) |
|
*-bank:1 |
|
description: SODIMM DDR3 Synchronous 1600 MHz (0.6 ns) |
|
product: HMT41GS6AFR8A-PB |
|
vendor: Hynix Semiconductor (Hyundai Electronics) |
|
physical id: 1 |
|
serial: 0x062BE7CF |
|
slot: DIMM0 |
|
size: 8GiB |
|
clock: 1600MHz (0.6ns) |
|
*-firmware |
|
description: BIOS |
|
vendor: Apple Inc. |
|
physical id: 2e |
|
version: 87.0.0.0.0 |
|
date: 06/13/2019 |
|
size: 1MiB |
|
capacity: 8128KiB |
|
capabilities: pci upgrade shadowing cdboot bootselect acpi ieee1394boot smartbattery netboot |
|
*-pci |
|
description: Host bridge |
|
product: 2nd Generation Core Processor Family DRAM Controller |
|
vendor: Intel Corporation |
|
physical id: 100 |
|
bus info: pci@0000:00:00.0 |
|
version: 09 |
|
width: 32 bits |
|
clock: 33MHz |
|
*-pci:0 |
|
description: PCI bridge |
|
product: Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port |
|
vendor: Intel Corporation |
|
physical id: 1 |
|
bus info: pci@0000:00:01.0 |
|
version: 09 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list |
|
configuration: driver=pcieport |
|
resources: irq:24 ioport:2000(size=4096) memory:b0800000-b08fffff ioport:90000000(size=268435456) |
|
*-display |
|
description: VGA compatible controller |
|
product: Whistler [Radeon HD 6730M/6770M/7690M XT] |
|
vendor: Advanced Micro Devices, Inc. [AMD/ATI] |
|
physical id: 0 |
|
bus info: pci@0000:01:00.0 |
|
version: 00 |
|
width: 64 bits |
|
clock: 33MHz |
|
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom |
|
configuration: driver=radeon latency=0 |
|
resources: irq:50 memory:90000000-9fffffff memory:b0800000-b081ffff ioport:2000(size=256) memory:b0820000-b083ffff |
|
*-multimedia |
|
description: Audio device |
|
product: Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series] |
|
vendor: Advanced Micro Devices, Inc. [AMD/ATI] |
|
physical id: 0.1 |
|
bus info: pci@0000:01:00.1 |
|
version: 00 |
|
width: 64 bits |
|
clock: 33MHz |
|
capabilities: pm pciexpress msi bus_master cap_list |
|
configuration: driver=snd_hda_intel latency=0 |
|
resources: irq:53 memory:b0840000-b0843fff |
|
*-pci:1 |
|
description: PCI bridge |
|
product: Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port |
|
vendor: Intel Corporation |
|
physical id: 1.1 |
|
bus info: pci@0000:00:01.1 |
|
version: 09 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list |
|
configuration: driver=pcieport |
|
resources: irq:25 ioport:4000(size=4096) memory:b0a00000-b4efffff ioport:b8f00000(size=67108864) |
|
*-pci |
|
description: PCI bridge |
|
product: CV82524 Thunderbolt Controller [Light Ridge 4C 2010] |
|
vendor: Intel Corporation |
|
physical id: 0 |
|
bus info: pci@0000:05:00.0 |
|
version: 00 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list |
|
configuration: driver=pcieport |
|
resources: irq:30 memory:b0a00000-b0efffff ioport:b8f00000(size=12582912) |
|
*-pci:0 |
|
description: PCI bridge |
|
product: CV82524 Thunderbolt Controller [Light Ridge 4C 2010] |
|
vendor: Intel Corporation |
|
physical id: 0 |
|
bus info: pci@0000:06:00.0 |
|
version: 00 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list |
|
configuration: driver=pcieport |
|
resources: irq:31 memory:b0c00000-b0cfffff |
|
*-generic |
|
description: System peripheral |
|
product: CV82524 Thunderbolt Controller [Light Ridge 4C 2010] |
|
vendor: Intel Corporation |
|
physical id: 0 |
|
bus info: pci@0000:07:00.0 |
|
version: 00 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: pm msi pciexpress msix bus_master cap_list |
|
configuration: driver=thunderbolt latency=0 |
|
resources: irq:17 memory:b0c00000-b0c3ffff memory:b0c40000-b0c40fff |
|
*-pci:1 |
|
description: PCI bridge |
|
product: CV82524 Thunderbolt Controller [Light Ridge 4C 2010] |
|
vendor: Intel Corporation |
|
physical id: 3 |
|
bus info: pci@0000:06:03.0 |
|
version: 00 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list |
|
configuration: driver=pcieport |
|
resources: irq:16 memory:b0b00000-b0bfffff ioport:b8f00000(size=2097152) |
|
*-pci:2 |
|
description: PCI bridge |
|
product: CV82524 Thunderbolt Controller [Light Ridge 4C 2010] |
|
vendor: Intel Corporation |
|
physical id: 4 |
|
bus info: pci@0000:06:04.0 |
|
version: 00 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list |
|
configuration: driver=pcieport |
|
resources: irq:17 memory:b0d00000-b0dfffff ioport:b9100000(size=2097152) |
|
*-pci:3 |
|
description: PCI bridge |
|
product: CV82524 Thunderbolt Controller [Light Ridge 4C 2010] |
|
vendor: Intel Corporation |
|
physical id: 5 |
|
bus info: pci@0000:06:05.0 |
|
version: 00 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list |
|
configuration: driver=pcieport |
|
resources: irq:18 memory:b0e00000-b0efffff ioport:b9300000(size=2097152) |
|
*-pci:4 |
|
description: PCI bridge |
|
product: CV82524 Thunderbolt Controller [Light Ridge 4C 2010] |
|
vendor: Intel Corporation |
|
physical id: 6 |
|
bus info: pci@0000:06:06.0 |
|
version: 00 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: pci pm msi pciexpress normal_decode bus_master cap_list |
|
configuration: driver=pcieport |
|
resources: irq:19 memory:b0a00000-b0afffff ioport:b9500000(size=2097152) |
|
*-display |
|
description: VGA compatible controller |
|
product: 2nd Generation Core Processor Family Integrated Graphics Controller |
|
vendor: Intel Corporation |
|
physical id: 2 |
|
bus info: pci@0000:00:02.0 |
|
version: 09 |
|
width: 64 bits |
|
clock: 33MHz |
|
capabilities: msi pm vga_controller bus_master cap_list |
|
configuration: driver=i915 latency=0 |
|
resources: irq:51 memory:b0000000-b03fffff memory:a0000000-afffffff ioport:3000(size=64) |
|
*-communication |
|
description: Communication controller |
|
product: 6 Series/C200 Series Chipset Family MEI Controller #1 |
|
vendor: Intel Corporation |
|
physical id: 16 |
|
bus info: pci@0000:00:16.0 |
|
version: 04 |
|
width: 64 bits |
|
clock: 33MHz |
|
capabilities: pm msi bus_master cap_list |
|
configuration: driver=mei_me latency=0 |
|
resources: irq:52 memory:b0907100-b090710f |
|
*-usb:0 |
|
description: USB controller |
|
product: 6 Series/C200 Series Chipset Family USB Universal Host Controller #5 |
|
vendor: Intel Corporation |
|
physical id: 1a |
|
bus info: pci@0000:00:1a.0 |
|
version: 05 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: uhci bus_master cap_list |
|
configuration: driver=uhci_hcd latency=0 |
|
resources: irq:21 ioport:3120(size=32) |
|
*-usbhost |
|
product: UHCI Host Controller |
|
vendor: Linux 5.3.0-28-generic uhci_hcd |
|
physical id: 1 |
|
bus info: usb@3 |
|
logical name: usb3 |
|
version: 5.03 |
|
capabilities: usb-1.10 |
|
configuration: driver=hub slots=2 speed=12Mbit/s |
|
*-usb:1 |
|
description: USB controller |
|
product: 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 |
|
vendor: Intel Corporation |
|
physical id: 1a.7 |
|
bus info: pci@0000:00:1a.7 |
|
version: 05 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: pm debug ehci bus_master cap_list |
|
configuration: driver=ehci-pci latency=0 |
|
resources: irq:23 memory:b0906c00-b0906fff |
|
*-usbhost |
|
product: EHCI Host Controller |
|
vendor: Linux 5.3.0-28-generic ehci_hcd |
|
physical id: 1 |
|
bus info: usb@1 |
|
logical name: usb1 |
|
version: 5.03 |
|
capabilities: usb-2.00 |
|
configuration: driver=hub slots=6 speed=480Mbit/s |
|
*-usb:0 |
|
description: USB hub |
|
product: USB 2.0 Hub |
|
vendor: Standard Microsystems Corp. |
|
physical id: 1 |
|
bus info: usb@1:1 |
|
version: b.b3 |
|
capabilities: usb-2.00 |
|
configuration: driver=hub maxpower=2mA slots=4 speed=480Mbit/s |
|
*-usb:0 |
|
description: USB hub |
|
product: BRCM2070 Hub |
|
vendor: Apple Inc. |
|
physical id: 1 |
|
bus info: usb@1:1.1 |
|
version: 1.00 |
|
capabilities: usb-2.00 |
|
configuration: driver=hub maxpower=94mA slots=3 speed=12Mbit/s |
|
*-usb |
|
description: Bluetooth wireless interface |
|
product: Bluetooth USB Host Controller |
|
vendor: Apple Inc. |
|
physical id: 3 |
|
bus info: usb@1:1.1.3 |
|
version: 0.42 |
|
capabilities: usb-2.00 bluetooth |
|
configuration: driver=btusb speed=12Mbit/s |
|
*-usb:1 |
|
description: Keyboard |
|
product: Apple Internal Keyboard / Trackpad |
|
vendor: Apple Inc. |
|
physical id: 2 |
|
bus info: usb@1:1.2 |
|
version: 1.18 |
|
capabilities: usb-2.00 |
|
configuration: driver=bcm5974 maxpower=40mA speed=12Mbit/s |
|
*-usb:1 |
|
description: Video |
|
product: FaceTime HD Camera (Built-in) |
|
vendor: Apple Inc. |
|
physical id: 2 |
|
bus info: usb@1:2 |
|
version: 5.16 |
|
serial: CC2B2F00P1DGFLL0 |
|
capabilities: usb-2.00 |
|
configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s |
|
*-multimedia |
|
description: Audio device |
|
product: 6 Series/C200 Series Chipset Family High Definition Audio Controller |
|
vendor: Intel Corporation |
|
physical id: 1b |
|
bus info: pci@0000:00:1b.0 |
|
version: 05 |
|
width: 64 bits |
|
clock: 33MHz |
|
capabilities: pm msi pciexpress bus_master cap_list |
|
configuration: driver=snd_hda_intel latency=0 |
|
resources: irq:54 memory:b0900000-b0903fff |
|
*-pci:2 |
|
description: PCI bridge |
|
product: 6 Series/C200 Series Chipset Family PCI Express Root Port 1 |
|
vendor: Intel Corporation |
|
physical id: 1c |
|
bus info: pci@0000:00:1c.0 |
|
version: b5 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list |
|
configuration: driver=pcieport |
|
resources: irq:26 memory:b0700000-b07fffff ioport:b0400000(size=1048576) |
|
*-network |
|
description: Ethernet interface |
|
product: NetXtreme BCM57765 Gigabit Ethernet PCIe |
|
vendor: Broadcom Inc. and subsidiaries |
|
physical id: 0 |
|
bus info: pci@0000:02:00.0 |
|
logical name: enp2s0 |
|
version: 10 |
|
serial: 3c:07:54:2b:42:66 |
|
capacity: 1Gbit/s |
|
width: 64 bits |
|
clock: 33MHz |
|
capabilities: pm msi msix pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation |
|
configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.137 firmware=57765-v1.37 latency=0 link=no multicast=yes port=twisted pair |
|
resources: irq:16 memory:b0400000-b040ffff memory:b0410000-b041ffff |
|
*-pci:3 |
|
description: PCI bridge |
|
product: 6 Series/C200 Series Chipset Family PCI Express Root Port 2 |
|
vendor: Intel Corporation |
|
physical id: 1c.1 |
|
bus info: pci@0000:00:1c.1 |
|
version: b5 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list |
|
configuration: driver=pcieport |
|
resources: irq:27 memory:b0600000-b06fffff |
|
*-network |
|
description: Wireless interface |
|
product: BCM4331 802.11a/b/g/n |
|
vendor: Broadcom Inc. and subsidiaries |
|
physical id: 0 |
|
bus info: pci@0000:03:00.0 |
|
logical name: wlp3s0 |
|
version: 02 |
|
serial: 68:a8:6d:39:ad:64 |
|
width: 64 bits |
|
clock: 33MHz |
|
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless |
|
configuration: broadcast=yes driver=wl0 driverversion=6.30.223.271 (r587334) latency=0 multicast=yes wireless=IEEE 802.11 |
|
resources: irq:17 memory:b0600000-b0603fff |
|
*-pci:4 |
|
description: PCI bridge |
|
product: 6 Series/C200 Series Chipset Family PCI Express Root Port 3 |
|
vendor: Intel Corporation |
|
physical id: 1c.2 |
|
bus info: pci@0000:00:1c.2 |
|
version: b5 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list |
|
configuration: driver=pcieport |
|
resources: irq:28 memory:b0500000-b05fffff |
|
*-firewire |
|
description: FireWire (IEEE 1394) |
|
product: FW643 [TrueFire] PCIe 1394b Controller |
|
vendor: LSI Corporation |
|
physical id: 0 |
|
bus info: pci@0000:04:00.0 |
|
version: 08 |
|
width: 64 bits |
|
clock: 33MHz |
|
capabilities: pm msi pciexpress ohci bus_master cap_list |
|
configuration: driver=firewire_ohci latency=0 |
|
resources: irq:49 memory:b0500000-b0500fff |
|
*-pci:5 |
|
description: PCI bridge |
|
product: 6 Series/C200 Series Chipset Family PCI Express Root Port 4 |
|
vendor: Intel Corporation |
|
physical id: 1c.3 |
|
bus info: pci@0000:00:1c.3 |
|
version: b5 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list |
|
configuration: driver=pcieport |
|
resources: irq:29 ioport:5000(size=4096) memory:b4f00000-b8efffff ioport:bcf00000(size=67108864) |
|
*-usb:2 |
|
description: USB controller |
|
product: 6 Series/C200 Series Chipset Family USB Universal Host Controller #1 |
|
vendor: Intel Corporation |
|
physical id: 1d |
|
bus info: pci@0000:00:1d.0 |
|
version: 05 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: uhci bus_master cap_list |
|
configuration: driver=uhci_hcd latency=0 |
|
resources: irq:19 ioport:30c0(size=32) |
|
*-usbhost |
|
product: UHCI Host Controller |
|
vendor: Linux 5.3.0-28-generic uhci_hcd |
|
physical id: 1 |
|
bus info: usb@4 |
|
logical name: usb4 |
|
version: 5.03 |
|
capabilities: usb-1.10 |
|
configuration: driver=hub slots=2 speed=12Mbit/s |
|
*-usb:3 |
|
description: USB controller |
|
product: 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 |
|
vendor: Intel Corporation |
|
physical id: 1d.7 |
|
bus info: pci@0000:00:1d.7 |
|
version: 05 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: pm debug ehci bus_master cap_list |
|
configuration: driver=ehci-pci latency=0 |
|
resources: irq:22 memory:b0906800-b0906bff |
|
*-usbhost |
|
product: EHCI Host Controller |
|
vendor: Linux 5.3.0-28-generic ehci_hcd |
|
physical id: 1 |
|
bus info: usb@2 |
|
logical name: usb2 |
|
version: 5.03 |
|
capabilities: usb-2.00 |
|
configuration: driver=hub slots=8 speed=480Mbit/s |
|
*-usb |
|
description: USB hub |
|
product: USB 2.0 Hub |
|
vendor: Standard Microsystems Corp. |
|
physical id: 1 |
|
bus info: usb@2:1 |
|
version: b.b3 |
|
capabilities: usb-2.00 |
|
configuration: driver=hub maxpower=2mA slots=3 speed=480Mbit/s |
|
*-usb:0 |
|
description: Human interface device |
|
product: IR Receiver |
|
vendor: Apple Computer, Inc. |
|
physical id: 1 |
|
bus info: usb@2:1.1 |
|
version: 0.16 |
|
capabilities: usb-2.00 |
|
configuration: driver=usbhid maxpower=100mA speed=2Mbit/s |
|
*-usb:1 |
|
description: Mouse |
|
product: 2.4G Mouse |
|
physical id: 2 |
|
bus info: usb@2:1.2 |
|
version: 2.00 |
|
capabilities: usb-1.10 |
|
configuration: driver=usbhid maxpower=100mA speed=12Mbit/s |
|
*-usb:2 |
|
description: Generic USB device |
|
product: 802.11n WLAN Adapter |
|
vendor: Realtek |
|
physical id: 3 |
|
bus info: usb@2:1.3 |
|
version: 2.00 |
|
serial: 00e04c000001 |
|
capabilities: usb-2.00 |
|
configuration: driver=rtl8192cu maxpower=500mA speed=480Mbit/s |
|
*-isa |
|
description: ISA bridge |
|
product: HM65 Express Chipset LPC Controller |
|
vendor: Intel Corporation |
|
physical id: 1f |
|
bus info: pci@0000:00:1f.0 |
|
version: 05 |
|
width: 32 bits |
|
clock: 33MHz |
|
capabilities: isa bus_master cap_list |
|
configuration: driver=lpc_ich latency=0 |
|
resources: irq:0 |
|
*-storage |
|
description: SATA controller |
|
product: 6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller |
|
vendor: Intel Corporation |
|
physical id: 1f.2 |
|
bus info: pci@0000:00:1f.2 |
|
version: 05 |
|
width: 32 bits |
|
clock: 66MHz |
|
capabilities: storage msi pm ahci_1.0 bus_master cap_list |
|
configuration: driver=ahci latency=0 |
|
resources: irq:48 ioport:3148(size=8) ioport:315c(size=4) ioport:3140(size=8) ioport:3158(size=4) ioport:3060(size=32) memory:b0906000-b09067ff |
|
*-serial UNCLAIMED |
|
description: SMBus |
|
product: 6 Series/C200 Series Chipset Family SMBus Controller |
|
vendor: Intel Corporation |
|
physical id: 1f.3 |
|
bus info: pci@0000:00:1f.3 |
|
version: 05 |
|
width: 64 bits |
|
clock: 33MHz |
|
configuration: latency=0 |
|
resources: memory:b0907000-b09070ff ioport:efa0(size=32) |
|
*-scsi:0 |
|
physical id: 2 |
|
logical name: scsi0 |
|
capabilities: emulated |
|
*-disk |
|
description: ATA Disk |
|
product: Samsung SSD 840 |
|
physical id: 0.0.0 |
|
bus info: scsi@0:0.0.0 |
|
logical name: /dev/sda |
|
version: BB6Q |
|
serial: S1D9NSAF522121T |
|
size: 931GiB (1TB) |
|
capabilities: partitioned partitioned:dos |
|
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 |
|
*-volume:0 UNCLAIMED |
|
description: EFI GPT partition |
|
physical id: 1 |
|
bus info: scsi@0:0.0.0,1 |
|
capacity: 200MiB |
|
capabilities: primary nofs |
|
*-volume:1 |
|
description: Non-FS data partition |
|
physical id: 2 |
|
bus info: scsi@0:0.0.0,2 |
|
logical name: /dev/sda2 |
|
capacity: 232GiB |
|
capabilities: primary bootable nofs |
|
*-volume:2 |
|
description: EXT4 volume |
|
vendor: Linux |
|
physical id: 3 |
|
bus info: scsi@0:0.0.0,3 |
|
logical name: /dev/sda3 |
|
logical name: / |
|
version: 1.0 |
|
serial: c86537d8-3cdb-46bd-b1c7-6dac65801a08 |
|
size: 232GiB |
|
capacity: 232GiB |
|
capabilities: primary journaled extended_attributes large_files huge_files dir_nlink recover 64bit extents ext4 ext2 initialized |
|
configuration: created=2020-02-13 10:10:47 filesystem=ext4 lastmountpoint=/ modified=2020-02-13 12:42:25 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro mounted=2020-02-13 12:42:26 state=mounted |
|
*-volume:3 |
|
description: Non-FS data partition |
|
physical id: 4 |
|
bus info: scsi@0:0.0.0,4 |
|
logical name: /dev/sda4 |
|
capacity: 465GiB |
|
capabilities: primary nofs |
|
*-scsi:1 |
|
physical id: 3 |
|
logical name: scsi1 |
|
capabilities: emulated |
|
*-cdrom |
|
description: DVD writer |
|
product: DVDRW GS31N |
|
vendor: HL-DT-ST |
|
physical id: 0.0.0 |
|
bus info: scsi@1:0.0.0 |
|
logical name: /dev/cdrom |
|
logical name: /dev/cdrw |
|
logical name: /dev/dvd |
|
logical name: /dev/dvdrw |
|
logical name: /dev/sr0 |
|
version: TA17 |
|
capabilities: removable audio cd-r cd-rw dvd dvd-r |
|
configuration: ansiversion=5 status=open |
|
*-battery |
|
product: Unknown |
|
vendor: Unknown |
|
physical id: 1 |
|
version: Unknown |
|
serial: Unknown |
|
slot: Unknown |
|
*-network |
|
description: Wireless interface |
|
physical id: 2 |
|
bus info: usb@2:1.3 |
|
logical name: wlx000f00bf03d7 |
|
serial: 00:0f:00:bf:03:d7 |
|
capabilities: ethernet physical wireless |
|
configuration: broadcast=yes driver=rtl8192cu driverversion=5.3.0-28-generic firmware=N/A ip=172.20.42.198 link=yes multicast=yes wireless=IEEE 802.11 |
|
|
|
localuser@macbookpro17inch:~$ sudo apt install build-essential git pkg-config libmtd dev-dev mtdev-tools xserver-xorg-dev xutils-dev |
|
... |
|
|
|
localuser@macbookpro17inch:~$ ########## Compile and install mtrack driver ########## |
|
localuser@macbookpro17inch:~$ mkdir mtrack.build |
|
localuser@macbookpro17inch:~$ cd mtrack.build |
|
localuser@macbookpro17inch:~/mtrack.build$ pwd |
|
/home/localuser/mtrack.build |
|
localuser@macbookpro17inch:~/mtrack.build$ https://github.com/p2rkw/xf86-input-mtrack |
|
Cloning into 'xf86-input-mtrack'... |
|
remote: Enumerating objects: 1944, done. |
|
... |
|
Resolving deltas: 100% (1266/1266) |
|
Resolving deltas: 100% (1266/1266), done. |
|
|
|
localuser@macbookpro17inch:~/mtrack.build$ cd xf86-input-mtrack |
|
localuser@macbookpro17inch:~/mtrack.build/xf86-input-mtrack$ ./configure --with-xorg |
|
g-module-dir=/usr/lib/xorg/modules |
|
checking for a BSD-compatible install... /usr/bin/install -c |
|
checking whether build environment is sane... yes |
|
checking for a thread-safe mkdir -p... /bin/mkdir -p |
|
... |
|
config.status: creating config.h |
|
config.status: executing depfiles commands |
|
config.status: executing libtool commands |
|
|
|
localuser@macbookpro17inch:~/mtrack.build/xf86-input-mtrack$ sudo make |
|
make all-am |
|
make[1]: Entering directory '/home/localuser/mtrack.build/xf86-input-mtrack' |
|
CC src/capabilities.lo |
|
CC src/gestures.lo |
|
CC src/hwstate.lo |
|
CC src/mconfig.lo |
|
CC src/mtouch.lo |
|
CC src/mtstate.lo |
|
CC src/trig.lo |
|
CC driver/mtrack.lo |
|
CC driver/mprops.lo |
|
CCLD mtrack_drv.la |
|
CC src/mtrack_test-capabilities.o |
|
CC src/mtrack_test-gestures.o |
|
CC src/mtrack_test-hwstate.o |
|
CC src/mtrack_test-mconfig.o |
|
CC src/mtrack_test-mtouch.o |
|
CC src/mtrack_test-mtstate.o |
|
CC src/mtrack_test-trig.o |
|
CC tools/mtrack_test-mtrack-test.o |
|
CCLD mtrack-test |
|
make[1]: Leaving directory '/home/localuser/mtrack.build/xf86-input-mtrack' |
|
|
|
localuser@macbookpro17inch:~/mtrack.build/xf86-input-mtrack$ sudo make install |
|
make[1]: Entering directory '/home/localuser/mtrack.build/xf86-input-mtrack' |
|
make[1]: Nothing to be done for 'install-exec-am'. |
|
/bin/mkdir -p '/usr/lib/xorg/modules/input' |
|
/bin/bash ./libtool --mode=install /usr/bin/install -c mtrack_drv.la '/usr/lib/xorg/modules/input' |
|
libtool: install: /usr/bin/install -c .libs/mtrack_drv.so /usr/lib/xorg/modules/input/mtrack_drv.so |
|
libtool: install: /usr/bin/install -c .libs/mtrack_drv.lai /usr/lib/xorg/modules/input/mtrack_drv.la |
|
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/lib/xorg/modules/input |
|
---------------------------------------------------------------------- |
|
Libraries have been installed in: |
|
/usr/lib/xorg/modules/input |
|
If you ever happen to want to link against installed libraries |
|
in a given directory, LIBDIR, you must either use libtool, and |
|
specify the full pathname of the library, or use the `-LLIBDIR' |
|
flag during linking and do at least one of the following: |
|
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable |
|
during execution |
|
- add LIBDIR to the `LD_RUN_PATH' environment variable |
|
during linking |
|
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag |
|
- have your system administrator add LIBDIR to `/etc/ld.so.conf' |
|
See any operating system documentation about shared libraries for |
|
more information, such as the ld(1) and ld.so(8) manual pages. |
|
---------------------------------------------------------------------- |
|
make[1]: Leaving directory '/home/localuser/mtrack.build/xf86-input-mtrack' |
|
|
|
localuser@macbookpro17inch:~/mtrack.build/xf86-input-mtrack$ sudo vi /etc/ld.so.conf.d/mtrack.conf |
|
... |
|
localuser@macbookpro17inch:~/mtrack.build/xf86-input-mtrack$ ls /etc/ld.so.conf.d/mtrack.conf |
|
/etc/ld.so.conf.d/mtrack.conf |
|
localuser@macbookpro17inch:~/mtrack.build/xf86-input-mtrack$ cat /etc/ld.so.conf.d/mtrack.conf |
|
/usr/lib/xorg/modules/input |
|
|
|
localuser@macbookpro17inch:~/mtrack.build/xf86-input-mtrack$ ########## Configure the new touchpad driver ####### |
|
localuser@macbookpro17inch:~/mtrack.build/xf86-input-mtrack$ sudo vi /usr/share/X11/xorg.conf.d/50-mtrack.conf |
|
... |
|
localuser@macbookpro17inch:~/mtrack.build/xf86-input-mtrack$ cat /usr/share/X11/xorg.conf.d/50-mtrack.conf |
|
# Install mtrack driver 0.5.0++ |
|
# Save this file to /usr/share/X11/xorg.conf.d/50-mtrack.conf |
|
# This config is specialized for MacBook Air 2012 (5,2) |
|
Section "InputClass" |
|
MatchIsTouchpad "on" |
|
Identifier "Touchpads" |
|
MatchDevicePath "/dev/input/event*" |
|
Driver "mtrack" |
|
# The faster you move, the more distance pointer will travel, using "polynomial" profile |
|
Option "AccelerationProfile" "2" |
|
# Tweak cursor movement speed with this |
|
Option "Sensitivity" "0.10" |
|
# Pressure at which a finger is detected as a touch |
|
Option "FingerHigh" "5" |
|
# Pressure at which a finger is detected as a release |
|
Option "FingerLow" "5" |
|
# I often use thumb to press down the physical button, so let's not ignore it |
|
Option "IgnoreThumb" "false" |
|
Option "ThumbRatio" "70" |
|
Option "ThumbSize" "25" |
|
# Ignore palm, with palm takes up to 30% of your touch pad |
|
Option "IgnorePalm" "true" |
|
Option "PalmSize" "30" |
|
# Trigger mouse button when tap: 1 finger - left click, 2 finger - right click, 3 - middle click |
|
Option "TapButton1" "1" |
|
Option "TapButton2" "3" |
|
Option "TapButton3" "2" |
|
Option "TapButton4" "0" |
|
Option "ClickTime" "25" |
|
# Disable tap-to-drag, we're using three finger drag instead |
|
Option "TapDragEnable" "false" |
|
# While touching the touch pad with # fingers, press the touchpad physical click button |
|
Option "ClickFinger1" "1" |
|
Option "ClickFinger2" "3" |
|
Option "ClickFinger3" "2" |
|
Option "ButtonMoveEmulate" "false" |
|
Option "ButtonIntegrated" "true" |
|
# The momentum after scroll fingers released |
|
Option "ScrollCoastDuration" "300" |
|
Option "ScrollCoastEnableSpeed" ".1" |
|
# Natural scrolling with two fingers |
|
Option "ScrollSmooth" "true" |
|
Option "ScrollUpButton" "5" |
|
Option "ScrollDownButton" "4" |
|
Option "ScrollLeftButton" "7" |
|
Option "ScrollRightButton" "6" |
|
# Tweak scroll sensitivity with ScrollDistance, don't touch ScrollSensitivity |
|
Option "ScrollDistance" "250" |
|
Option "ScrollClickTime" "10" |
|
# Three finger drag |
|
Option "SwipeDistance" "1" |
|
Option "SwipeLeftButton" "1" |
|
Option "SwipeRightButton" "1" |
|
Option "SwipeUpButton" "1" |
|
Option "SwipeDownButton" "1" |
|
Option "SwipeClickTime" "0" |
|
Option "SwipeSensitivity" "1500" |
|
# Four finger swipe, 8 & 9 are for browsers navigating back and forth respectively |
|
Option "Swipe4LeftButton" "9" |
|
Option "Swipe4RightButton" "8" |
|
# Mouse button >= 10 are not used by Xorg, so we'll map them with xbindkeys and xdotool later |
|
Option "Swipe4UpButton" "11" |
|
Option "Swipe4DownButton" "10" |
|
# Mouse buttons triggered by 2-finger pinching gesture |
|
Option "ScaleDistance" "300" |
|
Option "ScaleUpButton" "12" |
|
Option "ScaleDownButton" "13" |
|
# Mouse buttons trigger by 2-finger rotating gesture, disabled to enhance the pinch gesture |
|
Option "RotateLeftButton" "0" |
|
Option "RotateRightButton" "0" |
|
EndSection |
|
|
|
localuser@macbookpro17inch:~/mtrack.build/xf86-input-mtrack$ sudo adduser "`whoami` input |
|
Adding user `localuser' to group `input' ... |
|
Adding user localuser to group input |
|
Done. |
|
|
|
localuser@macbookpro17inch:~/mtrack.build/xf86-input-mtrack$ ########## Disable touchpad while typing with dispad ########## |
|
localuser@macbookpro17inch:~$ sudo apt install libconfuse-dev libxi-dev |
|
Reading package lists... 0% |
|
Reading package lists... 100% |
|
Reading package lists... Done |
|
Building dependency tree... 0% |
|
Building dependency tree... 0% |
|
Building dependency tree... 50% |
|
Building dependency tree... 50% |
|
Building dependency tree |
|
Reading state information... 0% |
|
Reading state information... 0% |
|
Reading state information... Done |
|
The following packages were automatically installed and are no longer required: |
|
libegl1-mesa libxatracker2 libxvmc1 x11-apps x11-session-utils xfonts-base |
|
xfonts-encodings xfonts-scalable xfonts-utils xinit xinput xserver-common |
|
xserver-xorg-core-hwe-18.04 xserver-xorg-input-all-hwe-18.04 |
|
xserver-xorg-input-libinput-hwe-18.04 xserver-xorg-input-wacom-hwe-18.04 |
|
xserver-xorg-legacy-hwe-18.04 xserver-xorg-video-all-hwe-18.04 |
|
xserver-xorg-video-amdgpu-hwe-18.04 xserver-xorg-video-ati-hwe-18.04 |
|
xserver-xorg-video-fbdev-hwe-18.04 xserver-xorg-video-intel-hwe-18.04 |
|
xserver-xorg-video-nouveau-hwe-18.04 xserver-xorg-video-qxl-hwe-18.04 |
|
xserver-xorg-video-radeon-hwe-18.04 xserver-xorg-video-vesa-hwe-18.04 |
|
xserver-xorg-video-vmware-hwe-18.04 |
|
Use 'sudo apt autoremove' to remove them. |
|
The following additional packages will be installed: |
|
libconfuse-doc libxext-dev libxfixes-dev x11proto-fixes-dev |
|
Suggested packages: |
|
libxext-doc |
|
The following NEW packages will be installed: |
|
libconfuse-dev libconfuse-doc libxext-dev libxfixes-dev libxi-dev |
|
x11proto-fixes-dev |
|
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. |
|
Need to get 459 kB of archives. |
|
After this operation, 2,237 kB of additional disk space will be used. |
|
Do you want to continue? [Y/n] |
|
... |
|
|
|
localuser@macbookpro17inch:~$ pwd |
|
/home/localuser |
|
localuser@macbookpro17inch:~$ mkdir dispad.build |
|
localuser@macbookpro17inch:~$ cd dispad.build/ |
|
localuser@macbookpro17inch:~/dispad.build$ git clone https://github.com/BlueDragonX/dispad.git |
|
Cloning into 'dispad'... |
|
remote: Enumerating objects: 244, done. |
|
Receiving objects: 0% (1/244) |
|
Receiving objects: 1% (3/244) |
|
... |
|
Receiving objects: 100% (244/244), 135.94 KiB | 1.89 MiB/s, done. |
|
Resolving deltas: 0% (0/143) |
|
... |
|
Resolving deltas: 100% (143/143), done. |
|
localuser@macbookpro17inch:~/dispad.build$ cd dispad |
|
localuser@macbookpro17inch:~/dispad.build/dispad$ ########## compile the daemon ########## |
|
localuser@macbookpro17inch:~/dispad.build/dispad$ ./configure |
|
checking for a BSD-compatible install... /usr/bin/install -c |
|
checking whether build environment is sane... yes |
|
... |
|
configure: creating ./config.status |
|
config.status: creating Makefile |
|
config.status: creating src/Makefile |
|
config.status: executing depfiles commands |
|
|
|
localuser@macbookpro17inch: ~/dispad.build/dispad |
|
localuser@macbookpro17inch:~/dispad.build/dispad$ make |
|
Making all in src |
|
make[1]: Entering directory '/home/localuser/dispad.build/dispad/src' |
|
gcc -DPACKAGE_NAME=\"dispad\" -DPACKAGE_TARNAME=\"dispad\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"dispad\ 0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dispad\" -DVERSION=\"0.1\" -DHAVE_LIBXI=1 -DHAVE_LIBX11=1 -DHAVE_LIBCONFUSE=1 -I. -I../include/ -g -O2 -MT conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.c |
|
... |
|
make[2]: Leaving directory '/home/localuser/dispad.build/dispad' |
|
make[1]: Leaving directory '/home/localuser/dispad.build/dispad' |
|
|
|
localuser@macbookpro17inch:~/dispad.build/dispad$ dispad |
|
[I] using config file: /home/localuser/.dispad |
|
|
|
localuser@macbookpro17inch:~/dispad.build/dispad$ vi ~/.dispad |
|
... |
|
"~/.dispad" 24 lines, 576 characters written |
|
|
|
localuser@macbookpro17inch:~/dispad.build/dispad$ cat ~/.dispad |
|
# default dispad config file |
|
# name of the property used to enable/disable the trackpad |
|
property = "Trackpad Disable Input" |
|
# the value used to enable the trackpad |
|
enable = 0 |
|
# the value used to disable the trackpad |
|
disable = 1 |
|
# whether or not modifier keys disable the trackpad |
|
modifiers = false |
|
# how long (in ms) to sleep between keyboard polls |
|
#poll = 100 |
|
poll = 48 |
|
# how long (in ms) to disable the trackpad after a keystroke |
|
#delay = 1000 |
|
delay = 500 |
|
# create a pid file at the given location; not created if left commented |
|
#pidfile = "/home/localuser/.dispad.pid" |
|
|
|
localuser@macbookpro17inch:~/dispad.build/dispad$ ######## |
|
localuser@macbookpro17inch:~/dispad.build/dispad$ ## DO THIS NOW - this log does not show the following GUI activity |
|
localuser@macbookpro17inch:~/dispad.build/dispad$ ######## |
|
localuser@macbookpro17inch:~/dispad.build/dispad$ ## To Start dispad automatically every time we log in |
|
localuser@macbookpro17inch:~/dispad.build/dispad$ ## go to Activities, search and open Startup Applications |
|
localuser@macbookpro17inch:~/dispad.build/dispad$ ## Add new entry, with name as dispad, command as /usr/local/bin/d |
|
dispad and with an optional comment to remind you what it does. |
|
localuser@macbookpro17inch:~/dispad.build/dispad$ ######## |
|
|
|
localuser@macbookpro17inch:~/dispad.build/dispad$ # Add more gestures with xbindkeys & xdotool |
|
localuser@macbookpro17inch:~/dispad.build/dispad$ sudo apt install xbindkeys xdotool |
|
[sudo] password for localuser: |
|
Reading package lists... 0% |
|
... |
|
Processing triggers for man-db (2.8.3-2ubuntu0.1) ... |
|
Processing triggers for menu (2.1.47ubuntu2.1) ... |
|
Processing triggers for libc-bin (2.27-3ubuntu1) ... |
|
|
|
localuser@macbookpro17inch:~/dispad.build/dispad$ ##### xbind has been automatically added to Startup Applications, no need to add manually! |
|
|
|
localuser@macbookpro17inch:~/dispad.build/dispad$ vi ~/.xbindkeysrc |
|
... |
|
"~/.xbindkeysrc" [New File] 24 lines, 407 characters written |
|
localuser@macbookpro17inch:~/dispad.build/dispad$ cat ~/.xbindkeysrc |
|
# Next Workspace |
|
"xdotool key super+Page_Down" |
|
b:11 |
|
# Move Next Workspace |
|
"xdotool key --clearmodifiers super+shift+Page_Down" |
|
Control + b:11 + release |
|
# Previous Workspace |
|
"xdotool key super+Page_Up" |
|
b:10 |
|
# Move Previous Workspace |
|
"xdotool key --clearmodifiers super+shift+Page_Up" |
|
Control + b:10 + release |
|
# Zoom in |
|
"xdotool key ctrl+21" |
|
b:12 |
|
# Zoom out |
|
"xdotool key ctrl+20" |
|
b:13 |
|
|
|
localuser@macbookpro17inch:~/dispad.build/dispad$ cd |
|
|
|
localuser@macbookpro17inch:~$ # Reboot |
|
localuser@macbookpro17inch:~$ sync;sync;sync |
|
localuser@macbookpro17inch:~$ sudo reboot |