From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: desktop files not working for recent ubuntu? Date: Mon, 30 May 2016 07:22:44 -0700 (PDT) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1464882897 7309 80.91.229.3 (2 Jun 2016 15:54:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2016 15:54:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 02 17:54:46 2016 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 1b8UxI-00048d-PJ for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 17:54:44 +0200 Original-Received: from localhost ([::1]:48163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8UxI-0007aN-3P for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 11:54:44 -0400 X-Received: by 10.129.102.87 with SMTP id a84mr17999225ywc.15.1464618165065; Mon, 30 May 2016 07:22:45 -0700 (PDT) X-Received: by 10.36.160.203 with SMTP id o194mr107283ite.5.1464618165018; Mon, 30 May 2016 07:22:45 -0700 (PDT) Original-Path: usenet.stanford.edu!p34no372897qgp.1!news-out.google.com!z5ni464qge.0!nntp.google.com!q32no1391465qgq.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=117.195.32.93; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 117.195.32.93 User-Agent: G2/1.0 Injection-Date: Mon, 30 May 2016 14:22:45 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:217915 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:110222 Archived-At: I have this emacs.desktop file put in ~/.local/share/applications --------------- [Desktop Entry] Name=EmacsClient GenericName=Text Editor Comment=Edit text MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; Exec=emacsclient -n -a emacs %F Icon=python Type=Application Terminal=false Categories=Development;TextEditor; StartupWMClass=Emacs --------------- Currently this laptop is on ubuntu 16.4 (xenial) -- vanilla unity desktop It used to work ok in earlier ubuntus Now on 16.4 it shows 2 emacs icons when editing a file via emacsclient Clicking the second icon shows no effect After about 10 seconds it disappears Dont know when it stopped working because frankly I am not much of a nautilus -> click -> emacsclient type of user Current generation -- my students -- however default to this kind of usage And so they default to one or both of - gedit by default - zillions of emacses open for each file they clicked