From owner-freebsd-questions@FreeBSD.ORG Mon Feb 27 00:51:02 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E39D16A420 for ; Mon, 27 Feb 2006 00:51:02 +0000 (GMT) (envelope-from awebster@connectalk.com) Received: from esafe.connectalk.com (esafe.connectalk.com [204.19.165.17]) by mx1.FreeBSD.org (Postfix) with SMTP id CA1C743D45 for ; Mon, 27 Feb 2006 00:51:01 +0000 (GMT) (envelope-from awebster@connectalk.com) Received: from connectalk.com ([10.125.204.14]) by eSafe SMTP Relay 1140618374; Sun Feb 26 19:51:06 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Sun, 26 Feb 2006 19:51:00 -0500 Message-ID: <9D61D69E3C1F7F459C5513AD830EE2192BC311@mtlex01.connectalk.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: setting up french keyboard thread-index: AcY7FWVT7plddLPrRHykgc/ns2/kggAIEdqQ From: "Webster, Andrew" To: "Peter" , "freebsd-questions" X-ESAFE-STATUS: Mail clean X-ESAFE-DETAILS: Clean Cc: Subject: RE: setting up french keyboard X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 00:51:02 -0000 > -----Original Message----- > From: Peter [mailto:petermatulis@yahoo.ca] > Sent: Sunday, February 26, 2006 15:44 > To: Peter; Webster, Andrew; freebsd-questions > Subject: RE: setting up french keyboard >=20 >=20 > --- Peter wrote: >=20 > > > > --- "Webster, Andrew" wrote: > > >=20 > > > > --- "Webster, Andrew" wrote: > > > > >=20 > > > > > > Hi. Does anyone know how I can set up my 5.4 system to outpu= t > > > French > > > > > > characters? If so, how? > > > > > >=20 > > > > > > Try this when X is running: > > > setxkbmap -model pc104 -layout ca -variant basic > > > > Hey! This works in my X windows (=C3=A9, =C3=A8, =C3=A7, =C3=A0, =C3= =AA, =C3=AF) but my > > terminal > > emits beeps. Is this normal? Is the an easier way (X gadget) to tog= gle > > back or do I need to always use the setxkbmap command? Hmm, looks like you are outputting UTF-8 instead of ISO-8859-1, or at lea= st your mailer is doing that. UTF-8 is 16bit characters for the accented= characters. Which window manager are you using with X? KDE or Gnome? Both have keyb= oard manipulation tools as part of their packages. Personally I prefer the US International keyboard. This way the characte= rs stay where they belong, but ', ", ^, ~, and ` are dead keys, so if you= type ' followed by a you get =E1. =20 I don't know if there is a quick switch key combination as in windows, bu= t I'm sure there is something that can be setup. > > > > $ setxkbmap -model pc104 -layout ca -variant basic > > $ setxkbmap -model pc104 -layout us -variant basic >=20 > Hmmm. Looks like my perfectly good French accents in my compose window= do > not end up as such when I read them in my browser. When I reply (what = I'm > doing now) they come back to good characters. Is this normal? Anyways= , I > modified my xorg.conf keyboad section to try to toggle keyboard maps: >=20 > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > Option "XkbModel" "pc104" > Option "XkbLayout" "us,ca" > Option "XkbOptions" "grp:toggle" > EndSection >=20 > Surprisingly, by simply hitting the Right-Alt key I go from us to ca > although hitting the key again has no effect. Does anyone know how I c= an > toggle without having to issue commands all the time? >=20 >=20 >=20 >=20 >=20 >=20 > __________________________________________________________ > Find your next car at http://autos.yahoo.ca