{"id":11148,"date":"2023-02-14T14:00:27","date_gmt":"2023-02-14T19:00:27","guid":{"rendered":"https:\/\/irreal.org\/blog\/?p=11148"},"modified":"2023-02-17T10:17:59","modified_gmt":"2023-02-17T15:17:59","slug":"better-ergonomics-under-x","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=11148","title":{"rendered":"Better Ergonomics Under X"},"content":{"rendered":"<p>T V Raman <a href=\"https:\/\/emacspeak.blogspot.com\/2023\/02\/enhance-emacs-ergonomics-under-x-happy.html\">has a post<\/a> that may be interesting to those of you who run Emacs under X. That\u2019s probably just about everybody who isn\u2019t using a Mac so many of you may be interested. The TL;DR is that his method turns the modifier keys into what he calls buttons. For example, (with his setup) pressing (just) the <kbd>Ctrl<\/kbd> key will send <kbd>Ctrl<\/kbd>+<kbd>e<\/kbd> to Emacs.<\/p>\n<p>His keyboard has three modifier keys on each side of <kbd>Space<\/kbd> and adding the two <kbd>Shift<\/kbd> keys gives him eight possible \u201cbuttons\u201d.<\/p>\n<p>The key to making this work is the <a href=\"https:\/\/wiki.archlinux.org\/title\/Xorg\/Keyboard_configuration#One-click_key_functions\">xcape<\/a> command in the Xorg keyboard configuration to define what each of the buttons produce. Raman links to his xcape and XModmap configurations so you can see how he set things up but you\u2019ll probably prefer other mappings.<\/p>\n<p>The advantage of Raman\u2019s method is two fold:<\/p>\n<ol class=\"org-ol\">\n<li>It avoids chording for commonly use commands.<\/li>\n<li>It gives you several (8 in Raman\u2019s case) extra keys to do something useful with.<\/li>\n<\/ol>\n<p>If you\u2019re an X user and interested in improving your keyboard ergonomics or perhaps just gaining some useful shortcut keys, take a look at Raman\u2019s post. If you\u2019re not afraid of modifying your XModmap file it\u2019s not hard to set up.<\/p>\n<p><b>UPDATE<\/b> <span class=\"timestamp-wrapper\"><span class=\"timestamp\">[2023-02-17 Fri]<\/span><\/span>: Added link to Raman\u2019s post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>T V Raman has a post that may be interesting to those of you who run Emacs under X. That\u2019s probably just about everybody who isn\u2019t using a Mac so many of you may be interested. The TL;DR is that &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=11148\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[18],"class_list":["post-11148","post","type-post","status-publish","format-standard","hentry","category-general","tag-emacs"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11148"}],"version-history":[{"count":3,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11148\/revisions"}],"predecessor-version":[{"id":11155,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/11148\/revisions\/11155"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}