From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Alt vs Meta - Sun keyboard, redhat linux Date: Sat, 1 Jan 2011 20:35:53 +0100 Message-ID: <248B942F-B0DD-4F9A-8434-2DE20FB54A19@Web.DE> References: <6c4514cc-28cf-4a1d-8afe-6dcec2325b05@z9g2000yqz.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1293910585 13894 80.91.229.12 (1 Jan 2011 19:36:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 1 Jan 2011 19:36:25 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: chengiz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 01 20:36:20 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PZ7FU-0003V8-Eg for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Jan 2011 20:36:20 +0100 Original-Received: from localhost ([127.0.0.1]:53593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZ7FU-00018L-04 for geh-help-gnu-emacs@m.gmane.org; Sat, 01 Jan 2011 14:36:20 -0500 Original-Received: from [140.186.70.92] (port=46599 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZ7F8-00016b-J1 for help-gnu-emacs@gnu.org; Sat, 01 Jan 2011 14:35:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZ7F7-0000m1-FK for help-gnu-emacs@gnu.org; Sat, 01 Jan 2011 14:35:58 -0500 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:33658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZ7F7-0000lj-9A for help-gnu-emacs@gnu.org; Sat, 01 Jan 2011 14:35:57 -0500 Original-Received: from smtp02.web.de ( [172.20.0.184]) by fmmailgate03.web.de (Postfix) with ESMTP id 0B86E18391227; Sat, 1 Jan 2011 20:35:55 +0100 (CET) Original-Received: from [91.35.214.74] (helo=[192.168.1.2]) by smtp02.web.de with asmtp (WEB.DE 4.110 #2) id 1PZ7F4-0000Zi-00; Sat, 01 Jan 2011 20:35:55 +0100 In-Reply-To: <6c4514cc-28cf-4a1d-8afe-6dcec2325b05@z9g2000yqz.googlegroups.com> X-Mailer: Apple Mail (2.936) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX19PrHhJQarDT2Dgv4bXGMRgmtH+06jyWxwRjIIE NQ2BWpGcDhzjsgfn12SA3oQmJSt0XW/tCmUMo0iPJMQFIpLsl2 io9KCZ/ohIAiaxOX5ZnA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78027 Archived-At: Am 01.01.2011 um 00:21 schrieb chengiz: > In gnome-keyboard-properties, under Layout Options -> Alt/Win key > behaviour, I set "Meta is mapped to the Win-keys". This resulted in > the Meta key being mapped to M- but the Alt key is still mapped to M-. > How do I map the Alt key to A-? I'm not using GNOME. I'd use xmodmap to change the modifier keys. And I'd use xev to determine the key code or symbol name of the keys to change. In ~/.xinitrc you then can have: xmodmap ${HOME}/.xmodmaprc and .xmodmaprc can have a little "programme" like this: clear Mod1 clear Mod2 add Mod1 = Alt_L Alt_R add Mod2 = Meta_L Meta_R -- Greetings Pete It isn't pollution that's harming the environment. It's the impurities in our air and water that are doing it.