Installing Linux on Lenovo Thinkpad 11e

EDIT: 2018-11-30

I have been running this laptop for 3 years now.  I love the keyboard and, with Linux, it is reasonably fast (for the size and price).  It also feels sturdy as I had hoped.  However, there were three little annoyances that stopped me being completely happy:

  • Sometimes the battery drained even when the machine was powered off! I think that this was meant to be related to some kind of ‘smart suspend’ feature but what it meant for me was that I could never depend on it having power when I came to turn it on. This is hopeless for a fieldwork laptop.
  • I had to keep the function key permanently enabled to be able to use F1 to F12. This wasn’t too much of a problem, except that it had the side effect of turning the ‘End’ key into ‘Insert’.  This was really annoying.
  • I couldn’t do any BIOS updates because they required Windows.  I was stuck on version 1.14 from May 2015.

This week, I discovered that it is now possible to do BIOS updates via bootable USB. I followed these instructions. and downloaded the latest version (1.34) from the Lenovo website Support section. This includes a fix for the function keys and for “an issue that drained the battery during shutdown”. The only hurdle was that the one-time boot order selection didn’t work (I got some PXE error that meant it was trying to boot from network), so I had to change the standard boot order and put USB HDD at the top. After that, all went smoothly.

I am running Ubuntu Mate 18.04.1 with the ‘Netbook’ layout. The brightness keys worked out of the box. My function keys now work properly having set them in the BIOS. I was able to set CapsLock as Ctrl in the Mate Keyboard Settings. All good so far, and most of what is below is redundant (except touchpad fix at the bottom, which should be fixed as standard soon).

I haven’t tested the power situation yet, but I am optimistic. If it has been fixed, then this laptop may finally live up to the high hopes that I had for it.

The original post is below the line.


I recently updated my laptop to a Lenovo Thinkpad 11e.  The laptop meets military specifications for shock, humidity, temperature and dust and I swapped the hard drive for a solid state drive that has no moving parts.  It should be ideal for geological fieldwork.

I installed Linux Mint 17 XFCE, which is based on Ubuntu 14.04 Long Term Support.  Mostly things worked out of the box, but there were a few tweaks that I had to make to get everything as I wanted.  These notes are here to remind me and in case they are helpful to anyone else.

Enable brightness changing via function keys

Initially, the brightness function keys wouldn’t actually adjust the brightness.  The icon would appear but the brightness remained the same.  To fix:

  • Add the following to /etc/default/grub:
     GRUB_CMDLINE_LINUX_DEFAULT="video.use_native_backlight=1"
  • Then run:
    sudo update-grub

Swap End/Insert keys

By default, the function keys are set up to change brightness, volume etc.  Turning on FnLock sets them to the more useful F1 to F12 but has the unwelcome side effect of changing the End key into Insert.  I don’t know who thought that was a good idea.

There are a number of solutions described online that use xmodmap.  The downside with these is that they are forgotten when the laptop is suspended.  To make the change persistent:

  • Edit /usr/share/X11/xkb/symbols/pc so that it reads as follows:
    key  <INS> {    [  End        ]    };
    key  <END> {    [  Insert     ]    };
  • Then delete old keymaps:
    sudo rm /var/lib/xkb/server*.xkm

Turn CapsLock into another Ctrl key

This is more for personal preference, as is more comfortable when using Vim text editor, where the aim is to keep your fingers on the home row as much as possible.

  • Create a file /usr/share/X11/xorg.conf.d/10-keyboard.conf with the following contents:
    Section "InputClass"
            Identifier "system-keyboard"
            MatchIsKeyboard "on"
            Option "XkbOptions" "ctrl:nocaps"
    EndSection

Add myself to dialout group

This was necessary because my GPS connects via USB to serial adapter as /dev/ttyUSB0.  I needed to be part of the dialout group to have permissions to access it.

  • Run:
    sudo usermod -a -G dialout my_username
  • Then logout and back in.

Fix unstable wifi connection

Sometimes the wifi connection drops out intermittently, or is just slow.  The wifi card is an Intel Dual Band Wireless AC7260.  There seem to be a number of potential reasons and solutions for this online, ranging from hardware faults, problems with the router, power management and old drivers.  There are a number of questions about this on AskUbuntu, including here and here.  It isn’t too much of an issue for now, but when I find a solution I’ll update this post. <UPDATE: this went away when I upgraded to kernel 3.13.

Touchpad not working in Ubuntu 18.04.1

(Updated 2018-11-29). Since a recent update, my touchpad stopped working. I found the following post that fixed it: https://askubuntu.com/questions/1091044/xubuntu-18-04-18-04-1-upgrade-synaptics-touchpad-not-working

The process was to add the bionic-proposed repository and then run the following:

sudo apt install libkmod2
sudo update-initramfs -u

After a reboot, the touchpad worked again.

Categories: Uncategorized

9 Comments

  1. Hi John,

    I just got a Thinkpad 11e myself with the intention to install Fedora Linux. I’m having a bit of trouble figuring out how to get the laptop to boot from the linux flash drive. Everything I’m seeing says after putting the device in developer mode, when I boot I should hit CTRL+L to allow legacy boot, and then hit ESC to get the Linux boot option. I’ve tried this procedure, but never get anything other than chrome to even appear as an option for booting. Is there something I’ve been missing?

    Thanks,

    -Russell

  2. Reading again, it looks like you might have the windows version of the 11e, whereas I have the Chromebook version.

    • Hi Russell,

      I did have the Windows version, but I also swapped out the hard drive for a solid state one. So there was no operating system on there when I started the Linux install.

      I installed from USB stick after pressing ‘Enter’, then ‘F12’ at the BIOS screen.

      John

  3. Clay Smith says:

    There’s a BIOS option to make the function keys behave as normal function keys. Much better than the FnLock option and Insert/End work correctly out of the box.

  4. Frank Jennings says:

    Hi John A. Stevenson,
    I have a lenovo 11e with a solid state drive ( I THINK ). Do you think that it’s possible for me to install linux mint (either from a cd or a flash drive) ?

  5. Chris V says:

    Hi John,

    Thanks for the post! I am considering getting the 11e for Linux, but am concerned about battery life. On Amazon it shows that the battery life with Windows 10 pro is only 6.6 hours. I plan to put Ubuntu 14.04 on it though, is the Linux battery life alright?

    Thanks,
    Chris

  6. Lono says:

    Hey Guys,

    I have a Lenovo Yoga 11e, Im trying to put Kali Linux or Windows 7. Any suggestions?

    When I boot from a usb I get to the boot manager window and select my usb drive and it just staying on that screen.

  7. ben2ben says:

    I am thinking of purchasing Either the 11e 3rd generation of the Yoga 11e 3rd gen

    The Lenovo site is not kind enough to offer a model number to denote the many configs. Just “up to” mentioned all over the place. 🙂
    Anyhow I am leaning towards the “clamshell” I need an rj45 jack cause I use it all the time for work. USB 3.0 ports and HDMI. The OS doesn’t matter cause I am going to install a Debian or Arch linux variant.

    My questions are: Are you still running linux of this and have you been able to upgrade to the current kernel without too much trouble? Has it been a pretty stable unit for you since your OP?

    Thanks 🙂