From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rasmus Newsgroups: gmane.emacs.help Subject: Re: emacsclient not integrated into modern window systems Date: Sat, 11 Jul 2015 12:54:31 +0200 Message-ID: <87twtbx8uw.fsf@gmx.us> References: <61e558ef-6edb-4fd5-af12-7fa0d470c9c4@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1436612112 3322 80.91.229.3 (11 Jul 2015 10:55:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Jul 2015 10:55:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 11 12:54:58 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 1ZDsQs-0001xZ-Ka for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Jul 2015 12:54:58 +0200 Original-Received: from localhost ([::1]:47511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDsQr-0002s1-OZ for geh-help-gnu-emacs@m.gmane.org; Sat, 11 Jul 2015 06:54:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDsQi-0002rw-1l for help-gnu-emacs@gnu.org; Sat, 11 Jul 2015 06:54:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZDsQe-0006y8-R5 for help-gnu-emacs@gnu.org; Sat, 11 Jul 2015 06:54:47 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:49496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZDsQe-0006y0-KN for help-gnu-emacs@gnu.org; Sat, 11 Jul 2015 06:54:44 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZDsQY-0001mK-3a for help-gnu-emacs@gnu.org; Sat, 11 Jul 2015 12:54:38 +0200 Original-Received: from tsn109-201-154-148.dyn.nltelcom.net ([109.201.154.148]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Jul 2015 12:54:38 +0200 Original-Received: from rasmus by tsn109-201-154-148.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Jul 2015 12:54:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: tsn109-201-154-148.dyn.nltelcom.net User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:jVz5hnOoE0qXHQZl0Uy36l3vOeM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:105595 Archived-At: Rusi writes: > Student of mine asked me if its possible to have emacs open from the > file browser. [By default it opens with gedit] > For 1/2 hour we tried to find properties/open-with etc to make it emacsclient > but to no avail > > After a lot of struggle the best I came up with was the below steps. > So... If installing emacs (using say apt) makes emacs an established app to open > (some) mimetypes, why is emacsclient not setup similarly? You can basically replace call to Emacs with emacsclient -ca ''. I also use various .desktop files for starting Emacs, Gnus, EMMS etc in Gnome-3. Rasmus -- Don't panic!!!