{"id":17,"date":"2011-04-03T18:29:01","date_gmt":"2011-04-03T23:29:01","guid":{"rendered":"http:\/\/t.tam.atbh.us\/?p=11"},"modified":"2012-05-28T15:06:58","modified_gmt":"2012-05-28T20:06:58","slug":"yeah-xcompose","status":"publish","type":"post","link":"https:\/\/tamashii.co\/en\/yeah-xcompose\/","title":{"rendered":"How did I force us_intl to behave"},"content":{"rendered":"<p>Many people believe that I hate Linux, or that I think it is bad&#8230; That&#8217;s not true. Some of my friends might remember my first years in my University where I got exposed to Linux via a nice SunRay light terminal computer room. The\u00a0ambiance\u00a0there was pretty nice, and there was always a terminal available. Nowadays, Computer Science students only have access to one computer room that&#8217;s available once each our director decides to open the door, making the need for a laptop computer a must when paying the University bill.<\/p>\n<p>I like Linux, truly, but it doesn&#8217;t replaces Windows fully (for many reasons, one mainly because I like to <strong>play games<\/strong>) because of a small feature Windows has named &#8220;US &#8211; International keyboard layout&#8221;. Why is that? Well, my official (unofficial) job title is (Java) software developer, so a keyboard in English is mandatory (all because those pesky braces {} and brackets []). However, my mother language is Spanish, so I need to have access to the ability to properly accentuate words (the acute accents, and the n with a tilde [\u00f1]). Other than that, there&#8217;s a lot of information, forums and personal stuff that&#8217;s in Spanish and\/or English. I need to swap between those languages in less than a second. That&#8217;s where the US &#8211; International keyboard layout goes in. This keyboard layout is the same as english, but with the ability to write those acute accents, and if I add the Right Alt key (named AltGr) I can write lots of other symbols like \u00df, \u00f7&#8230; In a nutshell, it is really useful.<\/p>\n<p><!--more--><\/p>\n<div style=\"width: 510px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" title=\"US International\" src=\"http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/2\/22\/KB_US-International.svg\/500px-KB_US-International.svg.png\" alt=\"\" width=\"500\" height=\"167\" \/><p class=\"wp-caption-text\">Isn&#39;t it beautiful?<\/p><\/div>\n<p><em>Wait a minute, Tama<\/em>, you could say.\u00a0<em>But that keyboard layout exists for Linux too!<\/em> Yep, I know it exists, but instead of being &#8220;United States &#8211; international&#8221; it is &#8220;United States &#8211; It-works-in-Spanish-but-not-in-English-which-is-the-official-language-in-USA&#8221;!<\/p>\n<p>My friend labadf could perfectly be the major witness in my struggle with Linux. The act of writing something as simple as &#8220;it&#8217;s&#8221; was an ordeal. In Windows with my physical Spanish keyboard layout I only need to type &#8220;it (acute accent) s&#8221;, and there I go. In Linux if I wrote that I would get an s with an acute accent on top, which doesn&#8217;t belongs to Spanish at all. If I wanted to write &#8220;haven&#8217;t&#8221; in Windows it was direct. In Linux it would refuse to write that apostrophe and the letter t. I had to press the space bar to write the apostrophe, and then the t key, which was more like a test on negative enforcement about my years-long muscular memory of working in Windows with &#8220;US &#8211; International&#8221;. I don&#8217;t even want to remember about typing something as easy as &#8220;I&#8217;ll&#8221;. The accents for Spanish worked perfectly. The problem was English.<\/p>\n<p>My research sent me to various places. The choices were as frugal as modifying the X11 source code, copying an environment variable, creating a file in home directory, modifying the keymap&#8230; With labadf I tested almost everything until I gave up. I erased my Linux partition to make space for anime, and only until yesterday I installed it again.<\/p>\n<p>I decided to redo everything. I installed Crunchbang Linux (a topic for a next post), I installed everything basic (and advanced too), until I had to decide which keyboard layout to install. I remembered my previous deception.<\/p>\n<p>This time I decided to test it all. And the result of my testing was&#8230; <a title=\"Win US Intl para Linux\" href=\"..\/win-us-intl-4-linux\/\">Win US Intl for Linux<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Many people believe that I hate Linux, or that I think it is bad&#8230; That&#8217;s not true. Some of my friends might remember my first years in my University where I got exposed to&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[5],"tags":[8,9,10],"class_list":["post-17","post","type-post","status-publish","format-standard","hentry","category-tech","tag-linux-2","tag-software","tag-workaround"],"_links":{"self":[{"href":"https:\/\/tamashii.co\/en\/wp-json\/wp\/v2\/posts\/17","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tamashii.co\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tamashii.co\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tamashii.co\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tamashii.co\/en\/wp-json\/wp\/v2\/comments?post=17"}],"version-history":[{"count":0,"href":"https:\/\/tamashii.co\/en\/wp-json\/wp\/v2\/posts\/17\/revisions"}],"wp:attachment":[{"href":"https:\/\/tamashii.co\/en\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tamashii.co\/en\/wp-json\/wp\/v2\/categories?post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tamashii.co\/en\/wp-json\/wp\/v2\/tags?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}