Re: French-Canadian Keyboard keyboard switching
Tijl Coosemans wrote: On Wednesday 29 April 2009 22:04:34 PJ wrote: Tijl Coosemans wrote: On Wednesday 29 April 2009 15:20:34 PJ wrote: xorg.conf: (snip for relevant) Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDevice Mouse0 CorePointer InputDevice Keyboard0 CoreKeyboard Option AllowEmptyInput off EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ EndSection Section Module Load extmod Load record Load dbe Load glx Load GLcore Load xtrap Load dri Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc104 This might have to be pc105, but it probably doesn't matter. Option XkbLayout us,ca Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). This does not set it to the Canadian French; nor can I find anything that does... only my lame setup works using the French azerty (which is rather a pain because it involves complicated finger moves to get the accented characters - I'm familiar with it and can use it; it's just a pita. It works for me. What if you run setxkbmap ca or setxkbmap ca multi in an X terminal? Do you then get azerty when you type qwerty? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I have things under control. the only problem I was having was the switching. That is taken care of by using Option XkbOption grp:alt_shift_toggle That allows to switch back and forth. Check your keyboard and verify the keys next to the rtShift, rtEnter keys: to the left, and the two above rtEnter. If you have the real, true French CAnadian keyboard or keymap installed, you will get eacute;, egrave;, ccedil; and agrave characters - WITH ONE KEYSTROKE EACH. If you only get ` tick or ' with one key press, then it is some kind of French keyboard or old French Candadian. I have not been able to get this under xorg. (using fluxbox). If you are getting the true French Canadian keyboard, you must be using a different windows manager. Which do you have? -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
Boris Samorodov wrote: On Wed, 29 Apr 2009 16:04:34 -0400 PJ wrote: Tijl Coosemans wrote: On Wednesday 29 April 2009 15:20:34 PJ wrote: Cool. Then I can ask some questions regarding all of this. rc.conf: (snipped to show the relevant entries) font8x16=iso15-8x16 font8x14=iso15-8x14 font8x8=iso15-8x8 allscreens_flags=VGA_80x60 cyan rpcbind_enable=YES mountd_flags=-r nfs_client_enable=YES nfs_client_flags=-n 4 samba_enable=YES cupsd_enable=YES apache22_enable=YES postgresql_enable=YES mysql_enable=YES webmin_enable=YES #keymap=fr_CA.iso.acc.kbd Question: 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes of .fnt - ??? Your font and keymap settings are ok. The extensions can be omitted. See the EXAMPLES sections in vidcontrol(1) and kbdcontrol(1). 2. the keymap is commented out because, although it gives me the fr_CA keyboard, it also uses French messages which are a bit tortured (French courtly affectations in the language are quaint but also make for long and convoluted terminology - notice that a text translated to French is always longer). K.I.S.S. Keyboard settings shouldn't affect message localisation. Do you set the environment variable LANG in ~/.login_conf or in a shell startup script (.profile or .cshrc or other depending on the shell)? If so, set it to en_CA.ISO8859-15 or something. From q5 below I think you've currently set it to fr_CA.utf-8. No answer. Which locale do you use? default us xorg.conf: (snip for relevant) Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDevice Mouse0 CorePointer InputDevice Keyboard0 CoreKeyboard Option AllowEmptyInput off Seems that you use new X stuff. X11@ and gnome@ maillist archieves may give you some additional information. EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ Unless I add cyrillic fonts, I'm not able to see cyrillic letters at xterm for my utf-8 locale. FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ EndSection Section Module Load extmod Load record Load dbe Load glx Load GLcore Load xtrap Load dri Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc104 This might have to be pc105, but it probably doesn't matter. Option XkbLayout us,ca Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). This does not set it to the Canadian French; nor can I find anything that does... only my lame setup works using the French azerty (which is rather a pain because it involves complicated finger moves to get the accented characters - I'm familiar with it and can use it; it's just a pita. Phil, you didn't say which keyboard do you use and which options you have tried. Anyway, you may look at /usr/local/share/X11/xkb/rules/xorg.lst [1] for options that can be used at xorg.conf for keyboards. And you may be interested in looking at /var/log/Xorg.0.log. There are many useful diagnistics at this file. Option XkbOptions grp:toggle If you don't need layout switching just delete this. I guess I wasn't clear. Toggling was meant to mean switching back and forth; switching - just once. I would like to use switching but it seems to only work one way. Can't switch back. rtAlt switches from us to the ca (which oddly seems to mean French, but nothing to do with Canadian or French Canadian. Only fluxbox brings it back and then rtAlt no longer works. Weird. Any idea where the documentation is for this? The man page is rather foggy and has no mention of XkbOptions or XkbLayout or anything about grp:toggle Looking at [1] should help. HTH WBR Hi, Boris, Thanks much for your input. I looked at all the possibilities, like the profile, login.conf files, logs, google and have finally configured all as I like. Everything works fine... EXCEPT - it is impossible to install a French-Canadian keyboard/keymap (without creating one - and I'm not about to get into that) on xorg (with fluxbox as wm) As I just responded to Tijl Goosemans, the true French Canadian keyboard produces the most common accented characters with one keystroke; the French or old Fr-Canadian uses 2 keystrokes. I can assure you because I am typing on that keyboard right now. I switch between us fr_ca with ShiftAlt. the key to the right of the p/P key is used to create the circumfex (lowercase) in conjunction with a vowel or umlaut (uppercase). In Xorg, the toggle/switching is set with Option XkbOptions
Re: French-Canadian Keyboard keyboard switching
On Fri, 01 May 2009 09:11:02 -0400 PJ wrote: Boris Samorodov wrote: On Wed, 29 Apr 2009 16:04:34 -0400 PJ wrote: Tijl Coosemans wrote: On Wednesday 29 April 2009 15:20:34 PJ wrote: Cool. Then I can ask some questions regarding all of this. rc.conf: (snipped to show the relevant entries) font8x16=iso15-8x16 font8x14=iso15-8x14 font8x8=iso15-8x8 allscreens_flags=VGA_80x60 cyan rpcbind_enable=YES mountd_flags=-r nfs_client_enable=YES nfs_client_flags=-n 4 samba_enable=YES cupsd_enable=YES apache22_enable=YES postgresql_enable=YES mysql_enable=YES webmin_enable=YES #keymap=fr_CA.iso.acc.kbd Question: 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes of .fnt - ??? Your font and keymap settings are ok. The extensions can be omitted. See the EXAMPLES sections in vidcontrol(1) and kbdcontrol(1). 2. the keymap is commented out because, although it gives me the fr_CA keyboard, it also uses French messages which are a bit tortured (French courtly affectations in the language are quaint but also make for long and convoluted terminology - notice that a text translated to French is always longer). K.I.S.S. Keyboard settings shouldn't affect message localisation. Do you set the environment variable LANG in ~/.login_conf or in a shell startup script (.profile or .cshrc or other depending on the shell)? If so, set it to en_CA.ISO8859-15 or something. From q5 below I think you've currently set it to fr_CA.utf-8. No answer. Which locale do you use? default us xorg.conf: (snip for relevant) Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDevice Mouse0 CorePointer InputDevice Keyboard0 CoreKeyboard Option AllowEmptyInput off Seems that you use new X stuff. X11@ and gnome@ maillist archieves may give you some additional information. EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ Unless I add cyrillic fonts, I'm not able to see cyrillic letters at xterm for my utf-8 locale. FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ EndSection Section Module Load extmod Load record Load dbe Load glx Load GLcore Load xtrap Load dri Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc104 This might have to be pc105, but it probably doesn't matter. Option XkbLayout us,ca Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY [2] If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). This does not set it to the Canadian French; nor can I find anything that does... only my lame setup works using the French azerty (which is rather a pain because it involves complicated finger moves to get the accented characters - I'm familiar with it and can use it; it's just a pita. Phil, you didn't say which keyboard do you use and which options you have tried. Anyway, you may look at /usr/local/share/X11/xkb/rules/xorg.lst [1] for options that can be used at xorg.conf for keyboards. And you may be interested in looking at /var/log/Xorg.0.log. There are many useful diagnistics at this file. Option XkbOptions grp:toggle If you don't need layout switching just delete this. I guess I wasn't clear. Toggling was meant to mean switching back and forth; switching - just once. I would like to use switching but it seems to only work one way. Can't switch back. rtAlt switches from us to the ca (which oddly seems to mean French, but nothing to do with Canadian or French Canadian. Only fluxbox brings it back and then rtAlt no longer works. Weird. Any idea where the documentation is for this? The man page is rather foggy and has no mention of XkbOptions or XkbLayout or anything about grp:toggle Looking at [1] should help. HTH WBR Hi, Boris, Thanks much for your input. I looked at all the possibilities, like the profile, login.conf files, logs, google and have finally configured all as I like. Everything works fine... EXCEPT - it is impossible to install a French-Canadian keyboard/keymap (without creating one - and I'm not about to get into that) on xorg (with fluxbox as wm) As I just responded to Tijl Goosemans, the true French Canadian keyboard produces the most common accented characters with one keystroke; the French or old Fr-Canadian uses 2 keystrokes. I can assure you because I Does that mead that your keyboard is not shown at wiki [2]? am typing on
Re: French-Canadian Keyboard keyboard switching
Boris Samorodov wrote: On Fri, 01 May 2009 09:11:02 -0400 PJ wrote: Boris Samorodov wrote: On Wed, 29 Apr 2009 16:04:34 -0400 PJ wrote: Tijl Coosemans wrote: On Wednesday 29 April 2009 15:20:34 PJ wrote: Cool. Then I can ask some questions regarding all of this. rc.conf: (snipped to show the relevant entries) font8x16=iso15-8x16 font8x14=iso15-8x14 font8x8=iso15-8x8 allscreens_flags=VGA_80x60 cyan rpcbind_enable=YES mountd_flags=-r nfs_client_enable=YES nfs_client_flags=-n 4 samba_enable=YES cupsd_enable=YES apache22_enable=YES postgresql_enable=YES mysql_enable=YES webmin_enable=YES #keymap=fr_CA.iso.acc.kbd Question: 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes of .fnt - ??? Your font and keymap settings are ok. The extensions can be omitted. See the EXAMPLES sections in vidcontrol(1) and kbdcontrol(1). 2. the keymap is commented out because, although it gives me the fr_CA keyboard, it also uses French messages which are a bit tortured (French courtly affectations in the language are quaint but also make for long and convoluted terminology - notice that a text translated to French is always longer). K.I.S.S. Keyboard settings shouldn't affect message localisation. Do you set the environment variable LANG in ~/.login_conf or in a shell startup script (.profile or .cshrc or other depending on the shell)? If so, set it to en_CA.ISO8859-15 or something. From q5 below I think you've currently set it to fr_CA.utf-8. No answer. Which locale do you use? default us xorg.conf: (snip for relevant) Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDevice Mouse0 CorePointer InputDevice Keyboard0 CoreKeyboard Option AllowEmptyInput off Seems that you use new X stuff. X11@ and gnome@ maillist archieves may give you some additional information. EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ Unless I add cyrillic fonts, I'm not able to see cyrillic letters at xterm for my utf-8 locale. FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ EndSection Section Module Load extmod Load record Load dbe Load glx Load GLcore Load xtrap Load dri Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc104 This might have to be pc105, but it probably doesn't matter. Option XkbLayout us,ca Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY [2] If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). This does not set it to the Canadian French; nor can I find anything that does... only my lame setup works using the French azerty (which is rather a pain because it involves complicated finger moves to get the accented characters - I'm familiar with it and can use it; it's just a pita. Phil, you didn't say which keyboard do you use and which options you have tried. Anyway, you may look at /usr/local/share/X11/xkb/rules/xorg.lst [1] for options that can be used at xorg.conf for keyboards. And you may be interested in looking at /var/log/Xorg.0.log. There are many useful diagnistics at this file. Option XkbOptions grp:toggle If you don't need layout switching just delete this. I guess I wasn't clear. Toggling was meant to mean switching back and forth; switching - just once. I would like to use switching but it seems to only work one way. Can't switch back. rtAlt switches from us to the ca (which oddly seems to mean French, but nothing to do with Canadian or French Canadian. Only fluxbox brings it back and then rtAlt no longer works. Weird. Any idea where the documentation is for this? The man page is rather foggy and has no mention of XkbOptions or XkbLayout or anything about grp:toggle Looking at [1] should help. HTH WBR Hi, Boris, Thanks much for your input. I looked at all the possibilities, like the profile, login.conf files, logs, google and have finally configured all as I like. Everything works fine... EXCEPT - it is impossible to install a French-Canadian keyboard/keymap (without creating one - and I'm not about to get into that) on xorg (with fluxbox as wm) As I just responded to Tijl Goosemans, the true French Canadian keyboard produces the most common accented characters with
Re: French-Canadian Keyboard keyboard switching
On Friday 01 May 2009 15:57:35 PJ wrote: The physical keyboard is a Compaq, identical layout of the Logitech I am using on this XP. This one is set to switch beween us canadian multi. But the ca(multi) setting does not work either alone or with the us for switching. The accent keys are dead. Maybe the option for the keys should be set to nodeadkeys. But this is not worth pursuing as I am spending too much time on this as is. I have things under control, it just seems strange that the ca(multi) cannot be installed. Could be fluxbox? Oh well. I just tried ca(multi) under fluxbox and it just works. What version of Xorg do you have (output of X -version)? And what is the output of grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
Tijl Coosemans wrote: On Friday 01 May 2009 15:57:35 PJ wrote: The physical keyboard is a Compaq, identical layout of the Logitech I am using on this XP. This one is set to switch beween us canadian multi. But the ca(multi) setting does not work either alone or with the us for switching. The accent keys are dead. Maybe the option for the keys should be set to nodeadkeys. But this is not worth pursuing as I am spending too much time on this as is. I have things under control, it just seems strange that the ca(multi) cannot be installed. Could be fluxbox? Oh well. I just tried ca(multi) under fluxbox and it just works. What version of Xorg do you have (output of X -version)? And what is the output of grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca? Version 1.6 buit 13 April 2009 symbols/ca = multi, multix', multi-2gr, fr, a few others You'd think it would work... Doesn't make sense. -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
On Friday 01 May 2009 16:41:52 PJ wrote: Tijl Coosemans wrote: On Friday 01 May 2009 15:57:35 PJ wrote: The physical keyboard is a Compaq, identical layout of the Logitech I am using on this XP. This one is set to switch beween us canadian multi. But the ca(multi) setting does not work either alone or with the us for switching. The accent keys are dead. Maybe the option for the keys should be set to nodeadkeys. But this is not worth pursuing as I am spending too much time on this as is. I have things under control, it just seems strange that the ca(multi) cannot be installed. Could be fluxbox? Oh well. I just tried ca(multi) under fluxbox and it just works. What version of Xorg do you have (output of X -version)? And what is the output of grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca? Version 1.6 buit 13 April 2009 symbols/ca = multi, multix', multi-2gr, fr, a few others You'd think it would work... Doesn't make sense. Have you tried running setxkbmap ca multi? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
Tijl Coosemans wrote: On Friday 01 May 2009 15:57:35 PJ wrote: The physical keyboard is a Compaq, identical layout of the Logitech I am using on this XP. This one is set to switch beween us canadian multi. But the ca(multi) setting does not work either alone or with the us for switching. The accent keys are dead. Maybe the option for the keys should be set to nodeadkeys. But this is not worth pursuing as I am spending too much time on this as is. I have things under control, it just seems strange that the ca(multi) cannot be installed. Could be fluxbox? Oh well. I just tried ca(multi) under fluxbox and it just works. What version of Xorg do you have (output of X -version)? And what is the output of grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca? Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard OptionAllowEmptyInput off EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option CoreKeyboard yes OptionXkbModel pc105 Option XkbLayout us,ca(multi) Option XkbRules xorg Option XkbOptions grp:alt_shift_toggle Option CustomKeycodes on EndSection from log: (**) Option CoreKeyboard (**) Keyboard0: always reports core events (**) Option Protocol standard (**) Keyboard0: Protocol: standard (**) Option AutoRepeat 500 30 (**) Option XkbRules xorg (**) Keyboard0: XkbRules: xorg (**) Option XkbModel pc105 (**) Keyboard0: XkbModel: pc105 (**) Option XkbLayout us,ca(multi) (**) Keyboard0: XkbLayout: us,ca(multi) (**) Option XkbOptions grp:alt_shift_toggle (**) Keyboard0: XkbOptions: grp:alt_shift_toggle (**) Option CustomKeycodes on (**) Keyboard0: CustomKeycodes enabled (II) XINPUT: Adding extended input device Keyboard0 (type: KEYBOARD) (II) config/hal: Adding input device AT Keyboard (**) AT Keyboard: always reports core events (**) Option Protocol standard (**) AT Keyboard: Protocol: standard (**) Option AutoRepeat 500 30 (**) Option XkbRules xorg (**) AT Keyboard: XkbRules: xorg (**) Option XkbModel pc105 (**) AT Keyboard: XkbModel: pc105 (**) Option XkbLayout us (**) AT Keyboard: XkbLayout: us (**) Option CustomKeycodes off (**) AT Keyboard: CustomKeycodes disabled (II) XINPUT: Adding extended input device AT Keyboard (type: KEYBOARD) Any idea if CustomKeycodes should be used? Strange that it looks like its off for one (which one} I added this but I have no idea where or if it should be used. Had no effect, anyway. The switch works but the ca(multi) just does not. Or do we have to set up a another keyboard like Keyboard1 ? I'm lost. -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
On Fri, 01 May 2009 11:34:19 -0400 PJ wrote: Tijl Coosemans wrote: On Friday 01 May 2009 15:57:35 PJ wrote: The physical keyboard is a Compaq, identical layout of the Logitech I am using on this XP. This one is set to switch beween us canadian multi. But the ca(multi) setting does not work either alone or with the us for switching. The accent keys are dead. Maybe the option for the keys should be set to nodeadkeys. But this is not worth pursuing as I am spending too much time on this as is. I have things under control, it just seems strange that the ca(multi) cannot be installed. Could be fluxbox? Oh well. I just tried ca(multi) under fluxbox and it just works. What version of Xorg do you have (output of X -version)? And what is the output of grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca? Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard OptionAllowEmptyInput off So you don't want to use hal... EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option CoreKeyboard yes OptionXkbModel pc105 Option XkbLayout us,ca(multi) Option XkbRules xorg Option XkbOptions grp:alt_shift_toggle Option CustomKeycodes on EndSection from log: (**) Option CoreKeyboard (**) Keyboard0: always reports core events (**) Option Protocol standard (**) Keyboard0: Protocol: standard (**) Option AutoRepeat 500 30 (**) Option XkbRules xorg (**) Keyboard0: XkbRules: xorg (**) Option XkbModel pc105 (**) Keyboard0: XkbModel: pc105 (**) Option XkbLayout us,ca(multi) (**) Keyboard0: XkbLayout: us,ca(multi) (**) Option XkbOptions grp:alt_shift_toggle (**) Keyboard0: XkbOptions: grp:alt_shift_toggle (**) Option CustomKeycodes on (**) Keyboard0: CustomKeycodes enabled (II) XINPUT: Adding extended input device Keyboard0 (type: KEYBOARD) (II) config/hal: Adding input device AT Keyboard (**) AT Keyboard: always reports core events (**) Option Protocol standard (**) AT Keyboard: Protocol: standard (**) Option AutoRepeat 500 30 (**) Option XkbRules xorg (**) AT Keyboard: XkbRules: xorg (**) Option XkbModel pc105 (**) AT Keyboard: XkbModel: pc105 (**) Option XkbLayout us (**) AT Keyboard: XkbLayout: us (**) Option CustomKeycodes off (**) AT Keyboard: CustomKeycodes disabled (II) XINPUT: Adding extended input device AT Keyboard (type: KEYBOARD) I'm not an expert in hal, but seems that hal is used. May be disabling hal helps? Any idea if CustomKeycodes should be used? Strange that it looks like its off for one (which one} I added this but I have no idea where or if it should be used. Had no effect, anyway. The switch works but the ca(multi) just does not. Or do we have to set up a another keyboard like Keyboard1 ? I'm lost. If you want to use hal (and configure your kdb via hal) then you may be interested in: http://lists.freebsd.org/pipermail/freebsd-x11/2009-April/008185.html WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
On Wed, Apr 29, 2009 at 04:04:34PM -0400, PJ wrote: [snip] Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). This does not set it to the Canadian French; nor can I find anything that does... only my lame setup works using the French azerty (which is rather a pain because it involves complicated finger moves to get the accented characters - I'm familiar with it and can use it; it's just a pita. To some extent it depends what applications you use. I use vim LaTeX. In vim I can get digraphs for email etc. :help dig For hardcopy I use LaTeX for some Finnish and, for example, umlauts are \{o} etc. So basically I don't need a foreign keyboard because my applications sort that out for me. I'd recommend using applications that don't need digraphs entering from the keyboard. Option XkbOptions grp:toggle If you don't need layout switching just delete this. I guess I wasn't clear. Toggling was meant to mean switching back and forth; switching - just once. I would like to use switching but it seems to only work one way. Can't switch back. rtAlt switches from us to the ca (which oddly seems to mean French, but nothing to do with Canadian or French Canadian. Only fluxbox brings it back and then rtAlt no longer works. Weird. Any idea where the documentation is for this? Check out ~/.fluxbox/keys and that it's not interfering. There's a manpage for it: fluxbox-keys(5) The man page is rather foggy and has no mention of XkbOptions or XkbLayout or anything about grp:toggle The X docs are a disgrace IMHO. Where are the docs about the new options such as dontZap etc? They don't seem to exist./rant [snip] Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
Frank Shute wrote: On Wed, Apr 29, 2009 at 04:04:34PM -0400, PJ wrote: [snip] Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). This does not set it to the Canadian French; nor can I find anything that does... only my lame setup works using the French azerty (which is rather a pain because it involves complicated finger moves to get the accented characters - I'm familiar with it and can use it; it's just a pita. To some extent it depends what applications you use. I use vim LaTeX. In vim I can get digraphs for email etc. :help dig For hardcopy I use LaTeX for some Finnish and, for example, umlauts are \{o} etc. So basically I don't need a foreign keyboard because my applications sort that out for me. I'd recommend using applications that don't need digraphs entering from the keyboard. Option XkbOptions grp:toggle If you don't need layout switching just delete this. I guess I wasn't clear. Toggling was meant to mean switching back and forth; switching - just once. I would like to use switching but it seems to only work one way. Can't switch back. rtAlt switches from us to the ca (which oddly seems to mean French, but nothing to do with Canadian or French Canadian. Only fluxbox brings it back and then rtAlt no longer works. Weird. Any idea where the documentation is for this? Check out ~/.fluxbox/keys and that it's not interfering. There's a manpage for it: fluxbox-keys(5) The man page is rather foggy and has no mention of XkbOptions or XkbLayout or anything about grp:toggle The X docs are a disgrace IMHO. Where are the docs about the new options such as dontZap etc? They don't seem to exist./rant [snip] Regards, Glad to hear I'm not the only one complaining about documentation. The language use is not a question of applications but of text - I don't have problems in any of my applications in entereing the language text except on xorg. I can manage it with the current setup, but I just find it strange that I cannot get the ca(multi) functioning correctly. Could it be a question of the physical keyboard? I haven't yet tried this one that works correctly on the FreeBSD machine, but that's next. On the FreeBSD the ca(multi) does function with multiple accents like the umlaut - with two keypresses - but on this XP box, the multi gives me one-stroke accents for the French Canadian accents, upper as well as lower case except for the ^ caret. I rather doubt that Tijl Goosemans has enabled the same capabilities for his *nix or FBSD box as I have on my XP; otherwise I would have had that done long ago. As I said before, I can set up the ca(multi) but it's just not the right one. Just for laughs, I'm going to try this keyboard on FreeBSD and see what happens. -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
Boris Samorodov wrote: On Fri, 01 May 2009 11:34:19 -0400 PJ wrote: Tijl Coosemans wrote: On Friday 01 May 2009 15:57:35 PJ wrote: The physical keyboard is a Compaq, identical layout of the Logitech I am using on this XP. This one is set to switch beween us canadian multi. But the ca(multi) setting does not work either alone or with the us for switching. The accent keys are dead. Maybe the option for the keys should be set to nodeadkeys. But this is not worth pursuing as I am spending too much time on this as is. I have things under control, it just seems strange that the ca(multi) cannot be installed. Could be fluxbox? Oh well. I just tried ca(multi) under fluxbox and it just works. What version of Xorg do you have (output of X -version)? And what is the output of grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca? Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard OptionAllowEmptyInput off So you don't want to use hal... EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option CoreKeyboard yes OptionXkbModel pc105 Option XkbLayout us,ca(multi) Option XkbRules xorg Option XkbOptions grp:alt_shift_toggle Option CustomKeycodes on EndSection from log: (**) Option CoreKeyboard (**) Keyboard0: always reports core events (**) Option Protocol standard (**) Keyboard0: Protocol: standard (**) Option AutoRepeat 500 30 (**) Option XkbRules xorg (**) Keyboard0: XkbRules: xorg (**) Option XkbModel pc105 (**) Keyboard0: XkbModel: pc105 (**) Option XkbLayout us,ca(multi) (**) Keyboard0: XkbLayout: us,ca(multi) (**) Option XkbOptions grp:alt_shift_toggle (**) Keyboard0: XkbOptions: grp:alt_shift_toggle (**) Option CustomKeycodes on (**) Keyboard0: CustomKeycodes enabled (II) XINPUT: Adding extended input device Keyboard0 (type: KEYBOARD) (II) config/hal: Adding input device AT Keyboard (**) AT Keyboard: always reports core events (**) Option Protocol standard (**) AT Keyboard: Protocol: standard (**) Option AutoRepeat 500 30 (**) Option XkbRules xorg (**) AT Keyboard: XkbRules: xorg (**) Option XkbModel pc105 (**) AT Keyboard: XkbModel: pc105 (**) Option XkbLayout us (**) AT Keyboard: XkbLayout: us (**) Option CustomKeycodes off (**) AT Keyboard: CustomKeycodes disabled (II) XINPUT: Adding extended input device AT Keyboard (type: KEYBOARD) I'm not an expert in hal, but seems that hal is used. May be disabling hal helps? Any idea if CustomKeycodes should be used? Strange that it looks like its off for one (which one} I added this but I have no idea where or if it should be used. Had no effect, anyway. The switch works but the ca(multi) just does not. Or do we have to set up a another keyboard like Keyboard1 ? I'm lost. If you want to use hal (and configure your kdb via hal) then you may be interested in: http://lists.freebsd.org/pipermail/freebsd-x11/2009-April/008185.html WBR Don't trust it. Too complicated. ;-) -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching - SOLVED
Tijl Coosemans wrote: On Friday 01 May 2009 16:41:52 PJ wrote: Tijl Coosemans wrote: On Friday 01 May 2009 15:57:35 PJ wrote: The physical keyboard is a Compaq, identical layout of the Logitech I am using on this XP. This one is set to switch beween us canadian multi. But the ca(multi) setting does not work either alone or with the us for switching. The accent keys are dead. Maybe the option for the keys should be set to nodeadkeys. But this is not worth pursuing as I am spending too much time on this as is. I have things under control, it just seems strange that the ca(multi) cannot be installed. Could be fluxbox? Oh well. I just tried ca(multi) under fluxbox and it just works. What version of Xorg do you have (output of X -version)? And what is the output of grep xkb_symbols /usr/local/share/X11/xkb/symbols/ca? Version 1.6 buit 13 April 2009 symbols/ca = multi, multix', multi-2gr, fr, a few others You'd think it would work... Doesn't make sense. Have you tried running setxkbmap ca multi? Now, here's the weird stuff - ca multi works in Firefox... but not in xterm so, the keyboard has to be set from fluxbox... works fine in Inkscape, gnucash, abacus, so the real problem is in xterm - and that is totally unimportant as long as good ol' English works it it. -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
On Friday 01 May 2009 19:24:04 PJ wrote: Boris Samorodov wrote: On Fri, 01 May 2009 11:34:19 -0400 PJ wrote: Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard OptionAllowEmptyInput off So you don't want to use hal... You might have to add this line to the ServerLayout section: Option AutoAddDevices off Then hal won't interfere with keyboard or mouse. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching - SOLVED
On Friday 01 May 2009 19:37:52 PJ wrote: Tijl Coosemans wrote: Have you tried running setxkbmap ca multi? Now, here's the weird stuff - ca multi works in Firefox... but not in xterm so, the keyboard has to be set from fluxbox... works fine in Inkscape, gnucash, abacus, so the real problem is in xterm - and that is totally unimportant as long as good ol' English works it it. You probably have to set LANG. Try running setenv LANG en_CA.ISO8859-15. If you can type accented letters then, you need to add something like this to ~/.login_conf: me:\ :charset=ISO-8859-15:\ :lang=en_CA.ISO8859-15: ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
On Wed, 29 Apr 2009 16:04:34 -0400 PJ wrote: Tijl Coosemans wrote: On Wednesday 29 April 2009 15:20:34 PJ wrote: Cool. Then I can ask some questions regarding all of this. rc.conf: (snipped to show the relevant entries) font8x16=iso15-8x16 font8x14=iso15-8x14 font8x8=iso15-8x8 allscreens_flags=VGA_80x60 cyan rpcbind_enable=YES mountd_flags=-r nfs_client_enable=YES nfs_client_flags=-n 4 samba_enable=YES cupsd_enable=YES apache22_enable=YES postgresql_enable=YES mysql_enable=YES webmin_enable=YES #keymap=fr_CA.iso.acc.kbd Question: 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes of .fnt - ??? Your font and keymap settings are ok. The extensions can be omitted. See the EXAMPLES sections in vidcontrol(1) and kbdcontrol(1). 2. the keymap is commented out because, although it gives me the fr_CA keyboard, it also uses French messages which are a bit tortured (French courtly affectations in the language are quaint but also make for long and convoluted terminology - notice that a text translated to French is always longer). K.I.S.S. Keyboard settings shouldn't affect message localisation. Do you set the environment variable LANG in ~/.login_conf or in a shell startup script (.profile or .cshrc or other depending on the shell)? If so, set it to en_CA.ISO8859-15 or something. From q5 below I think you've currently set it to fr_CA.utf-8. No answer. Which locale do you use? xorg.conf: (snip for relevant) Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDevice Mouse0 CorePointer InputDevice Keyboard0 CoreKeyboard Option AllowEmptyInput off Seems that you use new X stuff. X11@ and gnome@ maillist archieves may give you some additional information. EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ Unless I add cyrillic fonts, I'm not able to see cyrillic letters at xterm for my utf-8 locale. FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ EndSection Section Module Load extmod Load record Load dbe Load glx Load GLcore Load xtrap Load dri Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc104 This might have to be pc105, but it probably doesn't matter. Option XkbLayout us,ca Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). This does not set it to the Canadian French; nor can I find anything that does... only my lame setup works using the French azerty (which is rather a pain because it involves complicated finger moves to get the accented characters - I'm familiar with it and can use it; it's just a pita. Phil, you didn't say which keyboard do you use and which options you have tried. Anyway, you may look at /usr/local/share/X11/xkb/rules/xorg.lst [1] for options that can be used at xorg.conf for keyboards. And you may be interested in looking at /var/log/Xorg.0.log. There are many useful diagnistics at this file. Option XkbOptions grp:toggle If you don't need layout switching just delete this. I guess I wasn't clear. Toggling was meant to mean switching back and forth; switching - just once. I would like to use switching but it seems to only work one way. Can't switch back. rtAlt switches from us to the ca (which oddly seems to mean French, but nothing to do with Canadian or French Canadian. Only fluxbox brings it back and then rtAlt no longer works. Weird. Any idea where the documentation is for this? The man page is rather foggy and has no mention of XkbOptions or XkbLayout or anything about grp:toggle Looking at [1] should help. HTH WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
On Wednesday 29 April 2009 22:04:34 PJ wrote: Tijl Coosemans wrote: On Wednesday 29 April 2009 15:20:34 PJ wrote: xorg.conf: (snip for relevant) Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDevice Mouse0 CorePointer InputDevice Keyboard0 CoreKeyboard Option AllowEmptyInput off EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ EndSection Section Module Load extmod Load record Load dbe Load glx Load GLcore Load xtrap Load dri Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc104 This might have to be pc105, but it probably doesn't matter. Option XkbLayout us,ca Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). This does not set it to the Canadian French; nor can I find anything that does... only my lame setup works using the French azerty (which is rather a pain because it involves complicated finger moves to get the accented characters - I'm familiar with it and can use it; it's just a pita. It works for me. What if you run setxkbmap ca or setxkbmap ca multi in an X terminal? Do you then get azerty when you type qwerty? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
On Wednesday 29 April 2009 00:14:53 PJ wrote: Oh, well, another day lost... but, I guess it's better to limp than not to walk at all. :-\ I think it would help if you posted your /etc/rc.conf and /etc/X11/xorg.conf. Those are the two files that need to change. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
Tijl Coosemans wrote: On Wednesday 29 April 2009 00:14:53 PJ wrote: Oh, well, another day lost... but, I guess it's better to limp than not to walk at all. :-\ I think it would help if you posted your /etc/rc.conf and /etc/X11/xorg.conf. Those are the two files that need to change. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Cool. Then I can ask some questions regarding all of this. rc.conf: (snipped to show the relevant entries) font8x16=iso15-8x16 font8x14=iso15-8x14 font8x8=iso15-8x8 allscreens_flags=VGA_80x60 cyan rpcbind_enable=YES mountd_flags=-r nfs_client_enable=YES nfs_client_flags=-n 4 samba_enable=YES cupsd_enable=YES apache22_enable=YES postgresql_enable=YES mysql_enable=YES webmin_enable=YES #keymap=fr_CA.iso.acc.kbd Question: 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes of .fnt - ??? 2. the keymap is commented out because, although it gives me the fr_CA keyboard, it also uses French messages which are a bit tortured (French courtly affectations in the language are quaint but also make for long and convoluted terminology - notice that a text translated to French is always longer). K.I.S.S. xorg.conf: (snip for relevant) Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard OptionAllowEmptyInput off EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ EndSection Section Module Load extmod Load record Load dbe Load glx Load GLcore Load xtrap Load dri Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd OptionXkbModel pc104 Option XkbLayout us,ca Option XkbOptions grp:toggle EndSection Questions: 3. This setup enables switching from the default us to what appears to be the French keyboard. The fr_CA has the accented characters assigned to normal keys while keeping most of the English keys normal; the French kbd needs two keypresses to get the accents. Tiresome, not so say dumb. 4. The toggle does not toggle; pressing right_Alt switches to fr but another rtAlt press does nothing. And other Alt combinations don't do anything except freeze the kbd and xterm has to be closed and thereafter the fr is not accessible without a reboot or one must use fluxbox menu to switch the keyboard. How to get the fr_CA instad of the fr? 5. Upon closing xorg, there are these messages: Failed to open file (/usr/local/share/fluxbox/nls/fr_CA.utf-8/fluxbox.cat)... (twice) Checking Google fluxbox, it appears this file does not exist. Fluxbox simply has not included it in their distribution. Mayba Blackbox has it; I'll have to check. Thanks for any help or suggestions. Phil -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
On Wednesday 29 April 2009 15:20:34 PJ wrote: Cool. Then I can ask some questions regarding all of this. rc.conf: (snipped to show the relevant entries) font8x16=iso15-8x16 font8x14=iso15-8x14 font8x8=iso15-8x8 allscreens_flags=VGA_80x60 cyan rpcbind_enable=YES mountd_flags=-r nfs_client_enable=YES nfs_client_flags=-n 4 samba_enable=YES cupsd_enable=YES apache22_enable=YES postgresql_enable=YES mysql_enable=YES webmin_enable=YES #keymap=fr_CA.iso.acc.kbd Question: 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes of .fnt - ??? Your font and keymap settings are ok. The extensions can be omitted. See the EXAMPLES sections in vidcontrol(1) and kbdcontrol(1). 2. the keymap is commented out because, although it gives me the fr_CA keyboard, it also uses French messages which are a bit tortured (French courtly affectations in the language are quaint but also make for long and convoluted terminology - notice that a text translated to French is always longer). K.I.S.S. Keyboard settings shouldn't affect message localisation. Do you set the environment variable LANG in ~/.login_conf or in a shell startup script (.profile or .cshrc or other depending on the shell)? If so, set it to en_CA.ISO8859-15 or something. From q5 below I think you've currently set it to fr_CA.utf-8. xorg.conf: (snip for relevant) Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard OptionAllowEmptyInput off EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ EndSection Section Module Load extmod Load record Load dbe Load glx Load GLcore Load xtrap Load dri Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd OptionXkbModel pc104 This might have to be pc105, but it probably doesn't matter. Option XkbLayout us,ca Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). Option XkbOptions grp:toggle If you don't need layout switching just delete this. EndSection Questions: 3. This setup enables switching from the default us to what appears to be the French keyboard. The fr_CA has the accented characters assigned to normal keys while keeping most of the English keys normal; the French kbd needs two keypresses to get the accents. Tiresome, not so say dumb. The French have an azerty layout with accented letters also directly available. 4. The toggle does not toggle; pressing right_Alt switches to fr but another rtAlt press does nothing. And other Alt combinations don't do anything except freeze the kbd and xterm has to be closed and thereafter the fr is not accessible without a reboot or one must use fluxbox menu to switch the keyboard. How to get the fr_CA instad of the fr? I don't know anything about toggling. 5. Upon closing xorg, there are these messages: Failed to open file (/usr/local/share/fluxbox/nls/fr_CA.utf-8/fluxbox.cat)... (twice) Checking Google fluxbox, it appears this file does not exist. Fluxbox simply has not included it in their distribution. Mayba Blackbox has it; I'll have to check. Probably harmless. It's just for message localisation. It should fall back on English. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
Tijl Coosemans wrote: On Wednesday 29 April 2009 15:20:34 PJ wrote: Cool. Then I can ask some questions regarding all of this. rc.conf: (snipped to show the relevant entries) font8x16=iso15-8x16 font8x14=iso15-8x14 font8x8=iso15-8x8 allscreens_flags=VGA_80x60 cyan rpcbind_enable=YES mountd_flags=-r nfs_client_enable=YES nfs_client_flags=-n 4 samba_enable=YES cupsd_enable=YES apache22_enable=YES postgresql_enable=YES mysql_enable=YES webmin_enable=YES #keymap=fr_CA.iso.acc.kbd Question: 1. the font entries? The /usr/share/syscons/fonts/ entry has suffixes of .fnt - ??? Your font and keymap settings are ok. The extensions can be omitted. See the EXAMPLES sections in vidcontrol(1) and kbdcontrol(1). 2. the keymap is commented out because, although it gives me the fr_CA keyboard, it also uses French messages which are a bit tortured (French courtly affectations in the language are quaint but also make for long and convoluted terminology - notice that a text translated to French is always longer). K.I.S.S. Keyboard settings shouldn't affect message localisation. Do you set the environment variable LANG in ~/.login_conf or in a shell startup script (.profile or .cshrc or other depending on the shell)? If so, set it to en_CA.ISO8859-15 or something. From q5 below I think you've currently set it to fr_CA.utf-8. xorg.conf: (snip for relevant) Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDevice Mouse0 CorePointer InputDevice Keyboard0 CoreKeyboard Option AllowEmptyInput off EndSection Section Files ModulePath /usr/local/lib/xorg/modules FontPath /usr/local/lib/X11/fonts/misc/ FontPath /usr/local/lib/X11/fonts/TTF/ FontPath /usr/local/lib/X11/fonts/OTF FontPath /usr/local/lib/X11/fonts/Type1/ FontPath /usr/local/lib/X11/fonts/100dpi/ FontPath /usr/local/lib/X11/fonts/75dpi/ EndSection Section Module Load extmod Load record Load dbe Load glx Load GLcore Load xtrap Load dri Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd Option XkbModel pc104 This might have to be pc105, but it probably doesn't matter. Option XkbLayout us,ca Check out http://en.wikipedia.org/wiki/Keyboard_layout#QWERTY If you have Canadian Multilingual Standard, this option needs to be set to ca(multi). If you have Canadian French, set it to ca or ca(fr). This does not set it to the Canadian French; nor can I find anything that does... only my lame setup works using the French azerty (which is rather a pain because it involves complicated finger moves to get the accented characters - I'm familiar with it and can use it; it's just a pita. Option XkbOptions grp:toggle If you don't need layout switching just delete this. I guess I wasn't clear. Toggling was meant to mean switching back and forth; switching - just once. I would like to use switching but it seems to only work one way. Can't switch back. rtAlt switches from us to the ca (which oddly seems to mean French, but nothing to do with Canadian or French Canadian. Only fluxbox brings it back and then rtAlt no longer works. Weird. Any idea where the documentation is for this? The man page is rather foggy and has no mention of XkbOptions or XkbLayout or anything about grp:toggle EndSection Questions: 3. This setup enables switching from the default us to what appears to be the French keyboard. The fr_CA has the accented characters assigned to normal keys while keeping most of the English keys normal; the French kbd needs two keypresses to get the accents. Tiresome, not so say dumb. The French have an azerty layout with accented letters also directly available. 4. The toggle does not toggle; pressing right_Alt switches to fr but another rtAlt press does nothing. And other Alt combinations don't do anything except freeze the kbd and xterm has to be closed and thereafter the fr is not accessible without a reboot or one must use fluxbox menu to switch the keyboard. How to get the fr_CA instad of the fr? I don't know anything about toggling. 5. Upon closing xorg, there are these messages: Failed to open file (/usr/local/share/fluxbox/nls/fr_CA.utf-8/fluxbox.cat)... (twice) Checking Google fluxbox, it appears this file does not exist. Fluxbox simply has not included it in their distribution. Mayba Blackbox has it; I'll have to check. Probably harmless. It's just for message localisation. It should fall back on English. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___
Re: French-Canadian Keyboard keyboard switching
On Tue, Apr 28, 2009 at 06:42:52AM -0400, PJ wrote: Anyway, everything I have tried does not work on FreeBSD or on xorg. What have you tried already? Are you using hald to autoconfigure Xorg, or are you still using the static xorg.conf file? Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpsbLhxu3Hys.pgp Description: PGP signature
Re: French-Canadian Keyboard keyboard switching
Daniel Bye wrote: On Tue, Apr 28, 2009 at 06:42:52AM -0400, PJ wrote: Anyway, everything I have tried does not work on FreeBSD or on xorg. What have you tried already? Are you using hald to autoconfigure Xorg, or are you still using the static xorg.conf file? Dan I rather prefer to keep things simple and do them with the console, if possible. :-) -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
PJ wrote: I am rather surprised and disappointed that no one has any ideas about using and/or installing a French-Canadian keyboard on FreeBSD. That is a terrible bug in FreeBSD and a worse slur on the Québecois (or Quebeckers) or are we being neglected and still considered The White Niggers of America? ;-) Anyway, everything I have tried does not work on FreeBSD or on xorg. Cannot set it up or switch. Somebody, please help. Probably should start here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html The command locale -a will show all available locales, and the command locale -m will show all charmaps. You probably want one of: fr_CA.ISO8859-1 fr_CA.ISO8859-15 fr_CA.UTF-8 and a charmap to match above choice: ISO8859-1 ISO8859-15 UTF-8 I don't have direct experience with your situation, but I suspect you may want ISO8859-1 for what you described. More knowledgeable people may know. As far as the attitude is concerned, can't help with that. But you should know that such things just turn people off, i.e, someone who may have wanted to try and help you will not, just because. Please keep it about FreeBSD, ask technical questions, and leave the rest somewhere else if you truly do want help. This kind of thing can be offensive to others. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
On Tue, Apr 28, 2009 at 06:42:52AM -0400, PJ wrote: I am rather surprised and disappointed that no one has any ideas about using and/or installing a French-Canadian keyboard on FreeBSD. That is a terrible bug in FreeBSD and a worse slur on the Québecois (or Quebeckers) or are we being neglected and still considered The White Niggers of America? ;-) Anyway, everything I have tried does not work on FreeBSD or on xorg. Cannot set it up or switch. Somebody, please help. Have you tried: Option XkbLayout ca(fr) in your keyboard/inputdevice section of xorg.conf? For the console you want to have a look at kbdmap(1) and the list of maps. Looks like you want: keymap=fr_CA.iso.acc in /etc/rc.conf Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
Frank Shute wrote: On Tue, Apr 28, 2009 at 06:42:52AM -0400, PJ wrote: I am rather surprised and disappointed that no one has any ideas about using and/or installing a French-Canadian keyboard on FreeBSD. That is a terrible bug in FreeBSD and a worse slur on the Québecois (or Quebeckers) or are we being neglected and still considered The White Niggers of America? ;-) Anyway, everything I have tried does not work on FreeBSD or on xorg. Cannot set it up or switch. Somebody, please help. Have you tried: Option XkbLayout ca(fr) in your keyboard/inputdevice section of xorg.conf? For the console you want to have a look at kbdmap(1) and the list of maps. Looks like you want: keymap=fr_CA.iso.acc in /etc/rc.conf Regards, I probably should have posted all the stuff I tried. My apologies. Yes, I had tried similar Options as described in a number of sites, including, I think FreeBSD and Xorg. Only the man pages showed different inputs. I don't know where you got the fr_CA.iso.acc; my installation showed the available keymaps as fr_CA.iso.acc.kbd kbdmap -s returns You are not on a virtual console - expect strange side effects lang_default = en dialect = fr_...ISO8859-1 lang_abk = fr Currently supported languages: da de el en es fr hy iw no pl pt ru sv uk = Interesting, eh? where does fr_CA fit in and how? For Xorg here is what I had found on http://markmail.org/messsage/yvq7qqnqhq33hqgf Option XkbModel pc104 Option XkbLayout us,ca Option XkbOptions grp:toggle That is what I had tried; it didn't work. I had tried keymap=fr_CA.iso.acc.kbd and that gave(gives) the correct keyboard on the console. Except, it spews out French error messages (tiresome=ennuiyant). The Option XkbLayout us,ca - I have no idea where it comes from and I sure would like to know what to enter for that to try it out. And where does the grp:toggle come from? I just went through the same routine and I can't find any combination that works with the information I have been able to gather. :-( -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
Michael Powell wrote: PJ wrote: I am rather surprised and disappointed that no one has any ideas about using and/or installing a French-Canadian keyboard on FreeBSD. That is a terrible bug in FreeBSD and a worse slur on the Québecois (or Quebeckers) or are we being neglected and still considered The White Niggers of America? ;-) Anyway, everything I have tried does not work on FreeBSD or on xorg. Cannot set it up or switch. Somebody, please help. Probably should start here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html The command locale -a will show all available locales, and the command locale -m will show all charmaps. You probably want one of: fr_CA.ISO8859-1 fr_CA.ISO8859-15 fr_CA.UTF-8 and a charmap to match above choice: ISO8859-1 ISO8859-15 UTF-8 I don't have direct experience with your situation, but I suspect you may want ISO8859-1 for what you described. More knowledgeable people may know. As far as the attitude is concerned, can't help with that. But you should know that such things just turn people off, i.e, someone who may have wanted to try and help you will not, just because. Please keep it about FreeBSD, ask technical questions, and leave the rest somewhere else if you truly do want help. This kind of thing can be offensive to others. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I appreciate your response. Thanks for the suggestion. 1. I've already seen that page and a number of other. 2. I have tried the options you suggest, as, obviously, given in the link. 3. About the only thing I got at one point was to get the server to spew out French, which is not what I want. Xorg did not respond at all to anything I could throw at it. 4. As to the attitude; I don't have one. And if anyone gets offended, I could care less as that would only be in their own narrow minds. Did you see the wink? ;-) ... I love to kid around and of course I like to provoke a little. It's all in good fun. But then one must understand the nature of fun or comedy - we do not only laugh because some idiot thinks it is funny that someone slips on a banana; true comedy stems from truth: we laugh because we have been exposed to something that is true or real and after we have laughed we think about why we laughed. Not too many comics or comedian understand that. And that is why there are so few that are really funny. :-D 5. If it's about the Quebecois, Boris Vian is the source author of that book from the 60's, I believe. 6. If it's about FreeBSD, I think it's the best OS around, but I am disappointed that fr_CA cannot be set up. I works magnificently on WimpyOS. I just responded to another suggestion with my explanation of what still does not work. Thanks, again. -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
PJ wrote: Frank Shute wrote: On Tue, Apr 28, 2009 at 06:42:52AM -0400, PJ wrote: I am rather surprised and disappointed that no one has any ideas about using and/or installing a French-Canadian keyboard on FreeBSD. That is a terrible bug in FreeBSD and a worse slur on the Québecois (or Quebeckers) or are we being neglected and still considered The White Niggers of America? ;-) Anyway, everything I have tried does not work on FreeBSD or on xorg. Cannot set it up or switch. Somebody, please help. Have you tried: Option XkbLayout ca(fr) in your keyboard/inputdevice section of xorg.conf? For the console you want to have a look at kbdmap(1) and the list of maps. Looks like you want: keymap=fr_CA.iso.acc in /etc/rc.conf Regards, I probably should have posted all the stuff I tried. My apologies. Yes, I had tried similar Options as described in a number of sites, including, I think FreeBSD and Xorg. Only the man pages showed different inputs. I don't know where you got the fr_CA.iso.acc; my installation showed the available keymaps as fr_CA.iso.acc.kbd kbdmap -s returns You are not on a virtual console - expect strange side effects lang_default = en dialect = fr_...ISO8859-1 lang_abk = fr Currently supported languages: da de el en es fr hy iw no pl pt ru sv uk = Interesting, eh? where does fr_CA fit in and how? For Xorg here is what I had found on http://markmail.org/messsage/yvq7qqnqhq33hqgf Option XkbModel pc104 Option XkbLayout us,ca Option XkbOptions grp:toggle That is what I had tried; it didn't work. I had tried keymap=fr_CA.iso.acc.kbd and that gave(gives) the correct keyboard on the console. Except, it spews out French error messages (tiresome=ennuiyant). The Option XkbLayout us,ca - I have no idea where it comes from and I sure would like to know what to enter for that to try it out. And where does the grp:toggle come from? I just went through the same routine and I can't find any combination that works with the information I have been able to gather. :-( As I continue to play with this, I think the guy who wrote the XkbOption us,ca erred if we think about this logically: the keyboards are not us or ca - there are none that I can find. They are en or fr (with suffixes for locales, like US or FR,CA, etc.) So, logically if the sytax were correct, it should be XkbOption fr,en right? fr for the installed kbd in rc.conf, en for the default? Well. That doesn't work either. Now, I'm changing the xorg.conf without rebooting. I close xorg and then startx again. right? Seems logical, as we're not changing the rc.conf. This is driving me nuts. :o -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: French-Canadian Keyboard keyboard switching
PJ wrote: Frank Shute wrote: On Tue, Apr 28, 2009 at 06:42:52AM -0400, PJ wrote: I am rather surprised and disappointed that no one has any ideas about using and/or installing a French-Canadian keyboard on FreeBSD. That is a terrible bug in FreeBSD and a worse slur on the Québecois (or Quebeckers) or are we being neglected and still considered The White Niggers of America? ;-) Anyway, everything I have tried does not work on FreeBSD or on xorg. Cannot set it up or switch. Somebody, please help. Have you tried: Option XkbLayout ca(fr) in your keyboard/inputdevice section of xorg.conf? For the console you want to have a look at kbdmap(1) and the list of maps. Looks like you want: keymap=fr_CA.iso.acc in /etc/rc.conf Regards, I probably should have posted all the stuff I tried. My apologies. Yes, I had tried similar Options as described in a number of sites, including, I think FreeBSD and Xorg. Only the man pages showed different inputs. I don't know where you got the fr_CA.iso.acc; my installation showed the available keymaps as fr_CA.iso.acc.kbd kbdmap -s returns You are not on a virtual console - expect strange side effects lang_default = en dialect = fr_...ISO8859-1 lang_abk = fr Currently supported languages: da de el en es fr hy iw no pl pt ru sv uk = Interesting, eh? where does fr_CA fit in and how? For Xorg here is what I had found on http://markmail.org/messsage/yvq7qqnqhq33hqgf Option XkbModel pc104 Option XkbLayout us,ca Option XkbOptions grp:toggle That is what I had tried; it didn't work. I had tried keymap=fr_CA.iso.acc.kbd and that gave(gives) the correct keyboard on the console. Except, it spews out French error messages (tiresome=ennuiyant). The Option XkbLayout us,ca - I have no idea where it comes from and I sure would like to know what to enter for that to try it out. And where does the grp:toggle come from? I just went through the same routine and I can't find any combination that works with the information I have been able to gather. :-( For what it's worth, I have been able to set up the French-Canadian keyboard in a hap-hazard way so, at least, is works partially. Option XkbModel pc104 Option XkbLayout us,ca Option XkbOptions grp:toggle Using the above xorg parameters, the keyboard limps. The French-CA is a bastardized mapping which work only if you use 2 keys for è ç à, etc - in XP these are one stroke keys, but Fbsd you have to hit the ] key before c to get ccedil; (ç) and the same for the others, except for é (eacute;) Oh, well, another day lost... but, I guess it's better to limp than not to walk at all. :-\ -- Hervé Kempf: Pour sauver la planète, sortez du capitalisme. - Phil Jourdan --- p...@ptahhotep.com http://www.ptahhotep.com http://www.chiccantine.com/andypantry.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org