From owner-freebsd-questions@freebsd.org Sat Sep 15 18:46:55 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0BB810818F8 for ; Sat, 15 Sep 2018 18:46:55 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from smh-06.1blu.de (smh-06.1blu.de [178.254.0.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8040A94822 for ; Sat, 15 Sep 2018 18:46:55 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [172.16.29.5] (helo=sh4-5.1blu.de) by smh-06.1blu.de with esmtp (Exim 4.86_2) (envelope-from ) id 1g1Faf-0002qh-Al for freebsd-questions@freebsd.org; Sat, 15 Sep 2018 20:46:45 +0200 Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.86_2) (envelope-from ) id 1g1Faf-0003OJ-8I for freebsd-questions@freebsd.org; Sat, 15 Sep 2018 20:46:45 +0200 Date: Sat, 15 Sep 2018 20:46:45 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: keysym list for French chars Message-ID: <20180915184645.GA8305@sh4-5.1blu.de> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-questions@freebsd.org References: <4801daa5-ecbe-42f5-8095-f8d5628131a9@unixarea.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Sep 2018 18:46:56 -0000 El día Saturday, September 15, 2018 a las 03:10:21PM -0000, Christian Weisgerber escribió: > These are easy to find in /usr/local/include/X11/keysymdef.h. > > À à Agrave agrave > ... Thanks, Naddy. Based on this I hacked together the mappings below. Compared with Spanish, the French is a bit more complex, because for example you have to make of one physical key 'e' four different shapes è é ê ë: > É é Egrave egrave > È è Eacute eacute > Ê ê Ecircumflex ecircumflex > Ë ë Ediaeresis ediaeresis Anyway, here is what I do (and comments ar welcome): # Frensh tilded chars (use Mode_switch + char) # xmodmap -e "keycode 0x40 = Mode_switch" # # key: a -> a A à À xmodmap -e "keycode 38 = a A agrave Agrave" # key: s -> s S â  xmodmap -e "keycode 39 = s S acircumflex Acircumflex" # key: d -> d D æ Æ xmodmap -e "keycode 40 = d D ae AE" # key: c -> c C ç Ç xmodmap -e "keycode 54 = c C ccedilla Ccedilla" # key: e -> e E è È xmodmap -e "keycode 26 = e E egrave Egrave" # key: r -> r R é É xmodmap -e "keycode 27 = r R eacute Eacute" # key: t -> t T ê Ê xmodmap -e "keycode 28 = t T ecircumflex Ecircumflex" # key: z -> z Z ë Ë xmodmap -e "keycode 29 = z Z ediaeresis Ediaeresis" # key: i -> i I î Î xmodmap -e "keycode 31 = i I icircumflex Icircumflex" # key: k -> k K ï Ï xmodmap -e "keycode 45 = k K idiaeresis Idiaeresis" # key: o -> o O ô Ô xmodmap -e "keycode 32 = o O ocircumflex Ocircumflex" # key: l -> l L œ Œ xmodmap -e "keycode 46 = l L oe OE" # key: u -> u U ù Ù xmodmap -e "keycode 30 = u U ugrave Ugrave" # key: v -> v V û Û xmodmap -e "keycode 55 = v V ucircumflex Ucircumflex" # key: y -> y Y ÿ Ÿ xmodmap -e "keycode 52 = y Y ydiaeresis Ydiaeresis" -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ 📱 +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub 13. August 2018: Manchmal möchte ich nun einen AUSREISEANTRAG stellen. August 13, 2018: Sometimes I'd like to ask for an exit permission now.