{"id":13544,"date":"2010-11-08T15:36:48","date_gmt":"2010-11-08T13:36:48","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=13544"},"modified":"2010-11-08T15:36:48","modified_gmt":"2010-11-08T13:36:48","slug":"adding-flags-to-gnome-keyboard-layout-switch","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2010\/11\/08\/adding-flags-to-gnome-keyboard-layout-switch\/","title":{"rendered":"Adding flags to Gnome keyboard layout switch"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>One of the little things that has been bugging me for a few years now is the Gnome keyboard layout switch. \u00a0I am using two layouts &#8211; English and Russian &#8211; and instead of having two nice flags, like in KDE, I had to live with &#8216;USA&#8217; and &#8216;RUS&#8217; letters in my task bar. \u00a0Not that big of a problem, but annoying. \u00a0Icons are much easier and faster to understand than text. \u00a0And all the other things in my task bar are graphical, so the text stands out too much.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/11\/taskbar.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"13545\" data-permalink=\"https:\/\/mamchenkov.net\/wordpress\/2010\/11\/08\/adding-flags-to-gnome-keyboard-layout-switch\/taskbar\/\" data-orig-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/11\/taskbar.png?fit=147%2C76&amp;ssl=1\" data-orig-size=\"147,76\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"taskbar\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/11\/taskbar.png?fit=147%2C76&amp;ssl=1\" class=\"aligncenter size-full wp-image-13545\" title=\"taskbar\" src=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/11\/taskbar.png?resize=147%2C76&#038;ssl=1\" alt=\"\" width=\"147\" height=\"76\" srcset=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/11\/taskbar.png?w=147&amp;ssl=1 147w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/11\/taskbar.png?resize=75%2C38&amp;ssl=1 75w\" sizes=\"auto, (max-width: 147px) 100vw, 147px\" \/><\/a><\/p>\n<p>Today I finally decided to do something about. \u00a0Thanks to <a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=528890\">this forum<\/a> post I had a solution in hand which almost worked. \u00a0The steps were:<\/p>\n<ol>\n<li>Download <em>en.png<\/em> and <em>ru.png<\/em> icons into <em>~\/.icons\/flags\/<\/em> folder.<\/li>\n<li>Run <em>gconf-editor<\/em>.<\/li>\n<li>Change the value of <em>\/desktop\/gnome\/peripherals\/keyboard\/indicator\/showFlags<\/em> to <em>true<\/em>.<\/li>\n<\/ol>\n<p>The only thing that went wrong for me were the actual images. \u00a0Gnome scaled them to 24&#215;24 pixels and they looked rater ugly. \u00a0So I created my own icons using Gimp. \u00a0I created a new image 24&#215;24 pixels with transparent background and then dropped in the center of it the flag icon that I got from the <a href=\"http:\/\/www.famfamfam.com\/lab\/icons\/flags\/\">FamFamFam icon set<\/a>. \u00a0Saved the results back into the <em>~\/.icons\/flags\/<\/em> folder and vuala!<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>One of the little things that has been bugging me for a few years now is the Gnome keyboard layout switch. \u00a0I am using two layouts &#8211; English and Russian &#8211; and instead of having two nice flags, like in KDE, I had to live with &#8216;USA&#8217; and &#8216;RUS&#8217; letters in my task bar. \u00a0Not &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2010\/11\/08\/adding-flags-to-gnome-keyboard-layout-switch\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Adding flags to Gnome keyboard layout switch<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,6,62],"tags":[65,2351,292,68,74,1158],"keyring_services":[],"class_list":["post-13544","post","type-post","status-publish","format-standard","hentry","category-general","category-linux","category-technology","tag-desktop","tag-fedora-linux","tag-gnome","tag-icons","tag-tips","tag-user-interfaces"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":14946,"url":"https:\/\/mamchenkov.net\/wordpress\/2011\/05\/25\/fedora-15-gnome3-here-we-go-again\/","url_meta":{"origin":13544,"position":0},"title":"Fedora 15 : Gnome3, here we go again","author":"Leonid Mamchenkov","date":"May 25, 2011","format":false,"excerpt":"As you probably know, Fedora 15 was released yesterday. \u00a0I've been waiting for this release with a big worry in my heart. \u00a0While I did, of course, want to have a look at the new service manager systemd and enjoy the power management improvements, I had my doubts about Gnome3.\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14952,"url":"https:\/\/mamchenkov.net\/wordpress\/2011\/05\/25\/xfce4-saves-the-day\/","url_meta":{"origin":13544,"position":1},"title":"Xfce4 saves the day","author":"Leonid Mamchenkov","date":"May 25, 2011","format":false,"excerpt":"After almost a full day of tweaking configurations and swearing at both Gnome3 and KDE4, I decided to follow my brother's advice - try Xfce4. \u00a0This is yet another desktop environment available in Fedora 15. \u00a0I've heard a few good words about it, but never actually tried it out. \u00a0Today\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2011\/05\/xfce4_screenshot-500x281.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":22251,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/07\/22\/useful-skype-commands-roles-and-emoticons\/","url_meta":{"origin":13544,"position":2},"title":"Useful Skype commands, roles, and emoticons","author":"Leonid Mamchenkov","date":"July 22, 2014","format":false,"excerpt":"Just by accident I came across this list of Skype commands and roles. \u00a0I only knew two or three. \u00a0Apparently, there is much more. \u00a0For those of us who use Skype on multiple devices, checkout \/showplaces and \/remotelogout\u00a0: \/showplaces - Lists other instances where this Skype name is currently signed\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11199,"url":"https:\/\/mamchenkov.net\/wordpress\/2008\/05\/19\/fedora-9-before-and-after\/","url_meta":{"origin":13544,"position":3},"title":"Fedora 9 : before and after","author":"Leonid Mamchenkov","date":"May 19, 2008","format":false,"excerpt":"I have recently upgraded my laptop to Fedora 9.\u00a0 Those of you who come often to this blog or follow me on Twitter, know that I've been waiting for this release like for nothing else.\u00a0 Two technologies in particular - KDE 4 and Firefox 3 - were the center of\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":15870,"url":"https:\/\/mamchenkov.net\/wordpress\/2011\/11\/09\/fedora-16-going-back-to-kde-4\/","url_meta":{"origin":13544,"position":4},"title":"Fedora 16 : going back to KDE 4","author":"Leonid Mamchenkov","date":"November 9, 2011","format":false,"excerpt":"If you follow my Twitter stream, by now you'd know that I've upgraded my laptop to the brand new and shining Fedora 16. \u00a0In case you were wondering how it went, I'm happy to report that everything went smoothly. \u00a0Even more smoothly than I've expected. \u00a0Given my laptop's weird wireless\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2011\/11\/KDE-Desktop-500x281.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":27338,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/02\/12\/i3-tiling-window-manager\/","url_meta":{"origin":13544,"position":5},"title":"i3 &#8211; tiling window manager","author":"Leonid Mamchenkov","date":"February 12, 2017","format":false,"excerpt":"In the last few days my attention was unfairly distributed between a whole lot of tasks. \u00a0The fragmentation and constant context switching affected my productivity, so I briefly revisited my toolbox setup, in hopes to find something that I didn't know about, forgot about, or have greatly underutilized. One of\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/02\/i3-500x281.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/13544","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=13544"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/13544\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=13544"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=13544"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=13544"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=13544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}