{"id":1527,"date":"2015-07-15T23:08:56","date_gmt":"2015-07-15T22:08:56","guid":{"rendered":"http:\/\/all-geo.org\/volcan01010\/?p=1527"},"modified":"2018-11-30T23:33:37","modified_gmt":"2018-11-30T23:33:37","slug":"installing-linux-on-lenovo-thinkpad-11e","status":"publish","type":"post","link":"https:\/\/all-geo.org\/volcan01010\/2015\/07\/installing-linux-on-lenovo-thinkpad-11e\/","title":{"rendered":"Installing Linux on Lenovo Thinkpad 11e"},"content":{"rendered":"<p><span style=\"color: #808080\">EDIT: 2018-11-30<\/span><\/p>\n<p>I have been running this laptop for 3 years now.\u00a0 I love the keyboard and, with Linux, it is reasonably fast (for the size and price).\u00a0 It also feels sturdy as I had hoped.\u00a0 However, there were three little annoyances that stopped me being completely happy:<\/p>\n<ul>\n<li>Sometimes the battery drained even when the machine was powered off! I think that this was meant to be related to some kind of &#8216;smart suspend&#8217; 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.<\/li>\n<li>I had to keep the function key permanently enabled to be able to use F1 to F12. This wasn&#8217;t too much of a problem, except that it had the side effect of turning the &#8216;End&#8217; key into &#8216;Insert&#8217;.\u00a0 This was really annoying.<\/li>\n<li>I couldn&#8217;t do any BIOS updates because they required Windows.\u00a0 I was stuck on version 1.14 from May 2015.<\/li>\n<\/ul>\n<p>This week, I discovered that it is now possible to do BIOS updates via bootable USB. I followed <a href=\"https:\/\/www.cyberciti.biz\/faq\/update-lenovo-bios-from-linux-usb-stick-pen\/\">these instructions<\/a>. and downloaded the latest version (1.34) from the <a href=\"https:\/\/pcsupport.lenovo.com\/gb\/en\/products\/LAPTOPS-AND-NETBOOKS\/THINKPAD-11E-SERIES-LAPTOPS\/THINKPAD-11E\/downloads\/DS041530\">Lenovo website Support section<\/a>. This includes a fix for the function keys and for &#8220;an issue that drained the battery during shutdown&#8221;. The only hurdle was that the one-time boot order selection didn&#8217;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.<\/p>\n<p>I am running Ubuntu Mate 18.04.1 with the &#8216;Netbook&#8217; 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).<\/p>\n<p>I haven&#8217;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.<\/p>\n<p>The original post is below the line.<\/p>\n<hr \/>\n<p>I recently updated my laptop to a <a href=\"http:\/\/shop.lenovo.com\/us\/en\/laptops\/thinkpad\/11e-series\/11e-windows\/#tab-features\">Lenovo Thinkpad 11e<\/a>.\u00a0 The laptop meets military specifications for shock, humidity, temperature and dust and I swapped the hard drive for a <a href=\"http:\/\/uk.crucial.com\/gbr\/en\/thinkpad-11e\/CT5989115\">solid state drive<\/a> that has no moving parts.\u00a0 It should be ideal for geological fieldwork.<\/p>\n<p>I installed <a href=\"http:\/\/www.linuxmint.com\/rel_qiana_xfce_whatsnew.php\">Linux Mint 17 XFCE<\/a>, which is based on <a href=\"http:\/\/www.ubuntu.com\">Ubuntu 14.04 Long Term Support<\/a>.\u00a0 Mostly things worked out of the box, but there were a few tweaks that I had to make to get everything as I wanted.\u00a0 These notes are here to remind me and in case they are helpful to anyone else.<\/p>\n<h3>Enable brightness changing via function keys<\/h3>\n<p>Initially, the brightness function keys wouldn&#8217;t actually adjust the brightness.\u00a0 The icon would appear but the brightness remained the same.\u00a0 To fix:<\/p>\n<ul>\n<li>Add the following to <strong>\/etc\/default\/grub<\/strong>:\n<pre> GRUB_CMDLINE_LINUX_DEFAULT=\"video.use_native_backlight=1\"<\/pre>\n<\/li>\n<li>Then run:\n<pre>sudo update-grub<\/pre>\n<\/li>\n<\/ul>\n<h3>Swap End\/Insert keys<\/h3>\n<p>By default, the function keys are set up to change brightness, volume etc.\u00a0 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.\u00a0 I don&#8217;t know who thought that was a good idea.<\/p>\n<p>There are a number of solutions described online that use xmodmap.\u00a0 The downside with these is that they are forgotten when the laptop is suspended.\u00a0 To make the change persistent:<\/p>\n<ul>\n<li>Edit <strong>\/usr\/share\/X11\/xkb\/symbols\/pc<\/strong> so that it reads as follows:\n<pre>key\u00a0 &lt;INS&gt; {\u00a0\u00a0 \u00a0[\u00a0 End\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0]\u00a0\u00a0 \u00a0};\r\nkey\u00a0 &lt;END&gt; {\u00a0\u00a0 \u00a0[\u00a0 Insert\u00a0\u00a0 \u00a0 ]\u00a0\u00a0 \u00a0};<\/pre>\n<\/li>\n<li>Then delete old keymaps:\n<pre>sudo rm \/var\/lib\/xkb\/server*.xkm<\/pre>\n<\/li>\n<\/ul>\n<h3>Turn CapsLock into another Ctrl key<\/h3>\n<p>This is more for personal preference, as is more comfortable when using <a href=\"http:\/\/www.viemu.com\/a-why-vi-vim.html\">Vim text editor<\/a>, where the aim is to keep your fingers on the home row as much as possible.<\/p>\n<ul>\n<li>Create a file <strong>\/usr\/share\/X11\/xorg.conf.d\/10-keyboard.conf<\/strong> with the following contents:\n<pre>Section \"InputClass\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Identifier \"system-keyboard\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 MatchIsKeyboard \"on\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Option \"XkbOptions\" \"ctrl:nocaps\"\r\nEndSection<\/pre>\n<\/li>\n<\/ul>\n<h3>Add myself to <em>dialout<\/em> group<\/h3>\n<p>This was necessary because my GPS connects via USB to serial adapter as \/dev\/ttyUSB0.\u00a0 I needed to be part of the dialout group to have permissions to access it.<\/p>\n<ul>\n<li>Run:\n<pre>sudo usermod -a -G dialout my_username<\/pre>\n<\/li>\n<li>Then logout and back in.<\/li>\n<\/ul>\n<h3>Fix unstable wifi connection<\/h3>\n<p>Sometimes the wifi connection drops out intermittently, or is just slow.\u00a0 The wifi card is an Intel Dual Band Wireless AC7260.\u00a0 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.\u00a0 There are a number of questions about this on AskUbuntu, including <a href=\"http:\/\/askubuntu.com\/questions\/511255\/intel-dual-band-wireless-ac-7260-keeps-dropping-wifi?rq=1\">here<\/a> and <a href=\"http:\/\/askubuntu.com\/questions\/616119\/unstable-wireless-with-intel-7260-iwlwifi-after-upgrade-to-15-04?rq=1\">here<\/a>.\u00a0 It isn&#8217;t too much of an issue for now, but when I find a solution I&#8217;ll update this post. &lt;UPDATE: this went away when I upgraded to kernel 3.13.<\/p>\n<h3>Touchpad not working in Ubuntu 18.04.1<\/h3>\n<p>(Updated 2018-11-29). Since a recent update, my touchpad stopped working. I found the following post that fixed it: <a href=\"https:\/\/askubuntu.com\/questions\/1091044\/xubuntu-18-04-18-04-1-upgrade-synaptics-touchpad-not-working\">https:\/\/askubuntu.com\/questions\/1091044\/xubuntu-18-04-18-04-1-upgrade-synaptics-touchpad-not-working<\/a><\/p>\n<p>The process was to add the <code>bionic-proposed<\/code> repository and then run the following:<\/p>\n<p><code>sudo apt install libkmod2<br \/>\nsudo update-initramfs -u<\/code><\/p>\n<p>After a reboot, the touchpad worked again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>EDIT: 2018-11-30 I have been running this laptop for 3 years now.\u00a0 I love the keyboard and, with Linux, it is reasonably fast (for the size and price).\u00a0 It also feels sturdy as I had hoped.\u00a0 However, there were three &hellip; <a href=\"https:\/\/all-geo.org\/volcan01010\/2015\/07\/installing-linux-on-lenovo-thinkpad-11e\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1527","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/all-geo.org\/volcan01010\/wp-json\/wp\/v2\/posts\/1527","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/all-geo.org\/volcan01010\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/all-geo.org\/volcan01010\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/all-geo.org\/volcan01010\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/all-geo.org\/volcan01010\/wp-json\/wp\/v2\/comments?post=1527"}],"version-history":[{"count":5,"href":"https:\/\/all-geo.org\/volcan01010\/wp-json\/wp\/v2\/posts\/1527\/revisions"}],"predecessor-version":[{"id":1606,"href":"https:\/\/all-geo.org\/volcan01010\/wp-json\/wp\/v2\/posts\/1527\/revisions\/1606"}],"wp:attachment":[{"href":"https:\/\/all-geo.org\/volcan01010\/wp-json\/wp\/v2\/media?parent=1527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/all-geo.org\/volcan01010\/wp-json\/wp\/v2\/categories?post=1527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/all-geo.org\/volcan01010\/wp-json\/wp\/v2\/tags?post=1527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}