UPDATES
-Added how to enable upper mouse buttons
- Unfortunately, the two issues below are present in 14.10 as well, both without and with the intel graphics installer(1.08). However, they are significantly rarer and I am using 14.10 happily.
- Upon opening the lid, the screen is sometimes frozen after the laptop has been closed (suspended) for a while. This usually fixes itself after a few seconds and I get redirected to the log in prompt, but once I had to kill X.
- The screen is definitely iffy after suspend. Not necessarily the touch input, but there are graphical glitches and scrolling becomes laggy. I will test with 14.10 and the latest intel drivers when I have more time.
Original Post
Hi everyone,
I thought I would start a thread where we can share tips and tricks on what makes Linux run smoothly on the 12.5" TP Yoga 2nd gen. I installed Ubuntu 14.04 Unity desktop on mine yesterday and it has been running great so far. Below you can take part of what is working (almost everything) and what is not (almost nothing) =). Many of the tips and scripts I include here are from this guy and the previous discussion on running Linux on the first generation TP Yoga and only include minor modifications of my own so credit goes to the original authors. I got the TP Yoga with 8gb of ram, i5, 256GB SSD (samsung evo, upgraded myself, it's easy), 1080p multitouch screen with active digitizer.
Pen
- I like the feel, it is a little small, but miles ahead of the one that came with the Asus Vivotab note8.
- Button = right click (configurable in settings as top button)
- Pressure Sensitivity
- Works out of the box in Krita, which also seems to have some sort of in build palm rejection. Guide to calibration if needed
- In Gimp, Edit > Input Devices > Change the wacom device from 'Disabled' to 'Screen'.
- I got the best results by setting the tip feel as a little bit firmer in the wacom systems settings
Fn Keys
- Works:
- FnLock
- VolMute/Mute/VolUp/VolDown/MicMute
- BrightUp/BrightDown
- Wifi
- Home/End/Insert
- Fn+Space for keyboard backlight
- Doesn't work (xev output in parenthesis):
- Projector key (expose event?)
- Settings (keycode 179)
- Search (lots of zeros)
- Task switcher (keycode 128)
- App menu (keycode 165)
Webcam and mic
- Works out of the box in Skype and cheese.
Touchscreen
- Some gestures work out of the box. I read that unity does not play nicely with touchegg, so didn't investigate this further.
- Even though the default ubuntu gestures are somewhat lacking, Google Chrome has great support for gestures which pretty much save the day. In chrome://flags - Enable Touch events > automatic, Enable Pinch Scale > Enabled, Enable touch based editing > Default
- Once it died after suspend, have tried some solution online to get it back but no luck.
- Originally 'SYNAPTICS Synaptics Touch Digitizer V04' in xinput list. Entry disappears after suspend.
- However, this only happened once and now it works perfectly after waking up.
- There seems to be some random graphics issues occurring, like having some letters disappear in titlebars and filenames. It is not very severe and goes away when rescaling the text in Display Options
- There is a patch suggested in this discussion, but it did not download when I updated my system and the newest intel installation tool seems not to be available for 14.04 (at least not 14.04.2).
Touchpad
- One finger = left click (button 1), two finger = right click (button 3), three or more fingers = nothing (not registered by xev)
- Clickpad click = left click, clickpad click close to bottom right corner = right click
- Upper Buttons
- Left = button 4 (unfortunately the same as two finger scroll up)
- Right = button 5 (unfortunately the same as two finger scroll down)
- Middle = not registered by xev and omdifying 50-synaptics.conf has no effect
- This lack of button features is related to bugs/lack of functionality in the kernel for the new hardware lenovo chose to implement. There is a patch to be committed to 4.0 (and maybe backported?)
- If you want the buttons to work as left, middle, right and are ready to lose two finger scrolling/clicking and some touchpad sensitivity, then you can do the below (from here)
To make this change permanent, create a file such as touchpad.conf under /etc/modprobe.d/, and put the following line in it:Code:modprobe -r psmouse modprobe psmouse proto=imps
Code:options psmouse proto=imps
- If you want to disable areas of the trackpad, copy /usr/share/X11/xorg.conf.d/50-synaptics.conf and name it 60-synaptics.conf to have higher precedence. Then add the following two lines
so that the second last section of the file readsCode:Option "AreaTopEdge" "30%" Option "AreaBottomEdge" "80%"
That disables to top 30 % and bottom 20 % for me.Code:# This option enables the bottom right corner to be a right button on clickpads # and the right and middle top areas to be right / middle buttons on clickpads # with a top button area. # This option is only interpreted by clickpads. Section "InputClass" Identifier "Default clickpad buttons" MatchDriver "synaptics" Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0" Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%" Option "AreaTopEdge" "30%" Option "AreaBottomEdge" "80%" EndSection
Spin
- This is a cool python utility written by an owner of the first gen yoga and linked in the thread mentioned above. You can download it from GitHub. You will need to make a small change.
- The touchscreen name is now 'SYNAPTICS Synaptics Touch Digitizer V04' instead of 'ELAN Touchscreen'. Search and replace accordingly.
- Most things seems to work great here, but I was having some problem with windows not filling up the screen when rotated vertically. I will need to test this more.
Additional comments
- If you opt to use any of the other rotation scripts from the 1st gen TPYoga thread, note that you need to change
toCode:current_orientation(){xrandr|grep " connected" |awk '{print $4}'}and remove a left parenthesis from the first 'normal' a few lines after that.Code:current_orientation(){xrandr --verbose|grep eDP1|awk '{print $6}'}
- It's annoying that insert is the default behaviour of the End key under FnLock. Add
to the start up scripts and without the sleep command to a custom keyboard shortcut for when waking from suspend etc.Code:sleep 2 && setxkbmap us -option caps:ctrl_modifier && xmodmap -e "keycode 118 = End" && xmodmap -e "keycode 115 = Insert"
- Double mouse icons after rotating the screen (only for a while)
- Arrow keys feel a bit small
- Wifi works after suspend!! =D (unfortunately not that great in 14.10, need to turn it on and off some times)
- Keyboard feels great!
- Battery life was a bit disappointing during the first day (around 4 hours), but today it seems to be at least 5. I need to experiment more with brightness settings as this computer gets pretty bright which draws a lot of juice.
Overall I am very happy with my new laptop! It is so much more portable than my last (17", hehe) and the screen folding with pen input helps a lot when reading articles and taking notes. I still have to test note taking with onenote under virtualbox/vmware, but I have a lot of work to do this week so future updates might take a while. Looking forward to input from other TP Yoga owners with their experience in running Linux on this machine.
Bookmarks