{"id":455,"date":"2011-02-23T06:13:49","date_gmt":"2011-02-23T05:13:49","guid":{"rendered":"http:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/"},"modified":"2014-02-15T15:48:00","modified_gmt":"2014-02-15T14:48:00","slug":"disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad","status":"publish","type":"post","link":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/","title":{"rendered":"Disable evil page back\/forward keys on a Lenovo T500 Thinkpad"},"content":{"rendered":"<p>Currently I&#39;m using a Lenovo Thinkpad T500. A fine machine. Apart from the awful keyboard layout. The ESC key is way too high, causing useless &quot;F1&quot; hits. But the stupidest thing on this layout is the <a href=\"http:\/\/forums.lenovo.com\/t5\/W-Series-ThinkPad-Laptops\/W500-Disable-page-back-page-forward-keys\/td-p\/202882\" rel=\"nofollow\">placement of two <b>evil evil<\/b> keys<\/a> that perform browser back and forward functions.<\/p>\n<p>These keys are labeled with a page\/document icon and arrows going left and right. I would really like to find whoeve r decided to place these keys there, and punish him with a couple of years of typing with his own keyboard layout :) It happened to me already a couple of times (even more, like <b>right now for example<\/b>) that I&#39;m typing this long text in a browser text area, and then by accident I hit the evil &quot;page back&quot; key. Oops. F**k! And you just lost 10 minutes of editing because the browser is stupid and won&#39;t allow you to go back to your half-edited textarea. <b>Isn&#39;t that great?<\/b>. Fantastic, I&#39;d say.<\/p>\n<p>Today I had had enough of it. That&#39;s how you fix it:<\/p>\n<p>Create a <code>~\/.xmodmaprc<\/code> file or similar, since the name doesn&#39;t matter, with the following content:<\/p>\n<pre><code>\r\n!\r\n! Disable the idiot XF86Back and XF86Forward\r\n! keys on the Lenovo T500 keyboard\r\n!\r\n! They mess up when editing textareas within\r\n! the browser, causing so much waste of time and\r\n! frustration.\r\n!\r\n! Cosimo, 23\/Feb\/2011\r\n\r\n! XF86Back\r\nkeycode 166 = NoSymbol\r\n\r\n! XF86Forward\r\nkeycode 167 = NoSymbol\r\n<\/code><\/pre>\n<p>And then run:<\/p>\n<pre><code>\r\n$ xmodmap ~\/.xmodmaprc\r\n<\/code><\/pre>\n<p>Voil\u00c3\u00a0, done. Thanks, xmodmap and thanks unnamed Lenovo keyboard engineer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Currently I&#39;m using a Lenovo Thinkpad T500. A fine machine. Apart from the awful keyboard layout. The ESC key is way too high, causing useless &quot;F1&quot; hits. But the stupidest thing on this layout is the placement of two evil evil keys that perform browser back and forward functions. These keys are labeled with a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[526],"tags":[66,64,68,67,65],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Disable evil page back\/forward keys on a Lenovo T500 Thinkpad - Random hacking<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Disable evil page back\/forward keys on a Lenovo T500 Thinkpad - Random hacking\" \/>\n<meta property=\"og:description\" content=\"Currently I&#039;m using a Lenovo Thinkpad T500. A fine machine. Apart from the awful keyboard layout. The ESC key is way too high, causing useless &quot;F1&quot; hits. But the stupidest thing on this layout is the placement of two evil evil keys that perform browser back and forward functions. These keys are labeled with a [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/\" \/>\n<meta property=\"og:site_name\" content=\"Random hacking\" \/>\n<meta property=\"article:published_time\" content=\"2011-02-23T05:13:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-02-15T14:48:00+00:00\" \/>\n<meta name=\"author\" content=\"cosimo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"cosimo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/\"},\"author\":{\"name\":\"cosimo\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\"},\"headline\":\"Disable evil page back\/forward keys on a Lenovo T500 Thinkpad\",\"datePublished\":\"2011-02-23T05:13:49+00:00\",\"dateModified\":\"2014-02-15T14:48:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/\"},\"wordCount\":224,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\"},\"keywords\":[\"frustration\",\"keyboard\",\"lenovo\",\"t500\",\"xmodmap\"],\"articleSection\":[\"Keyboards\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/\",\"url\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/\",\"name\":\"Disable evil page back\/forward keys on a Lenovo T500 Thinkpad - Random hacking\",\"isPartOf\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#website\"},\"datePublished\":\"2011-02-23T05:13:49+00:00\",\"dateModified\":\"2014-02-15T14:48:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.streppone.it\/cosimo\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Disable evil page back\/forward keys on a Lenovo T500 Thinkpad\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#website\",\"url\":\"https:\/\/www.streppone.it\/cosimo\/blog\/\",\"name\":\"Random hacking\",\"description\":\"Assume nothing. Code defensively. Keep it simple, stupid!\",\"publisher\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.streppone.it\/cosimo\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1\",\"name\":\"cosimo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g\",\"caption\":\"cosimo\"},\"logo\":{\"@id\":\"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/www.streppone.it\/cosimo\/blog\/author\/cosimo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Disable evil page back\/forward keys on a Lenovo T500 Thinkpad - Random hacking","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/","og_locale":"en_US","og_type":"article","og_title":"Disable evil page back\/forward keys on a Lenovo T500 Thinkpad - Random hacking","og_description":"Currently I&#39;m using a Lenovo Thinkpad T500. A fine machine. Apart from the awful keyboard layout. The ESC key is way too high, causing useless &quot;F1&quot; hits. But the stupidest thing on this layout is the placement of two evil evil keys that perform browser back and forward functions. These keys are labeled with a [&hellip;]","og_url":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/","og_site_name":"Random hacking","article_published_time":"2011-02-23T05:13:49+00:00","article_modified_time":"2014-02-15T14:48:00+00:00","author":"cosimo","twitter_card":"summary_large_image","twitter_misc":{"Written by":"cosimo","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/#article","isPartOf":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/"},"author":{"name":"cosimo","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1"},"headline":"Disable evil page back\/forward keys on a Lenovo T500 Thinkpad","datePublished":"2011-02-23T05:13:49+00:00","dateModified":"2014-02-15T14:48:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/"},"wordCount":224,"commentCount":1,"publisher":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1"},"keywords":["frustration","keyboard","lenovo","t500","xmodmap"],"articleSection":["Keyboards"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/","url":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/","name":"Disable evil page back\/forward keys on a Lenovo T500 Thinkpad - Random hacking","isPartOf":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#website"},"datePublished":"2011-02-23T05:13:49+00:00","dateModified":"2014-02-15T14:48:00+00:00","breadcrumb":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/2011\/02\/disable-evil-page-backforward-keys-on-a-lenovo-t500-thinkpad\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.streppone.it\/cosimo\/blog\/"},{"@type":"ListItem","position":2,"name":"Disable evil page back\/forward keys on a Lenovo T500 Thinkpad"}]},{"@type":"WebSite","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#website","url":"https:\/\/www.streppone.it\/cosimo\/blog\/","name":"Random hacking","description":"Assume nothing. Code defensively. Keep it simple, stupid!","publisher":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.streppone.it\/cosimo\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/c443bedbf6ecf99550d6395620801df1","name":"cosimo","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cb1d938720df45a2720724aae99e3bfc?s=96&r=g","caption":"cosimo"},"logo":{"@id":"https:\/\/www.streppone.it\/cosimo\/blog\/#\/schema\/person\/image\/"},"url":"https:\/\/www.streppone.it\/cosimo\/blog\/author\/cosimo\/"}]}},"_links":{"self":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/posts\/455"}],"collection":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/comments?post=455"}],"version-history":[{"count":1,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/posts\/455\/revisions"}],"predecessor-version":[{"id":833,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/posts\/455\/revisions\/833"}],"wp:attachment":[{"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/media?parent=455"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/categories?post=455"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.streppone.it\/cosimo\/blog\/wp-json\/wp\/v2\/tags?post=455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}