You are not logged in.

#1 2015-10-05 18:25:35

Utini
Member
Registered: 2015-09-28
Posts: 452
Website

Touchscreen and pinch-to-zoom + scrolling support?

Hey there,

I have a Dell XPS 15 9530 with a touchscreen and can't get pinch-to-zoom or scrolling to work on XFCE. I tried touchegg but no chance.
Are there any other solutions? Are there any drivers that support those features out of the box ? Standart click & drag-and-drop works out of the box so far.

Thanks !


Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF

Offline

#2 2015-10-07 18:28:25

Utini
Member
Registered: 2015-09-28
Posts: 452
Website

Re: Touchscreen and pinch-to-zoom + scrolling support?

Anyone?


Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF

Offline

#3 2015-10-09 13:40:25

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,447
Website

Re: Touchscreen and pinch-to-zoom + scrolling support?

Utini wrote:

Anyone?

Don't do this (or this).  We do not allow it as described here: power posting / empty posts and bumping.

If you want help, do more to describe your problem, what you have found so far, what you are currently trying, etc.  For example, what does touchegg do?  What does it fail to do?  What does "no chance" mean?  Was there an error?  Did it not meet your needs?  If not, in what way did it fail to meet your needs?

You may also be well served by reading the following:
http://catb.org/~esr/faqs/smart-questions.html


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2015-10-15 12:30:30

Utini
Member
Registered: 2015-09-28
Posts: 452
Website

Re: Touchscreen and pinch-to-zoom + scrolling support?

Trilby wrote:
Utini wrote:

Anyone?

Don't do this (or this).  We do not allow it as described here: power posting / empty posts and bumping.

If you want help, do more to describe your problem, what you have found so far, what you are currently trying, etc.  For example, what does touchegg do?  What does it fail to do?  What does "no chance" mean?  Was there an error?  Did it not meet your needs?  If not, in what way did it fail to meet your needs?

You may also be well served by reading the following:
http://catb.org/~esr/faqs/smart-questions.html

Sorry for not describing the problem good enough.. I will try again:

Currently I am using synaptics driver for touchpad + evdev for my touchscreen. The touchscreen "works" in terms of click as well as drag & drop. How ever, the most crucial features for me are missing: pinch-to-zoom and scrolling.

I tried Touchegg:
High CPU usage
Dead project
Very buggy (according to google results), e.g. a bug I encountered:
It also fails to do any two-finger pinch-to-zoom or scrolling or "two-finger rotation". No error, just won't work. Has been reported many times but touchegg isn't getting developed anymore.

Pretty much the same goes for xswipe.

There are no particular errors or configuration problems. It just seems like touchscreens aren't well supported on linux? Or atleast when it comes to XFCE and the touchscreen drivers ?

Last edited by Utini (2015-10-15 12:31:33)


Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF

Offline

#5 2015-10-16 12:06:34

Silkworm205
Member
From: UK
Registered: 2012-05-21
Posts: 267

Re: Touchscreen and pinch-to-zoom + scrolling support?

I've got a touchscreen netbook which worked fine after just installing the xorg touch drivers.
It seems to me that the gtk2 toolkit which XFCE4 uses just doesn't provide touchscreen hooks for its programs as both mate and xfce4 fell flat for me.
When I tried Gnome Shell, Unity, and Mate-gtk3, they all seemed to give better support. I'd try one of them.


I think I know enough to know I don't know enough.

Offline

#6 2015-10-16 17:29:41

Utini
Member
Registered: 2015-09-28
Posts: 452
Website

Re: Touchscreen and pinch-to-zoom + scrolling support?

Silkworm205 wrote:

I've got a touchscreen netbook which worked fine after just installing the xorg touch drivers.
It seems to me that the gtk2 toolkit which XFCE4 uses just doesn't provide touchscreen hooks for its programs as both mate and xfce4 fell flat for me.
When I tried Gnome Shell, Unity, and Mate-gtk3, they all seemed to give better support. I'd try one of them.

Meh, I would really love to stay with XFCE4 though hmm


Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF

Offline

#7 2015-10-17 05:56:30

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 649

Re: Touchscreen and pinch-to-zoom + scrolling support?

Utini wrote:

Currently I am using synaptics driver for touchpad + evdev for my touchscreen.

Any reason you are using synaptics? I have a 2015 Dell XPS 13 and by default (i.e. without any special xorg or other configuration) it boots using libinput which in my experience works much better than synaptics. Make sure xf86-input-libinput is installed. Tap to click, Two finger scroll, natural scrolling, palm detection etc all work out of the box, at least on GNOME. One, two (right click), and three (middle click) finger taps work well.

Offline

#8 2015-10-17 12:56:52

Silkworm205
Member
From: UK
Registered: 2012-05-21
Posts: 267

Re: Touchscreen and pinch-to-zoom + scrolling support?

Utini wrote:
Silkworm205 wrote:

