Page 1 of 1

Keyboard country flag .pet doesn't work right {solved}

Posted: Sun 10 Mar 2013, 15:08
by mini-jaguar
I have tried several versions, and they don't work properly, except for the ones built in to Puppy 431KDE and Saluki (which obviously have KDE and XFCE respectively).

For other versions, I have tried the .pet from here: http://www.murga-linux.com/puppy/viewto ... 86&t=46730
(fbxkb-0.4-i486-startup-1.pet) and it works very intermittently, sometimes it works, sometimes you can't change the flag when you click it. No way to control when it works or doesn't, sometimes stops working when I restart the X server.

This one doesn't seem much better, but I admit I have not tested this thoroughly, as in trying it with many different Puppies: http://www.murga-linux.com/puppy/viewto ... 86&t=71798In any case, if I left or right click it it won't change the keyboard layout.

Should I try all 3 fbxkb variants? http://puppylinux.org/wikka/fbxkb

Or maybe I should just stick to 431KDE and Saluki if I need diacritics?

Posted: Sun 10 Mar 2013, 17:12
by darkcity
I've not had any trouble with fbxkb. Its version 1.0 which I think I use, on Slakco 5.3.1.

It starts on the US flag regardless of startup until a edit box you can type into shows up.

Posted: Sun 10 Mar 2013, 17:28
by bignono1
Go /etc/X11/xorg.conf ,edit like this:

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,xx" #xkeymap0
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection

xx is your language , this way you can change your kb with the keys alt+shift.

Posted: Fri 15 Mar 2013, 18:04
by mini-jaguar
^ that works well enough, in fact only that last line with the keys should be necessary because the language should already be there if you install it through the keyboard settings.

Anyways, I wanted a visual cue. I tried after to install keyboardstate and the flag didn't change when I changed the language with the keys.

Posted: Fri 15 Mar 2013, 19:26
by Karl Godt
I have fbxkb running in e17 wm taskbar. Didn't even knew (anymore?) the click ability. My .xinitrc file contains a line

Code: Select all

setxkbmap -rules xorg -model pc102 -layout us,de -variant "" -option grp:rwin_toggle,lv3:ralt_switch
so it does not need to run the xkbconfigmanager everytime the monitor or chip changes. npierce once detected that -layout de,us does not work to toggle and i can confirm this.

I remember too that fbxkb sometimes did not show in the tray. I suspect a libpng or libjpeg issue.

I would strongly recommend to fetch the source and compile inside the flaky wm to see ir that would make a difference. In a short search, lenny and hardy repos still have fbxkb-0.6 source.

Posted: Fri 15 Mar 2013, 19:42
by R-S-H
I have tested both PET files: fbxkb-0.4-i486.pet and keyboardstate-1.0.pet. All working fine in LazY Puppy.

Posted: Sat 16 Mar 2013, 14:59
by mini-jaguar
fbxkb 0.4 with startup actually works fine now, now with the added line in xorg.conf that changes the country with alt-shift. It didn't before...