From owner-freebsd-questions@FreeBSD.ORG Mon Jul 19 19:24:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 527AC1065673 for ; Mon, 19 Jul 2010 19:24:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 11AC18FC1E for ; Mon, 19 Jul 2010 19:24:28 +0000 (UTC) Received: from r55.edvax.de (port-92-195-139-120.dynamic.qsc.de [92.195.139.120]) by mx02.qsc.de (Postfix) with ESMTP id 8329D1E6A5; Mon, 19 Jul 2010 21:24:26 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o6JJOQpw001526; Mon, 19 Jul 2010 21:24:26 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 19 Jul 2010 21:24:26 +0200 From: Polytropon To: "Leonardo M. =?UTF-8?Q?Ram=C3=A9?=" Message-Id: <20100719212426.ad859703.freebsd@edvax.de> In-Reply-To: <20100719080900.GA2842@current.Sisis.de> References: <20100718193637.a861d7dc.freebsd@edvax.de> <594855.43631.qm@web113510.mail.gq1.yahoo.com> <20100719080900.GA2842@current.Sisis.de> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Spanish keyboard in X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2010 19:24:29 -0000 On Mon, 19 Jul 2010 10:09:00 +0200, Matthias Apitz wrote: > El día Sunday, July 18, 2010 a las 11:32:05AM -0700, Leonardo M. Ramé escribió: > > > Yes,I have modified xorg.conf the same way as you mentioned. > > > > Anyway, now the problem is solved by adding "setxkbmap es &" to my .xsession > > > > Thanks. > > > > Leonardo M. Ramé > > http://leonardorame.blogspot.com > > A bit related to the question: If you need Spanish Tilde chars but you > have only an English or German keyboard (like I have), you can make use > of the so called WindowsKey in X11 and define the keys like shown below. Just for completeness, there is another option I'd like to add: You define a key to be the "multi key", usually labelled "Compose", at least on the Sun keyboard I use; in ~/.xmodmaprc: add mod4 = Multi_key keycode 117 = Multi_key Then you can compose any characters you need that aren't even part of your localized keymap, e. g. "Compose char1 char2" (as a sequence, not a combination) will give you the combination of both characters, at least if there's a symbol matching in the character table. Examples: Compose a a -> å (svedish a-circle) Compose s s -> ß (Eszett) Compose o / -> ø (danish o-stroke) Compose U " -> Ü (german U Umlaut, capital) Compose L / -> Ł (polish L-stroke, capital) Compose k k -> ĸ (greek kappa, not sure if it really is) Compose n ' -> ń (n with accent grave) This can also be used to generate tilde characters, as well as the weirdest use of accents. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...