Le Fri, 11 Sep 2009 22:35:22 +0300, n3mo <n3mo.w...@gmail.com> a écrit :
> Hi there! Hi! > I installed fvwm-crystal on my ubuntu and I fall inlove with it! But I have > one little problem. I'm Bulgarian and to write in my language I need > cyrillic alphabet. So I need to install bg keyboard layout. How can I > install second keyboard layout in FVWM-crystal, and swiching between us and > bg. It is no built-in function for that into fvwm-crystal at that time. I see 3 possibilities: 1) use setxkbmap into the console. Something like setxkbmap -model microsoftinet -layout us -variant basic should switch the keyboard to us for the running X session. It is for you the simplest way to go. If you are willing to read the huge fvwm documentation (man pages) and experiment with fvwm-crystal, the following can also be interesting: 2) Add a button into one or more window decoration of fvwm-crystal. It should be possible to associate this new button with different mouse buttons (one binding per keyboard layout). This must combine something like "Mouse 3 5 N Exec exec setxkbmap -layout us" with windowfocus. That way, it should be possible to set the keyboard layout on a per window basis (different layouts for different windows), and that on the fly. 3) It is a FvwmKb fvwm module that makes it more comfortable to work with several Xkb keyboard layouts. http://freshmeat.net/projects/fvwmkb/ ### It should be great for such a function to be implemented into fvwm-crystal. 1) can be implemented via a new preference setting. But such a global setting is not needed for most users, and the functionality of 2) and 3) is much better. 2) and 3) are more flexible. 3) seam to be dead and is not a standard fvwm module. It is why I would prefer something based on 2). 2) disadvantage is than it necessitate more work in order to be implemented, and some of us cannot like to add one more button into the window decorations. The solution is maybe to implement some new "developer" or "multi-languages" window decorations. Anyway, this would also necessitate a new pref setting in order to set the wanted layouts. But it would be very nice and funny. A problem with setxkbmap can be when your X session is a remote session. It can or not work as expected due to layout mismatch between the host and the server. The simplest solution here is to use the same libxkbfile in both the server and the remote machine. > Sorry about my bad English. You are welcome. And please keep us updated with our solution. > Best wishes, > Ned > * > *<http://www.google.bg/url?sa=t&source=web&ct=res&cd=1&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FCyrillic_alphabet&ei=EKaqSvOJNsyO_AaHn5TPBg&usg=AFQjCNFrDQ23zyLmBOr_2-Q-rkEagwbN0w&sig2=uWb6DtaRVJLPvJd2J1TkPQ> Cheers, Dominique -- If this message is send to an email list, please make sure to answer onto the list, or you will be ignored. "We have the heroes we deserve." _______________________________________________ fvwm-crystal-users mailing list fvwm-crystal-users@gna.org https://mail.gna.org/listinfo/fvwm-crystal-users