{"id":941,"date":"2011-06-02T10:16:03","date_gmt":"2011-06-02T08:16:03","guid":{"rendered":"https:\/\/thebc.ch\/blog\/?p=941"},"modified":"2013-02-01T12:52:04","modified_gmt":"2013-02-01T11:52:04","slug":"turn-off-caps-lock-key-in-linux","status":"publish","type":"post","link":"https:\/\/thebc.ch\/blog\/?p=941","title":{"rendered":"Turn off Caps Lock Key in Linux"},"content":{"rendered":"<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">$ setxkbmap -option ctrl:nocaps<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>&nbsp;<\/p>\n<p>You can add this to your ~\/.bash_profile to make it constant.<\/p>\n<p>&#8212;.bash_profile&#8212;<\/p>\n<p>export PATH<br \/>\nxmodmap -e &#8220;remove lock = Caps_Lock&#8221;<\/p>\n<p>&#8212;.bash_profile&#8212;<\/p>\n<p>&nbsp;<\/p>\n<p>To reset caps lock. enter:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">$ setxkbmap -option<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1$ setxkbmap -option ctrl:nocaps &nbsp; You can add this to your ~\/.bash_profile to make it constant. &#8212;.bash_profile&#8212; export PATH xmodmap -e &#8220;remove lock = Caps_Lock&#8221; &#8212;.bash_profile&#8212; &nbsp; To reset caps lock. enter: 1$ setxkbmap -option &nbsp;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,5],"tags":[27],"class_list":["post-941","post","type-post","status-publish","format-standard","hentry","category-bash","category-linux","tag-oneliners"],"_links":{"self":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=941"}],"version-history":[{"count":7,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/941\/revisions"}],"predecessor-version":[{"id":2651,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/941\/revisions\/2651"}],"wp:attachment":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}