From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xavier Maillard Subject: Re: Define Keyboard Shortcut for "Open in Emacs" Date: Sun, 05 Apr 2015 06:59:51 +0200 Message-ID: <864mov6ugo.fsf@kcals2.maillard.im> References: <877fttjf5y.fsf@yale.edu> <86a8yn7emf.fsf@kcals2.maillard.im> <87pp7jijt5.fsf@yale.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yecf7-0007cz-Ad for emacs-orgmode@gnu.org; Sun, 05 Apr 2015 00:59:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yecf4-0000Sv-3Y for emacs-orgmode@gnu.org; Sun, 05 Apr 2015 00:59:57 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:47085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yecf3-0000Sr-W7 for emacs-orgmode@gnu.org; Sun, 05 Apr 2015 00:59:54 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 8609C204DC for ; Sun, 5 Apr 2015 00:59:49 -0400 (EDT) In-reply-to: <87pp7jijt5.fsf@yale.edu> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Jorge A. Alfaro-Murillo" Cc: emacs-orgmode@gnu.org Hello Jorge, Jorge A. Alfaro-Murillo writes: > Xavier Maillard writes: > >> What is emacsclient.desktop exactly ? On my slackware, there is >> nothing named like this. > > Inside a desktop environment (e.g. GNOME, KDE, Xfce), xdg-open > passes the arguments to that desktop environment's file-opener > application (gvfs-open, kde-open, or exo-open, respectively). > When no desktop environment is detected (e.g. using Openbox), > xdg-open will use its own configuration files, emacsclient.desktop > is the call to the emacs server, if you do not use the server you > could use emacs.desktop instead. Thank you very much for these clarifications. Should I expect anything from xdg-* when not using a desktop environment at all ? (I am using something home-brewed where I could add support for something like this but that's not for now). Also, can you share an emacsclient.desktop file ? Regards -- Xavier.