Bug 181403

Summary: kxkb don't show flag in tray when 'Show country flag' is checked
Product: kxkb Reporter: Nikita Bige <big-nikita>
Component: generalAssignee: Andriy Rysin <arysin>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: jreznik, rdieter
Priority: NOR    
Version: 2.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nikita Bige 2009-01-20 15:26:34 UTC
Version:           2.0 (using 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)), 4.1.96-9.fc10 Fedora)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.9-159.fc10.x86_64

kxkb don't show flag in tray when 'Show country flag' is checked
I use "us" and "ru" keyboard layout
It seems to me that all other functions are works perfectly.

I use Fedora 10 and KDE 4.1.96 (RPM)
Comment 1 Andriy Rysin 2009-01-25 17:12:59 UTC
could you please check that you have the flags correctly installed in /usr/share/locale/l10n/ ?
Comment 2 Nikita Bige 2009-01-27 08:31:44 UTC
tree /usr/share/locale/l10n/
/usr/share/locale/l10n/                       
|-- C                                         
|   `-- entry.desktop   
[skipped]
|-- ru                                        
|   `-- entry.desktop
[skipped]
|-- us
|   `-- entry.desktop
....
Comment 3 Andriy Rysin 2009-02-01 06:05:21 UTC
seems like you're missing flag files:
$ ls /usr/share/locale/l10n/us
entry.desktop  flag.png

in Mandriva they are from kdebase4-runtime package, not sure if FC will have it in the same
Comment 4 Jaroslav Reznik 2009-02-02 12:51:01 UTC
Sorry but we do not ship flags in Fedora for political reasons :( Some countries does not respect other countries...

Workaround:
Download flags from kde-look.org 
http://www.kde-look.org/content/show.php/KBFlags?content=26296
and then for each flag you need (replace us with country code)
$ tar -xzf kbflags-1.0.tar.gz
$ sudo cp kbflags-1.0/21x14/us.jpg /usr/share/locale/l10n/us/flag.jpg
Comment 5 Rex Dieter 2009-02-02 13:43:13 UTC
Closing->Downstream.

as this is a fedora-specific issue.  The flags were omitted purposely per
http://fedoraproject.org/wiki/Languages#I_wish_to_use_my_country.27s_flag_to_refer_to_my_language...