From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 08:36:35 2003 Return-Path: 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 6F61016A4B3 for ; Wed, 24 Sep 2003 08:36:35 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B5D744008 for ; Wed, 24 Sep 2003 08:36:18 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h8OFZMJK054838 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Sep 2003 16:36:11 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h8OFZMt2054837; Wed, 24 Sep 2003 16:35:22 +0100 (BST) (envelope-from matthew) Date: Wed, 24 Sep 2003 16:35:22 +0100 From: Matthew Seaman To: Fredrik =?iso-8859-1?Q?Carl=E9n?= Message-ID: <20030924153522.GC54005@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Fredrik =?iso-8859-1?Q?Carl=E9n?= , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PuGuTyElPB9bOcsM" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-11.3 required=5.0 tests=AWL,BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-questions@freebsd.org Subject: Re: *Easy* keymap question...hopefully X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 15:36:35 -0000 --PuGuTyElPB9bOcsM Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 24, 2003 at 05:13:07PM +0200, Fredrik Carl=E9n wrote: > Hi! Just installed FreeBSD 5.1-RELEASE, and, since I'm used to the Swedis= h keymap, I chose 'Swedish ISO' keymap and ISO_8859-1 accordingly in sysins= tall. When in pure terminal mode, everything's fine, but when running X, I = get the default US keymap (or at least it seems to be just that). Now, isn'= t that just a wee bit weird? >=20 > What's the issue here? I remember choosing something like a special ISO-c= apable tty or something at the end of sysinstall...is that it? X uses it's own, completely independent setup for keymaps and the like, which is entirely different to the way the console is set up. You can choose an appropriate keymap and keyboard layout from the ones available under /usr/X11R6/lib/X11/xkb -- see the README files in that directory for lots of useful information, which boils down to: Use setxkbmap(1) to change the settings at runtime. Add appropriate commands to your /etc/X11/XF86Config file to set the defaults -- that will probably be something like this: Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "XkbModel" "pc105" Option "XkbLayout" "se" EndSection Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --PuGuTyElPB9bOcsM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/cbm6dtESqEQa7a0RAtw9AJ9cAVVofo+Sb/Vr9BqRLbxUAopvmgCgh/Le 4JTshtDByEKU0PhoppepoxQ= =SBur -----END PGP SIGNATURE----- --PuGuTyElPB9bOcsM--