From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Shahab Shahsavari Alavidjeh Newsgroups: gmane.emacs.help Subject: Re: Using AltGr as standard modifier key in emacs Date: Tue, 13 Oct 2015 23:12:57 +0330 Message-ID: <87lhb6r1vi.fsf@fedora22.zzgraph> References: <902f4b3f-2c82-4d07-b940-67278871bde3@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1444765540 11540 80.91.229.3 (13 Oct 2015 19:45:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Oct 2015 19:45:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 13 21:45:31 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zm5Vm-0006ae-H7 for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Oct 2015 21:45:26 +0200 Original-Received: from localhost ([::1]:39056 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm5Vg-0006xW-Pl for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Oct 2015 15:45:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm5TV-0004XL-SA for help-gnu-emacs@gnu.org; Tue, 13 Oct 2015 15:43:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zm5TS-0004Qg-E2 for help-gnu-emacs@gnu.org; Tue, 13 Oct 2015 15:43:05 -0400 Original-Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:35067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm5TS-0004Q9-7S for help-gnu-emacs@gnu.org; Tue, 13 Oct 2015 15:43:02 -0400 Original-Received: by wicge5 with SMTP id ge5so207683088wic.0 for ; Tue, 13 Oct 2015 12:43:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=P105hpNpZVEsOZytmTN8dl8aXCyuKsLFNG79p3+WSEw=; b=hhhosbx7TZrv6XJtHkUOXROXPzXXXqRRDlzVVt8F6coyMR84517fxxzL6jXcGJfKbn Emsqw/Xq2tDw6OzFDh1eAq0u5bppyyxY3T2KjtZh3Qmxub8itZN++nhK4ftLvxu3Az0J tHDZEVqbKYG4DordlbphuOmVofYOOOmbGodqE6nA5H+qrIX8GawhhPdNcMcW7ttu+elH LggQpSYMt3Ag3dwDBU/w8XKGbfJ7w9AeBLsKkC6dm/G83uZudkOwBoCK0CzwNnk4W/H/ R+6fzGxfeqZGwGT1TKJHUTGa9llMwIDOi0EmzJKfG28g/DFsGrJlkMKxi+htuXBOYSoI 8VnQ== X-Received: by 10.180.88.164 with SMTP id bh4mr21971278wib.18.1444765381654; Tue, 13 Oct 2015 12:43:01 -0700 (PDT) Original-Received: from localhost ([188.245.89.233]) by smtp.gmail.com with ESMTPSA id gl4sm5485989wjd.49.2015.10.13.12.43.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Oct 2015 12:43:01 -0700 (PDT) In-Reply-To: (Javier's message of "Tue, 13 Oct 2015 18:43:39 +0000 (UTC)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22a X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107619 Archived-At: Javier writes: > > Oops, it turns out to remap rightAlt the sequence is > > xmodmap -e "clear mod1" ; xmodmap -e "add mod1 = Alt_L Meta_L" ; xmodmap -e "keycode 108 = Hyper_R" ; xmodmap -e "add mod3 = Hyper_R" > > http://stackoverflow.com/questions/28527938/xkb-configuration-for-emacs > > I assumed keycode 108 is the keycode for right alt, which should > be ok for a modern pc-keyboard. You can check the keycode number with xev. xev reports it key 108, thanks for suggestion, but would you please instruct me about setting a separate X server for Emacs, or at least tell me where can I find information.