From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: Re: How bind "Super" key *all by itself* to a function? Date: Sun, 18 Jan 2015 23:35:39 -0800 (PST) Message-ID: <50ee152f-7dd7-4325-8b38-728e3e971338@googlegroups.com> References: <43af9344-5981-4250-a825-47e119c1633e@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1421653219 18428 80.91.229.3 (19 Jan 2015 07:40:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2015 07:40:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 19 08:40:19 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 1YD6wd-0005DC-3D for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Jan 2015 08:40:19 +0100 Original-Received: from localhost ([::1]:36000 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YD6wc-00072p-94 for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Jan 2015 02:40:18 -0500 X-Received: by 10.66.119.132 with SMTP id ku4mr22050678pab.7.1421652940657; Sun, 18 Jan 2015 23:35:40 -0800 (PST) X-Received: by 10.50.66.227 with SMTP id i3mr140270igt.14.1421652940555; Sun, 18 Jan 2015 23:35:40 -0800 (PST) Original-Path: usenet.stanford.edu!r10no642405igi.0!news-out.google.com!qk8ni9169igc.0!nntp.google.com!r10no1178020igi.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=59.95.21.99; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 59.95.21.99 User-Agent: G2/1.0 Injection-Date: Mon, 19 Jan 2015 07:35:40 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:209873 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:102152 Archived-At: 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 ~