From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: How bind "Super" key *all by itself* to a function? Date: Mon, 19 Jan 2015 15:25:08 +0700 Message-ID: References: <43af9344-5981-4250-a825-47e119c1633e@googlegroups.com> <50ee152f-7dd7-4325-8b38-728e3e971338@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1421655929 27680 80.91.229.3 (19 Jan 2015 08:25:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2015 08:25:29 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Rusi Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 19 09:25:29 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 1YD7eK-00049T-Qz for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Jan 2015 09:25:28 +0100 Original-Received: from localhost ([::1]:36085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YD7eJ-0007Ni-PN for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Jan 2015 03:25:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YD7e7-0007Nd-4R for help-gnu-emacs@gnu.org; Mon, 19 Jan 2015 03:25:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YD7e1-0005to-G1 for help-gnu-emacs@gnu.org; Mon, 19 Jan 2015 03:25:15 -0500 Original-Received: from mail-qg0-x22a.google.com ([2607:f8b0:400d:c04::22a]:43344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YD7e1-0005ti-Bg for help-gnu-emacs@gnu.org; Mon, 19 Jan 2015 03:25:09 -0500 Original-Received: by mail-qg0-f42.google.com with SMTP id q107so10519144qgd.1 for ; Mon, 19 Jan 2015 00:25:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=7qK5MRa3ypJWJgqX72S00v39f0x1ul/ktnautzQnKaI=; b=a4keZ01jg9S7KUpCITyaM5iIBLgLw72TE+qD6t7AfpkxBKIAK/AVHAsJeLTa/b5hue WXCHWANE2P/8Gt5DshO/MrUlEfeKZuRY7q7BbpO4exNIWyFs9XaVll4Ug0t+B1bZi6Ud U6YxRsgHLI3+Zr9VLFynjvi59rK9qmr4Rivz52bur5q2T2luSsMb907HMXIyFBwMAUL0 Io5zZNzlZjFwxh1QvXuGS8NC1ZoM2xp3WubbJbxOyMa9bDD9W7q6OjD0WBq9LhcVDWJr I/e6UIfCt3QejxV/QK0kFHdimMqs4irfc+gsY10vSjoi1vqd5nu+Ru8A7Vidx8y1z624 3rug== X-Received: by 10.140.98.2 with SMTP id n2mr13184535qge.62.1421655909042; Mon, 19 Jan 2015 00:25:09 -0800 (PST) Original-Received: by 10.96.141.105 with HTTP; Mon, 19 Jan 2015 00:25:08 -0800 (PST) In-Reply-To: <50ee152f-7dd7-4325-8b38-728e3e971338@googlegroups.com> X-Google-Sender-Auth: MCgEUS_jn68kfOMwck-I9NAPiM4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c04::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:102153 Archived-At: On Mon, Jan 19, 2015 at 1:35 PM, Rusi wrote: > On Monday, January 19, 2015 at 12:46:21 PM UTC+5:30, Yuri Khan wrote: >> On Mon, Jan 19, 2015 at 12:57 PM, Chris Seberino wrote: >> >> > I'm on a Linux machine and would like to bind >> > the "Super" key all by itself to a function of my choosing. >> >> You are probably not going to achieve that while keeping it as the >> Super key or any modifier key for that matter. >> >> However, you can use XKB (in X) and/or loadkeys (in tty) to map the >> Windows key to produce a different keycode such as F13, and then bind >> that to any function you like. > > Do you have a simple howto on that? [XKB] > With xmodmap it was at least conceivable > Xkb is too much of a dragon > > eg Say I have a broken ~ key and I want to make F12 generate ~