You are not logged in.
Hello,
I recently bought the Lenovo Yoga2 Pro laptop/tablet convertable. I read that Linux was quite a pain to get going on this system but it's actually very usable! More even than Windows.
I decided to go with GNOME Shell as a desktop environment. It has the best tablet feeling, I think. It also supports gestures for opening the dock, moving between workspaces, rightclicking, copy+paste menus and whatnot. But the touch support ends with the shell itself. Applications don't really benefit (well, except the standard gnome apps, weather, gedit, terminal,...).
There actually is an article about the Yoga on the Arch wiki mentioning touchegg as a gesture recognition software. So I did some research and built it and its dependencies from the AUR. I followed the instructions on the Touchegg wiki article but I couldn't get it to recognize anything I did with the touchscreen. Both with touchegg and touchegg-svn. One comment on the AUR mentions a problem with the synaptics driver grabbing all the touch input before utouch could deliver it to grail, geis and finally touchegg. As a very pragmatic approach I removed the synaptics driver but that didn't help eigther. I guess synaptics doesn't even care about the touch display.
So I tried touchegg with a bare twm + xterm session and it actually listed the touch actions I performed! So I guess GNOME Shell grabs the touch events before touchegg can interpred them? How do I set touchegg to receive the actions first? Or keep the shell from beeing intrested in those events?
I really hope you can help me with this, it's somewhat annoying not beeing able to use it in tablet mode.
John
EDIT: Okay, so it _kind of_ works:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
touchegg &
exec gnome-session
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choiceBut this is rather inconvenient as I now have to run 'startx' instead of having a graphical login. Can I somehow convince GDM of using .xinitrc to start the session?
Last edited by JohnKapri (2014-12-20 14:16:43)
Offline
Hi,
I had the same problem. I fixed adding
touchegg &to ~/.xprofile
Last edited by ilfugiuliopascal (2015-01-03 22:25:17)
Offline