One of the little things that has been bugging me for a few years now is the Gnome keyboard layout switch. Â I am using two layouts – English and Russian – and instead of having two nice flags, like in KDE, I had to live with ‘USA’ and ‘RUS’ letters in my task bar. Â Not that big of a problem, but annoying. Â Icons are much easier and faster to understand than text. Â And all the other things in my task bar are graphical, so the text stands out too much.
Today I finally decided to do something about. Â Thanks to this forum post I had a solution in hand which almost worked. Â The steps were:
- Download en.png and ru.png icons into ~/.icons/flags/ folder.
- Run gconf-editor.
- Change the value of /desktop/gnome/peripherals/keyboard/indicator/showFlags to true.
The only thing that went wrong for me were the actual images. Â Gnome scaled them to 24×24 pixels and they looked rater ugly. Â So I created my own icons using Gimp. Â I created a new image 24×24 pixels with transparent background and then dropped in the center of it the flag icon that I got from the FamFamFam icon set. Â Saved the results back into the ~/.icons/flags/ folder and vuala!