{"id":1210,"date":"2009-06-15T10:05:55","date_gmt":"2009-06-15T08:05:55","guid":{"rendered":"http:\/\/vizZzion.org\/blog\/2009\/06\/special-characters-with-us-keyboard\/"},"modified":"2009-06-15T10:05:55","modified_gmt":"2009-06-15T08:05:55","slug":"special-characters-with-us-keyboard","status":"publish","type":"post","link":"https:\/\/vizZzion.org\/blog\/2009\/06\/special-characters-with-us-keyboard\/","title":{"rendered":"Special characters with US keyboard."},"content":{"rendered":"<p>I&#8217;m using a US keyboard layout on my machine, since that&#8217;s the most hack-friendly one I can actually grok and type blindly on. Often, however I need to type special characters, such as &euro; or letters with a diaresis on top, such as &uuml; (useful to type my own name ;-)). Those should be easy to type for me as well. What I did is to modify my keymap slightly, so that I can use the Right ALT key (ALT Gr on some keyboards), and get the correct character just by typing Right ALT + a for example to get an &auml;). The 5 key already has &euro; printed on it, so I&#8217;m using Right ALT + 5 to type the Euro sign.<\/p>\n<p \/>\n    I&#8217;ve saved the following settings into a file called ~\/.Xmodmap-Umlaut and when logging in, I&#8217;m just running a small script<\/p>\n<pre>\n    #!\/bin\/sh\n\n    xmodmap \/home\/sebas\/.Xmodmap.Umlaut\n    <\/pre>\n<p>    which reads the following file:<\/p>\n<pre>\n    keysym  u    = u U udiaeresis      Udiaeresis\n    keysym  a    = a A adiaeresis      Adiaeresis\n    keysym  o    = o O odiaeresis      Odiaeresis\n    keysym  e    = e E ediaeresis      Ediaeresis\n    keysym  i    = i I idiaeresis      Idiaeresis\n\n    keysym  s    = s S ssharp\n    keysym  5    = 5 percent EuroSign\n    <\/pre>\n<p>    Now this is probably not the 100% correct way to do it (email me suggestions for<br \/>\n    improvements :)), but it Gets The Job Done and works ergonomically well enough for me. In case you&#8217;re getting errors, try replacing ISO_Level3_Shift with whatever &#8220;xev&#8221; reports as (keysym 0xff7e, Mode_switch) when you capture the Right Alt key with it (or map it to anything you like in the same way).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m using a US keyboard layout on my machine, since that&#8217;s the most hack-friendly one I can actually grok and type blindly on. Often, however I need to type special characters, such as &euro; or letters with a diaresis on top, such as &uuml; (useful to type my own name ;-)). Those should be easy&hellip; <a class=\"more-link\" href=\"https:\/\/vizZzion.org\/blog\/2009\/06\/special-characters-with-us-keyboard\/\">Continue reading <span class=\"screen-reader-text\">Special characters with US keyboard.<\/span> <span class=\"meta-nav\" aria-hidden=\"true\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-1210","post","type-post","status-publish","format-standard","hentry","category-kde"],"_links":{"self":[{"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/posts\/1210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/comments?post=1210"}],"version-history":[{"count":0,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/posts\/1210\/revisions"}],"wp:attachment":[{"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/media?parent=1210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/categories?post=1210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vizZzion.org\/blog\/wp-json\/wp\/v2\/tags?post=1210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}