From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.help Subject: Re: windowmanager binding for emacs? Date: Thu, 08 Sep 2016 12:59:02 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473347722 16819 195.159.176.226 (8 Sep 2016 15:15:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Sep 2016 15:15:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Help-Gnu-Emacs To: Bastian Beischer Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 08 17:15:15 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bi12c-0002Qv-OM for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Sep 2016 17:15:02 +0200 Original-Received: from localhost ([::1]:48559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bi12a-0003a5-Lp for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Sep 2016 11:15:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhx3M-0004rY-Mx for help-gnu-emacs@gnu.org; Thu, 08 Sep 2016 06:59:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhx3J-0000HL-Ih for help-gnu-emacs@gnu.org; Thu, 08 Sep 2016 06:59:32 -0400 Original-Received: from mx1.bahnhof.se ([213.80.101.11]:31359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhx3J-0000GM-CJ for help-gnu-emacs@gnu.org; Thu, 08 Sep 2016 06:59:29 -0400 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx1-reinject (Postfix) with ESMTP id 5F99340D70; Thu, 8 Sep 2016 12:59:26 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF3) Original-Received: from mf3.bahnhof.se ([127.0.0.1]) by localhost (mf3.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YyDcyVlq-XRK; Thu, 8 Sep 2016 12:59:18 +0200 (CEST) Original-Received: from mta.verona.se (h-235-62.a149.priv.bahnhof.se [85.24.235.62]) by mf3.bahnhof.se (Postfix) with ESMTP id 24F863E8D1E; Thu, 8 Sep 2016 12:59:17 +0200 (CEST) Original-Received: from localhost (unknown [127.0.0.1]) by mta.verona.se (Postfix) with ESMTP id C08534FA011; Thu, 8 Sep 2016 10:59:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at verona.se Original-Received: from mta.verona.se ([127.0.0.1]) by localhost (exodia.verona.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4SFgxF9KeGdS; Thu, 8 Sep 2016 12:59:02 +0200 (CEST) Original-Received: from exodia.verona.se (www.verona.se [192.168.200.15]) by mta.verona.se (Postfix) with ESMTP id 4D39B4FA010; Thu, 8 Sep 2016 12:59:02 +0200 (CEST) In-Reply-To: (Bastian Beischer's message of "Thu, 8 Sep 2016 10:43:32 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 213.80.101.11 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:111310 Archived-At: Bastian Beischer writes: > Hello Joakim, > > I think xbindkeys should do what you want. I've used it successfully for this purpose in the past. Thanks for the suggestion! I have something that works now. I wasnt quite able to use the left super + x, because gnome eats the binding I think. But right super worked: "emacsclient -c -n" m:0x40 + c:53 Mod4 + x > > Cheers > Bastian > > On Wed, Sep 7, 2016 at 10:12 AM, wrote: > > I would like to bind, for example, a window manager key such as super-x, > to start a little emacs frame where I can then issue emacs commands. > > I tried by creating a custom gnome binding for super-x, but I got > confused by the gnome gui, and at any rate I would like a method that > works the same across xfce, lxde and gnome, if possible. > > Surely somebody has already achieved this. Does anyone have any > pointers? > > The thing I want to achieve is having a local emacs on each client > machine I use that will perform commands locally. I want this feature > available on a wm global key so it will always work regardless of which > other terminal program I'm using at the moment, such as x2go etc. > > -- > Joakim Verona -- Joakim Verona