I've got a touchscreen netbook which worked fine after just installing the xorg touch drivers.
It seems to me that the gtk2 toolkit which XFCE4 uses just doesn't provide touchscreen hooks for its programs as both mate and xfce4 fell flat for me.
When I tried Gnome Shell, Unity, and Mate-gtk3, they all seemed to give better support. I'd try one of them.

Meh, I would really love to stay with XFCE4 though hmm

Give eye of gnome a go just to see if the issue is the programs or the drivers.


I think I know enough to know I don't know enough.

Offline

#9 2015-10-17 15:12:23

Utini
Member
Registered: 2015-09-28
Posts: 452
Website

Re: Touchscreen and pinch-to-zoom + scrolling support?

Silkworm205 wrote:
Utini wrote:
Silkworm205 wrote:

I've got a touchscreen netbook which worked fine after just installing the xorg touch drivers.
It seems to me that the gtk2 toolkit which XFCE4 uses just doesn't provide touchscreen hooks for its programs as both mate and xfce4 fell flat for me.
When I tried Gnome Shell, Unity, and Mate-gtk3, they all seemed to give better support. I'd try one of them.

Meh, I would really love to stay with XFCE4 though hmm

Give eye of gnome a go just to see if the issue is the programs or the drivers.

It is a driver issue as those things won't work with many programs (okular, ristretto, iceweasel,..)

bulletmark wrote:
Utini wrote:

Currently I am using synaptics driver for touchpad + evdev for my touchscreen.

Any reason you are using synaptics? I have a 2015 Dell XPS 13 and by default (i.e. without any special xorg or other configuration) it boots using libinput which in my experience works much better than synaptics. Make sure xf86-input-libinput is installed. Tap to click, Two finger scroll, natural scrolling, palm detection etc all work out of the box, at least on GNOME. One, two (right click), and three (middle click) finger taps work well.

Are you talking about touchpad or touchscreen? My touchpad works perfectly fine and has all features supported.


Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF

Offline

#10 2015-10-19 12:10:30

flargen
Member
Registered: 2012-10-27
Posts: 13

Re: Touchscreen and pinch-to-zoom + scrolling support?

Utini wrote:

It is a driver issue as those things won't work with many programs (okular, ristretto, iceweasel,..)

None of the programs you listed are native GTK3 applications. As Silkworm205 suggested try eye of gnome, evince or another GTK3/Gnome 3 application. Gestures such as pinch zoom etc. all work on my touchscreen laptop (HP spectre 13) out of the box in GTK3/Gnome.3 applications.

Offline

#11 2015-10-20 17:04:33

Utini
Member
Registered: 2015-09-28
Posts: 452
Website

Re: Touchscreen and pinch-to-zoom + scrolling support?

flargen wrote:
Utini wrote:

It is a driver issue as those things won't work with many programs (okular, ristretto, iceweasel,..)

None of the programs you listed are native GTK3 applications. As Silkworm205 suggested try eye of gnome, evince or another GTK3/Gnome 3 application. Gestures such as pinch zoom etc. all work on my touchscreen laptop (HP spectre 13) out of the box in GTK3/Gnome.3 applications.

Fair enough, but I need those functions in my browser, pdf reader, office tools, etc etc.. I basically need them everywhere and not just a "handfull of GTK3 apps" hmm

But installing gnome might fix that? I might do the switch from XFCE to gnome if that will enable touch screen support for me ?

@edit: I just figured that scrolling in e.g. Telegram and Okular works. In Thunar it will "highlite" items instead of scrolling. In Firefox/Iceweasel it does nothing.

Pinch-to-zoom doesm't seem to work anywhere.

Last edited by Utini (2015-10-21 07:06:41)


Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF

Offline

#12 2018-05-21 02:38:05

BBEng
Member
Registered: 2018-05-16
Posts: 1

Re: Touchscreen and pinch-to-zoom + scrolling support?

strong 2+ year bump here...
After hours of searching, I've finally found a solution for this. This is what worked for me (all applications - including firefox) on Arch i3:

  • List all libinput devices using:

    sudo libinput list-devices
  • Find your touchscreen device (for me it was ELAN Touchscreen)
    You'll notice there are some options listed below. More than likely the option for Tap-and -drag is set to n/a.

  • Open the libinput config file in

    /usr/share/X11/xorg.conf.d/40-libinput.conf

    with your editor of choice.

  • In the "libinput touchscreen catchall" Identifier, under Driver "libinput", enter the following:

    Option "Tapping" "true"
    Option "TappingDrag" "true"

There are more options you can set for the touchscreen (among other libinput things) which you can find here:
https://www.mankier.com/4/libinput

Really you don't need to list all libinput devices like I suggested in the first couple steps, but it helps to see if your Tap-and-drag is set to n/a.
The only place this won't work is in my terminal emulator (URXVT), but that's expected. Spotify, Firefox, Thunar (not that I use this...) all work now.

Offline

#13 2018-05-21 03:03:30

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: Touchscreen and pinch-to-zoom + scrolling support?

BBEng, thank you for your contribution and solution, but please do not necrobump old threads in the future.

Offline

#14 2018-05-21 03:05:10

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Touchscreen and pinch-to-zoom + scrolling support?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB