You are not logged in.

#1 2016-06-17 06:17:49

dreivier
Member
Registered: 2016-04-07
Posts: 36

Gnome 3.20 X => Wayland, Apple Magic Trackpad issues

This time round I decided to try Gnome under Wayland again, works fine.

I'm using an Apple magic trackpad though and it seems Wayland handles its input differently. Is it possible to somehow copy the X behaviour over to Wayland? I checked xinput but the trackpad doesn't even have the same id anymore.

Funny thing is that Wayland seems to notice the trackpad is a trackpad and offers me in Gnome settings a touch setting while X only offers mouse settings and no touch settings at all.

Offline

#2 2016-06-17 15:17:29

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,787

Re: Gnome 3.20 X => Wayland, Apple Magic Trackpad issues

What driver had you been using on X?  A generic mouse driver? xf86-input-synaptics? or xf86-input-libinput?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2016-06-17 16:24:37

dreivier
Member
Registered: 2016-04-07
Posts: 36

Re: Gnome 3.20 X => Wayland, Apple Magic Trackpad issues

I don't know. Apparently gnome doesn't use synaptics drivers. How can I find out?

Offline

#4 2016-06-17 16:41:27

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,787

Re: Gnome 3.20 X => Wayland, Apple Magic Trackpad issues

Check to see which drivers are installed now with pacman -Qs xf86-input
The best thing to do is boot into the X environment you had been using and look at the Xorg log.

Yes, Gnome does not use the synaptics library.  You might want to look at the xinput command (and its sub commands [check the man page]) and study the properties that command reports.  You can also adjust them with that command


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2016-06-17 18:17:06

dreivier
Member
Registered: 2016-04-07
Posts: 36

Re: Gnome 3.20 X => Wayland, Apple Magic Trackpad issues

Yes, every single one of them is installed. Can I export xinput settings?

Offline

#6 2016-06-17 22:37:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,787

Re: Gnome 3.20 X => Wayland, Apple Magic Trackpad issues

I don't know of any direct way.  But you can set them fairly easily -- https://wiki.archlinux.org/index.php/Li … figuration


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2016-06-19 10:26:26

dreivier
Member
Registered: 2016-04-07
Posts: 36

Re: Gnome 3.20 X => Wayland, Apple Magic Trackpad issues

ok, thank you. Will update this post once I figured out a working configuation for the Apple Magic Trackpad.

Offline

#8 2017-09-28 04:56:57

oscarbranson
Member
Registered: 2017-09-28
Posts: 13

Re: Gnome 3.20 X => Wayland, Apple Magic Trackpad issues

dreivier wrote:

ok, thank you. Will update this post once I figured out a working configuation for the Apple Magic Trackpad.

Any updates, dreivier? Did you get it working? Just working through this now... The basic trackpad works (mouse moves and can click things), but I can't work out how to make gestures or multi-touch working.

Thanks in advance!

Offline

#9 2017-09-28 18:18:58

dreivier
Member
Registered: 2016-04-07
Posts: 36

Re: Gnome 3.20 X => Wayland, Apple Magic Trackpad issues

Oops, totally forgot to update.
Now I can't remember anything anymore since it's just working. I can now set things up via Gnome's settings just nice.

~ xinput list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ xwayland-pointer:13                     	id=6	[slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:13            	id=7	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ xwayland-keyboard:13                    	id=8	[slave  keyboard (3)]

~ xinput list-props 2
Device 'Virtual core pointer':
	Device Enabled (119):	1
	Coordinate Transformation Matrix (121):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000

~ xinput list-props 4
Device 'Virtual core XTEST pointer':
	Device Enabled (119):	1
	Coordinate Transformation Matrix (121):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	XTEST Device (238):	1

~ xinput list-props 6
Device 'xwayland-pointer:13':
	Device Enabled (119):	1
	Coordinate Transformation Matrix (121):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	Device Accel Profile (244):	0
	Device Accel Constant Deceleration (245):	1.000000
	Device Accel Adaptive Deceleration (246):	1.000000
	Device Accel Velocity Scaling (247):	10.000000

This is my xinput settings. If you can tell me which other settings you'd like to see I'll happily provide them.

Offline

Board footer

Powered by FluxBB