Received: from smtp26.services.sfr.fr (unknown [93.17.128.1]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 595F3782BA8 for <~alpine/users@lists.alpinelinux.org>; Sat, 7 Nov 2020 19:00:42 +0000 (UTC) Received: from cauchy.polynum.local (89.121.198.77.rev.sfr.net [77.198.121.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by msfrf2608.sfr.fr (SMTP Server) with ESMTPS id C75F01C000432 for <~alpine/users@lists.alpinelinux.org>; Sat, 7 Nov 2020 20:00:41 +0100 (CET) X-mail-filterd: 1.0.0 X-sfr-mailing: LEGIT X-sfr-spamrating: 40 X-sfr-spam: not-spam DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=polynum.com; s=202006; t=1604775641; h=Date:From:To:Subject:References:In-Reply-To; bh=b8lJoP2+jH0W ocUxfdneK+D1aj4UuI3KsK2Cv5vSi3A=; b=Msx4KM9X0+0UKJPzkurwgvsP9uvs6CUSCXj/7ZE4 oAeNa599CPyokSH0OMXeZa0Atna590cv7qWECu6y4j4VDzwDfySGwsQMy2jqyGg/trDSHk+TYkdy eCrPyi/X/s1VhluQ8KLPcMvEyQzpYhyo4E6/VI9iumL/G+Hp7rGgC2o/6WzpM2zL4TkNuw5I2Kb9 21obp09UnoOJ7b6Z0DJNeeSQ5bflkOHNRe592svP9XsK95BZzKk5mgw4Bw7TC2pnqDHdxYYvmlE9 Z5vwj+TI3lET+S2v/TynMV9JCLw45y9yRsVNFr3a2Tc515APRErgC47KGXTyFgTwMBhR11Ddvw== ; Received: from cauchy.polynum.local (89.121.198.77.rev.sfr.net [77.198.121.89]) by msfrf2608.sfr.fr (SMTP Server) with ESMTP id ADC711C000419 for <~alpine/users@lists.alpinelinux.org>; Sat, 7 Nov 2020 20:00:41 +0100 (CET) Received: from cauchy.polynum.local (89.121.198.77.rev.sfr.net [77.198.121.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by msfrf2608.sfr.fr (SMTP Server) with ESMTPS for <~alpine/users@lists.alpinelinux.org>; Sat, 7 Nov 2020 20:00:41 +0100 (CET) Received: from cauchy.polynum.local (localhost [127.0.0.1]) by cauchy.polynum.local (8.15.2/8.15.2) with ESMTPS id 0A7J0d7d002883 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <~alpine/users@lists.alpinelinux.org>; Sat, 7 Nov 2020 20:00:40 +0100 (CET) Received: (from tlaronde@localhost) by cauchy.polynum.local (8.15.2/8.14.9/Submit) id 0A7J0dBL002749 for ~alpine/users@lists.alpinelinux.org; Sat, 7 Nov 2020 20:00:39 +0100 (CET) X-Authentication-Warning: cauchy.polynum.local: tlaronde set sender to thierry.laronde@sfr.fr using -f Date: Sat, 7 Nov 2020 20:00:39 +0100 From: tlaronde@polynum.com To: ~alpine/users@lists.alpinelinux.org Subject: Re: [SCRIPT CORRECTED] Fluxbox: AltGr not working (azerty keyboard) Message-ID: <20201107190039.GA2780@polynum.com> References: <20201105155225.GA7882@polynum.com> <58fcdb80-0873-d1aa-bd26-d901eeb31cb9@h6g.de> <20201105182032.GA2504@polynum.com> <20201105190725.GA73@polynum.com> <20201106061910.GA687@polynum.com> <20201106174402.GB1487@polynum.com> <20201107174115.GA2192@polynum.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201107174115.GA2192@polynum.com> User-Agent: Mutt/1.5.24 (2015-08-30) There was a typo (redirection in the wrong place), please find the corrected version here: -----8<----- #!/bin/sh # C) 2020 Thierry Laronde # Public Domain. # No warranty! Use at your own risk! : ${TMPDIR:=/tmp} cat <&2 When the window will appear, click first in the xterm and then in the window (the square in the blank window). You can then start to press Meta keys: "Windows", Alt, AltGr, arrows, home, end, page up, page down... so that we can generate the xmodmap rules. Press any key to start. Kill the xev window when done. EOT read ans # Get keycode keysym name from xev. # xev -event keyboard 2>&1\ | sed -n -e 's/^Outer window is \(0x[^,]*\).*$/\1/p' \ -e 's/^.*keycode \([0-9][0-9]*\) (keysym 0x\([a-f0-9][a-f0-9]*\), \([^)][^)]*\)).*$/\1 \2 \3/p'\ | sort | uniq\ | while read keycode keysym name; do test "$keysym" || { wid=$keycode; continue; } # unused echo "keycode $keycode = $name" case $name in Shift_[LR]) echo "add shift = $name";; Control_[LR]) echo "add control = $name";; Alt_L|Meta_L) echo "add mod1 = $name";; Super_[LR]|Hyper_L) echo "add mod4 = $name";; ISO_Level3_Shift|Mode_switch) echo "add mod5 = $name";; esac done >$TMPDIR/xmodmap xmodmap $TMPDIR/xmodmap ----->8----- -- Thierry Laronde http://www.kergis.com/ http://kertex.kergis.com/ http://www.sbfa.fr/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C