You are not logged in.

#1 2011-04-13 12:36:27

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 393

[SOLVED]axkb, no icon in system tray

Axkb do not have icon in tray, it works but without icon...

2011-04-131302697985143x.png

When i start axkb from terminal, uotput is this:

[punky@laptop ~]$ axkb 
Locale: "sr_RS" 
Language: "axkb_sr" 
Language path: "/usr/bin/language/" 
 X11tools::loadRule  
XKB status :  2 
Set layout :  "us,rs,hr" 
XKB args  "-model pc104 -layout us,rs,hr -option grp:shift_caps_toggle" 
setxkbmap argumetns :  ("-model", "pc104", "-layout", "us,rs,hr", "-option", "grp:shift_caps_toggle") 
 setxkbmap result :  0 
XKB  set 
Show single true 
Create menu ("USA", "Serbia", "Serbia - Latin") 
Avalible groups ("USA", "Serbia", "Serbia - Latin") 
Set icons 
Set menu 
Current groupe 0 
Avaliblegroupe ("USA", "Serbia", "Serbia - Latin") 
"/usr/share/axkb/theme/default/language/.png" 
true 
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setFont: Painter not active
QPainter::setPen: Painter not active
QPainter::end: Painter not active, aborted
QSystemTrayIcon::setVisible: No Icon set

Any solution?

P.S. I use axkb, no axkb-git because axkb-git do not compile...

Last edited by Pyntux (2011-04-14 12:12:58)


I do not speak English, but I understand...

Offline

#2 2011-04-13 20:02:33

z0id
Member
From: Romania
Registered: 2010-02-02
Posts: 122

Re: [SOLVED]axkb, no icon in system tray

Dunno about axkb, but may I suggest fbxkb.


/usr/bin/drinking

Offline

#3 2011-04-13 22:00:56

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 393

Re: [SOLVED]axkb, no icon in system tray

Yes you can, but can you tell me how to use fbxkb? smile First of all, there's no icon for Serbia... sad


I do not speak English, but I understand...

Offline

#4 2011-04-13 22:18:21

z0id
Member
From: Romania
Registered: 2010-02-02
Posts: 122

Re: [SOLVED]axkb, no icon in system tray

Make a 60x40 png file of the desired flag and place it in /usr/share/fbxkb/images/. I see it already has a flag for hr layout, but it may not be correct - the last release of the package was several years ago.
To set the layouts create 10-keyboard.conf in /etc/X11/xorg.conf.d. Here's mine:

Section "InputClass"
    Identifier    "Generic Keyboard"
    MatchIsKeyboard    "yes"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"    "us,ro(std)"
    Option        "XkbOptions"    "grp:alt_shift_toggle,compose:menu,grp_led:scroll"
EndSection

Last edited by z0id (2011-04-13 22:21:49)


/usr/bin/drinking

Offline

#5 2011-04-13 23:20:46

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 393

Re: [SOLVED]axkb, no icon in system tray

OK, I added flag from axkb smile, and works, this is 10-keyboard.conf text:

Section "InputClass"
    Identifier    "Generic Keyboard"
    MatchIsKeyboard    "yes"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc104"
    Option        "XkbLayout"    "us,rs,rs(latin)"
    Option        "XkbOptions"    "grp:shift_caps_toggle"
EndSection

How to set different flag (or something) for other variant of same keyboard layout? smile

Last edited by Pyntux (2011-04-13 23:28:10)


I do not speak English, but I understand...

Offline

#6 2011-04-14 10:49:48

z0id
Member
From: Romania
Registered: 2010-02-02
Posts: 122

Re: [SOLVED]axkb, no icon in system tray

Hmm, I don't think that's possible. It has the same country code.


/usr/bin/drinking

Offline

#7 2011-04-14 12:13:18

Pyntux
Member
From: Serbia
Registered: 2008-12-21
Posts: 393

Re: [SOLVED]axkb, no icon in system tray

OK, for now this is good. Thanks


I do not speak English, but I understand...

Offline

#8 2011-07-26 21:17:48

Tsynique
Member
Registered: 2010-05-19
Posts: 37

Re: [SOLVED]axkb, no icon in system tray

If anyone still interested, I had the same issue with axkb. Fixed by removing and installing the package again.

Offline

Board footer

Powered by FluxBB