You are not logged in.
Axkb do not have icon in tray, it works but without icon...
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
Dunno about axkb, but may I suggest fbxkb.
/usr/bin/drinking
Offline
Yes you can, but can you tell me how to use fbxkb? First of all, there's no icon for Serbia...
I do not speak English, but I understand...
Offline
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
OK, I added flag from axkb , 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?
Last edited by Pyntux (2011-04-13 23:28:10)
I do not speak English, but I understand...
Offline
Hmm, I don't think that's possible. It has the same country code.
/usr/bin/drinking
Offline
OK, for now this is good. Thanks
I do not speak English, but I understand...
Offline
If anyone still interested, I had the same issue with axkb. Fixed by removing and installing the package again.
Offline